Class CameraHandler

java.lang.Object
android.os.Handler
com.banuba.sdk.internal.WeakHandler<CameraThread>
com.banuba.sdk.internal.camera.CameraHandler

public class CameraHandler extends WeakHandler<CameraThread>
  • Constructor Details

    • CameraHandler

      public CameraHandler(CameraThread cameraThread)
  • Method Details

    • 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)
    • sendRecordDebugVideo

      public void sendRecordDebugVideo(@Nullable DebugVideoCallbackListener listener)
    • handleMessage

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