Class 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 Detail

      • CREATOR

        public static final <any> CREATOR
    • Method Detail

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

        public boolean isLocationTrackingEnabled()
      • getTag

        public java.lang.String getTag()
      • getMetadata

        public JSONObject getMetadata()
      • getProcessingFragment

        public java.lang.Class<? extends BaseFaceLivenessProcessingFragment> getProcessingFragment()
      • describeContents

        public int describeContents()