Package com.regula.facesdk.configuration
Class FaceCaptureConfiguration.Builder
java.lang.Object
com.regula.facesdk.configuration.FaceCaptureConfiguration.Builder
- Enclosing class:
FaceCaptureConfiguration
Build a new
FaceCaptureConfiguration
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
registerUiFragmentClass
(Class<? extends FaceUiFragment> uiFragment) self()
setCameraId
(int cameraId) setCameraSwitchEnabled
(boolean isEnabled) setCloseButtonEnabled
(boolean isEnabled) setCopyright
(boolean hasCopyright) setDetectOcclusion
(boolean detectOcclusion) setHoldStillDuration
(float seconds) setScreenOrientation
(ScreenOrientation... screenOrientation) setTimeout
(float seconds) setTorchButtonEnabled
(boolean isEnabled) setVibrateOnStep
(boolean vibrateOnSteps)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
setCameraId
-
setCameraSwitchEnabled
-
setTorchButtonEnabled
-
setCloseButtonEnabled
-
registerUiFragmentClass
public FaceCaptureConfiguration.Builder registerUiFragmentClass(Class<? extends FaceUiFragment> uiFragment) -
setTimeout
-
setHoldStillDuration
-
setCopyright
-
setScreenOrientation
public FaceCaptureConfiguration.Builder setScreenOrientation(ScreenOrientation... screenOrientation) -
setVibrateOnStep
-
setDetectOcclusion
-
self
-