Package com.banuba.sdk.internal.camera
Interface ICamera2
- All Known Implementing Classes:
Camera2
public interface ICamera2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyZoom
(float zoomFactor) void
openCameraAndStartPreview
(Facing facing, float zoomFactor, int screenOrientation, boolean requireMirroring, boolean enableFlash) void
release()
void
void
setFaceOrient
(int angle) void
setFlashEnabled
(boolean enable) void
setFpsMode
(CameraFpsMode mode) void
setPushOn
(boolean on) void
void
setRequireMirroring
(boolean requireMirroring) void
setScreenOrientation
(int screenOrientation) void
-
Method Details
-
requestHighResPhoto
void requestHighResPhoto() -
stopPreviewAndCloseCamera
void stopPreviewAndCloseCamera() -
openCameraAndStartPreview
void openCameraAndStartPreview(@NonNull Facing facing, float zoomFactor, int screenOrientation, boolean requireMirroring, boolean enableFlash) -
applyZoom
void applyZoom(float zoomFactor) -
setFaceOrient
void setFaceOrient(int angle) -
setPushOn
void setPushOn(boolean on) -
setFpsMode
-
setScreenOrientation
void setScreenOrientation(int screenOrientation) -
setRequireMirroring
void setRequireMirroring(boolean requireMirroring) -
setRecordDebugVideo
-
release
void release() -
setFlashEnabled
void setFlashEnabled(boolean enable)
-