Package com.banuba.sdk.internal.camera
Interface ICamera2
-
- All Known Implementing Classes:
Camera2
public interface ICamera2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
applyZoom(float zoomFactor)
void
openCameraAndStartPreview(Facing facing, float zoomFactor, int screenOrientation, boolean requireMirroring, boolean enableFlash)
void
release()
void
requestHighResPhoto()
void
setFaceOrient(int angle)
void
setFlashEnabled(boolean enable)
void
setFpsMode(CameraFpsMode mode)
void
setPushOn(boolean on)
void
setRecordDebugVideo(DebugVideoCallbackListener listener)
void
setRequireMirroring(boolean requireMirroring)
void
setScreenOrientation(int screenOrientation)
void
stopPreviewAndCloseCamera()
-
-
-
Method Detail
-
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
void setFpsMode(@NonNull CameraFpsMode mode)
-
setScreenOrientation
void setScreenOrientation(int screenOrientation)
-
setRequireMirroring
void setRequireMirroring(boolean requireMirroring)
-
setRecordDebugVideo
void setRecordDebugVideo(@Nullable DebugVideoCallbackListener listener)
-
release
void release()
-
setFlashEnabled
void setFlashEnabled(boolean enable)
-
-