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 attemptsJSONObject
Class<? extends BaseFaceLivenessProcessingFragment>
Return the flag fromRecordingProcess
enum to recording liveness processgetTag()
getType()
boolean
void
writeToParcel
(Parcel dest, int flags) Methods inherited from class com.regula.facesdk.configuration.CameraConfiguration
getCameraId, getRegisteredUiFragmentClass, getScreenOrientation, getScreenOrientationInt, hasCopyright, isCameraSwitchEnabled, isCloseButtonEnabled, isTorchButtonEnabled, isVibrateOnSteps
-
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.
-
getRecordingProcess
Return the flag fromRecordingProcess
enum to recording liveness process- Returns:
- Default:
RecordingProcess.ASYNCHRONOUS_UPLOAD
.
-
isLocationTrackingEnabled
public boolean isLocationTrackingEnabled() -
getTag
-
getSkipStep
-
getType
-
getMetadata
public JSONObject getMetadata() -
getProcessingFragment
-
writeToParcel
public void writeToParcel(Parcel dest, int flags) - Overrides:
writeToParcel
in classCameraConfiguration
-
describeContents
public int describeContents()
-