Package com.regula.facesdk.configuration
Class CameraConfiguration
java.lang.Object
com.regula.facesdk.configuration.CameraConfiguration
- Direct Known Subclasses:
BaseLivenessConfiguration,FaceCaptureConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classCameraConfiguration.Builder<C extends CameraConfiguration,B extends CameraConfiguration.Builder<C, B>> -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCameraConfiguration(CameraConfiguration.Builder<?, ?> builder) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanintReturn one of native camera idClass<? extends FaceUiFragment> protected int[]booleanReturn flag if the logo is visible on the bottom of UI screensbooleanReturn flag if the camera switch button is available on the FaceCapture UI.booleanReturn flag if the close button is available on the FaceCapture UI.booleanReturn flag if the Torch button is available on the FaceCapture UI.booleanvoidwriteToParcel(Parcel dest, int flags)
-
Field Details
-
CREATOR
public static final <any> CREATOR
-
-
Constructor Details
-
CameraConfiguration
-
-
Method Details
-
getCameraId
public int getCameraId()Return one of native camera id- Returns:
- Default value: -1.
-
isCameraSwitchEnabled
public boolean isCameraSwitchEnabled()Return flag if the camera switch button is available on the FaceCapture UI.- Returns:
- Default: 'false'.
-
isTorchButtonEnabled
public boolean isTorchButtonEnabled()Return flag if the Torch button is available on the FaceCapture UI.- Returns:
- Default: 'true'.
-
isCloseButtonEnabled
public boolean isCloseButtonEnabled()Return flag if the close button is available on the FaceCapture UI.- Returns:
- Default: 'true'.
-
getRegisteredUiFragmentClass
-
hasCopyright
public boolean hasCopyright()Return flag if the logo is visible on the bottom of UI screens- Returns:
- Default: 'true'
-
getScreenOrientation
-
isVibrateOnSteps
public boolean isVibrateOnSteps() -
getCameraRotationAngle
-
doPreventScreenRecording
public boolean doPreventScreenRecording() -
getScreenOrientationInt
protected int[] getScreenOrientationInt() -
writeToParcel
public void writeToParcel(Parcel dest, int flags) -
describeContents
public int describeContents()
-