Enum Class LivenessErrorCode

java.lang.Object
java.lang.Enum<LivenessErrorCode>
com.regula.facesdk.enums.LivenessErrorCode
All Implemented Interfaces:
Serializable, Comparable<LivenessErrorCode>, Constable

public enum LivenessErrorCode extends Enum<LivenessErrorCode>
Error codes for the LivenessResponse errors.
  • Enum Constant Details

    • NOT_INITIALIZED

      public static final LivenessErrorCode NOT_INITIALIZED
      FaceSDK Core is not initialized
    • NO_LICENSE

      public static final LivenessErrorCode NO_LICENSE
      There is no valid license on the service.
    • API_CALL_FAILED

      public static final LivenessErrorCode API_CALL_FAILED
      Liveness API call failed due to networking error or backend internal error.
    • SESSION_START_FAILED

      public static final LivenessErrorCode SESSION_START_FAILED
      Failed when Core could not start new session
    • CANCELLED

      public static final LivenessErrorCode CANCELLED
      User cancelled liveness processing.
    • PROCESSING_TIMEOUT

      public static final LivenessErrorCode PROCESSING_TIMEOUT
      Processing finished by timeout.
    • PROCESSING_FAILED

      public static final LivenessErrorCode PROCESSING_FAILED
      Processing failed.
    • PROCESSING_FRAME_FAILED

      public static final LivenessErrorCode PROCESSING_FRAME_FAILED
      Failed when Core cannot recognize frame
    • APPLICATION_INACTIVE

      public static final LivenessErrorCode APPLICATION_INACTIVE
      Client application did enter the background, liveness process interrupted.
    • CONTEXT_IS_NULL

      public static final LivenessErrorCode CONTEXT_IS_NULL
      Application context is null
    • IN_PROGRESS_ALREADY

      public static final LivenessErrorCode IN_PROGRESS_ALREADY
      Liveness process already in progress
    • ZOOM_NOT_SUPPORTED

      public static final LivenessErrorCode ZOOM_NOT_SUPPORTED
      The camera on the current device doesn't support zoom change
    • CAMERA_NO_PERMISSION

      public static final LivenessErrorCode CAMERA_NO_PERMISSION
      Application does not have camera permission.
    • CAMERA_NOT_AVAILABLE

      public static final LivenessErrorCode CAMERA_NOT_AVAILABLE
      Device has no available camera.
  • Method Details

    • values

      public static LivenessErrorCode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LivenessErrorCode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null