Package com.regula.facesdk.configuration
Class LivenessConfiguration
java.lang.Object
com.regula.facesdk.configuration.CameraConfiguration
com.regula.facesdk.configuration.LivenessConfiguration
The configuration provides convenient properties to change the behavior and the appearance of the Liveness UI module.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionint
int
Returns the number of attemptsClass<? extends BaseFaceLivenessProcessingFragment>
boolean
boolean
Return flag to allow recording video of the liveness processvoid
writeToParcel
(Parcel dest, int flags) Methods inherited from class com.regula.facesdk.configuration.CameraConfiguration
getCameraId, getRegisteredUiFragmentClass, hasCopyright, isCameraSwitchEnabled, isCloseButtonEnabled, isShowHelpTextAnimation, isTorchButtonEnabled
-
Field Details
-
CREATOR
public static final <any> CREATOR
-
-
Constructor Details
-
LivenessConfiguration
-
-
Method Details
-
getAttemptsCount
public int getAttemptsCount()Returns the number of attempts- Returns:
- When attemptsCount is `0` Liveness will always ask to retry on error. When attemptsCount is `1` or more Liveness will end with ProcessingAttemptsEnded error when the number of attemps exceeds.
-
isRecordingProcess
public boolean isRecordingProcess()Return flag to allow recording video of the liveness process- Returns:
- Default: 'true'.
-
isLocationTrackingEnabled
public boolean isLocationTrackingEnabled() -
getSessionId
-
getSkipStep
-
getProcessingFragment
-
writeToParcel
public void writeToParcel(Parcel dest, int flags) - Overrides:
writeToParcel
in classCameraConfiguration
-
describeContents
public int describeContents()
-