Class CameraHandler

    • Nested Class Summary

      • Nested classes/interfaces inherited from class android.os.Handler

        android.os.Handler.Callback
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleMessage​(android.os.Message msg)  
      void sendChangeZoom​(float zoomFactor)  
      void sendCloseCamera()  
      void sendFaceOrient​(int angle)  
      void sendFpsMode​(CameraFpsMode mode)  
      void sendInitCameraMatrix​(int w, int h)  
      void sendOpenCamera​(Facing facing, float zoomFactor, int screenOrientation, boolean requireMirroring, boolean enableFlashlight)  
      void sendRecordDebugVideo​(DebugVideoCallbackListener listener)  
      void sendRequestHighResPhoto()  
      void sendRequireMirroring​(boolean requireMirroring)  
      void sendScreenOrientation​(int screenOrientation)  
      void sendShutdown()  
      • Methods inherited from class android.os.Handler

        createAsync, createAsync, dispatchMessage, dump, getLooper, getMessageName, hasCallbacks, hasMessages, hasMessages, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, post, postAtFrontOfQueue, postAtTime, postAtTime, postDelayed, postDelayed, removeCallbacks, removeCallbacks, removeCallbacksAndMessages, removeMessages, removeMessages, sendEmptyMessage, sendEmptyMessageAtTime, sendEmptyMessageDelayed, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtTime, sendMessageDelayed, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CameraHandler

        public CameraHandler​(CameraThread cameraThread)
    • Method Detail

      • sendCloseCamera

        public void sendCloseCamera()
      • sendInitCameraMatrix

        public void sendInitCameraMatrix​(int w,
                                         int h)
      • sendShutdown

        public void sendShutdown()
      • sendChangeZoom

        public void sendChangeZoom​(float zoomFactor)
      • sendOpenCamera

        public void sendOpenCamera​(@NonNull
                                   Facing facing,
                                   float zoomFactor,
                                   int screenOrientation,
                                   boolean requireMirroring,
                                   boolean enableFlashlight)
      • sendRequestHighResPhoto

        public void sendRequestHighResPhoto()
      • sendFaceOrient

        public void sendFaceOrient​(int angle)
      • sendScreenOrientation

        public void sendScreenOrientation​(int screenOrientation)
      • sendFpsMode

        public void sendFpsMode​(@NonNull
                                CameraFpsMode mode)
      • sendRequireMirroring

        public void sendRequireMirroring​(boolean requireMirroring)
      • handleMessage

        public void handleMessage​(android.os.Message msg)
        Overrides:
        handleMessage in class android.os.Handler