Enum Class FaceCaptureErrorCode

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

public enum FaceCaptureErrorCode extends Enum<FaceCaptureErrorCode>
Error codes for the FaceCaptureResponse errors.
  • Enum Constant Details

    • CANCEL

      public static final FaceCaptureErrorCode CANCEL
      User cancelled capture face processing.
    • TIMEOUT

      public static final FaceCaptureErrorCode TIMEOUT
      Processing finished by timeout.
    • NOT_INITIALIZED

      public static final FaceCaptureErrorCode NOT_INITIALIZED
      FaceSDK Core is not initialized
    • SESSION_START_FAILED

      public static final FaceCaptureErrorCode SESSION_START_FAILED
      Failed when Core could not start new session
    • CAMERA_NOT_AVAILABLE

      public static final FaceCaptureErrorCode CAMERA_NOT_AVAILABLE
      Device has no available camera.
    • CAMERA_NO_PERMISSION

      public static final FaceCaptureErrorCode CAMERA_NO_PERMISSION
      Application does not have camera permission.
    • IN_PROGRESS_ALREADY

      public static final FaceCaptureErrorCode IN_PROGRESS_ALREADY
      Capture process already in progress
    • CONTEXT_IS_NULL

      public static final FaceCaptureErrorCode CONTEXT_IS_NULL
      Application context is null
  • Method Details

    • values

      public static FaceCaptureErrorCode[] 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 FaceCaptureErrorCode 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