Package com.banuba.sdk.internal.camera
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 Summary
Constructors Constructor Description CameraHandler(CameraThread cameraThread)
-
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 com.banuba.sdk.internal.WeakHandler
getThread
-
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
-
-
-
-
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)
-
sendRecordDebugVideo
public void sendRecordDebugVideo(@Nullable DebugVideoCallbackListener listener)
-
handleMessage
public void handleMessage(android.os.Message msg)
- Overrides:
handleMessage
in classandroid.os.Handler
-
-