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.
    • isRecordingProcess

      public boolean isRecordingProcess()
      Return flag to allow recording video of the liveness process
      Returns:
      Default: 'true'.
    • isLocationTrackingEnabled

      public boolean isLocationTrackingEnabled()
    • getSessionId

      public String getSessionId()
    • getSkipStep

      public LivenessSkipStep[] getSkipStep()
    • getProcessingFragment

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

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

      public int describeContents()