Class LivenessConfiguration

java.lang.Object
com.regula.facesdk.configuration.CameraConfiguration
com.regula.facesdk.configuration.LivenessConfiguration

public final class LivenessConfiguration extends CameraConfiguration
The configuration provides convenient properties to change the behavior and the appearance of the Liveness UI module.
  • Field Details

    • CREATOR

      public static final <any> CREATOR
  • Constructor Details

  • 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

      public RecordingProcess getRecordingProcess()
      Return the flag from RecordingProcess enum to recording liveness process
      Returns:
      Default: RecordingProcess.ASYNCHRONOUS_UPLOAD.
    • isLocationTrackingEnabled

      public boolean isLocationTrackingEnabled()
    • getTag

      public String getTag()
    • getSkipStep

      public LivenessSkipStep[] getSkipStep()
    • getType

      public LivenessType getType()
    • getMetadata

      public JSONObject getMetadata()
    • getProcessingFragment

      public Class<? extends BaseFaceLivenessProcessingFragment> getProcessingFragment()
    • writeToParcel

      public void writeToParcel(Parcel dest, int flags)
      Overrides:
      writeToParcel in class CameraConfiguration
    • describeContents

      public int describeContents()