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