Package com.banuba.sdk.internal.camera
Class CameraHandler
java.lang.Object
android.os.Handler
-
Nested Class Summary
Nested classes/interfaces inherited from class android.os.Handler
android.os.Handler.Callback
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleMessage
(android.os.Message msg) void
sendChangeZoom
(float zoomFactor) void
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
void
void
sendRequireMirroring
(boolean requireMirroring) void
sendScreenOrientation
(int screenOrientation) void
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 Details
-
CameraHandler
-
-
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
-
sendRequireMirroring
public void sendRequireMirroring(boolean requireMirroring) -
sendRecordDebugVideo
-
handleMessage
public void handleMessage(android.os.Message msg) - Overrides:
handleMessage
in classandroid.os.Handler
-