Package com.regula.facesdk.configuration
Class CameraConfiguration.Builder<C extends CameraConfiguration,B extends CameraConfiguration.Builder<C,B>>
java.lang.Object
com.regula.facesdk.configuration.CameraConfiguration.Builder<C,B>
- Direct Known Subclasses:
BaseLivenessConfiguration.Builder,FaceCaptureConfiguration.Builder
- Enclosing class:
CameraConfiguration
protected abstract static class CameraConfiguration.Builder<C extends CameraConfiguration,B extends CameraConfiguration.Builder<C,B>>
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected ScreenOrientation[]protected Class<? extends FaceUiFragment> protected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Cbuild()protected abstract Cprotected voidpreBuild()registerUiFragmentClass(Class<? extends FaceUiFragment> uiFragment) protected abstract Bself()setCameraId(int cameraId) setCameraRotationAngle(int angle) setCameraSwitchEnabled(boolean isEnabled) setCloseButtonEnabled(boolean isEnabled) setCopyright(boolean hasCopyright) protected BsetOverrideCameraRotationAngle(boolean override) setPreventScreenRecording(boolean preventScreenRecording) setRecordingProcess(boolean ignoredIsRecordingProcess) Deprecated.setScreenOrientation(ScreenOrientation... screenOrientation) protected BsetScreenOrientationInt(int size, Parcel source) setTorchButtonEnabled(boolean isEnabled) setVibrateOnStep(boolean vibrateOnSteps)
-
Field Details
-
cameraId
protected int cameraId -
isCameraSwitchEnabled
protected boolean isCameraSwitchEnabled -
isTorchButtonEnabled
protected boolean isTorchButtonEnabled -
isCloseButtonEnabled
protected boolean isCloseButtonEnabled -
uiFragment
-
hasCopyright
protected boolean hasCopyright -
screenOrientation
-
vibrateOnSteps
protected boolean vibrateOnSteps -
cameraRotationAngle
protected int cameraRotationAngle -
overrideCameraRotationAngle
protected boolean overrideCameraRotationAngle -
preventScreenRecording
protected boolean preventScreenRecording
-
-
Constructor Details
-
Builder
protected Builder() -
Builder
protected Builder(Parcel source)
-
-
Method Details
-
setCloseButtonEnabled
-
setCameraSwitchEnabled
-
setTorchButtonEnabled
-
setCameraId
-
registerUiFragmentClass
-
setRecordingProcess
Deprecated.Set the flag to false to disable recording liveness process- Parameters:
ignoredIsRecordingProcess- the flag allows recording process video.- Returns:
- the Builder
- Since:
- 6.1
-
setVibrateOnStep
-
setOverrideCameraRotationAngle
-
setCameraRotationAngle
-
setScreenOrientationInt
-
setCopyright
-
setScreenOrientation
-
setPreventScreenRecording
-
self
-
preBuild
protected void preBuild() -
createInstance
-
build
-