Enum VerIDSessionException.Code
- java.lang.Object
-
- java.lang.Enum<VerIDSessionException.Code>
-
- com.appliedrec.verid.core2.session.VerIDSessionException.Code
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VerIDSessionException.Code>
- Enclosing class:
- VerIDSessionException
public static enum VerIDSessionException.Code extends java.lang.Enum<VerIDSessionException.Code>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAMERA_ACCESS_DENIED
Camera access deniedCONTAINS_INCOMPATIBLE_FACES
EMPTY_FACES_SUPPLIED_TO_FACE_CAPTURE
FACE_DETECTION_EVALUATION_ERROR
Failed to evaluate detected facesFACE_IS_COVERED
If a face is covered andVerIDSessionSettings.isFaceCoveringDetectionEnabled()
is set to trueLIVENESS_FAILURE
Liveness detection failedOTHER
Other exception, seeThrowable.getCause()
TIMEOUT
The session timed out
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VerIDSessionException.Code
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VerIDSessionException.Code[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TIMEOUT
public static final VerIDSessionException.Code TIMEOUT
The session timed out
-
LIVENESS_FAILURE
public static final VerIDSessionException.Code LIVENESS_FAILURE
Liveness detection failed
-
FACE_DETECTION_EVALUATION_ERROR
public static final VerIDSessionException.Code FACE_DETECTION_EVALUATION_ERROR
Failed to evaluate detected faces
-
OTHER
public static final VerIDSessionException.Code OTHER
Other exception, seeThrowable.getCause()
-
CAMERA_ACCESS_DENIED
public static final VerIDSessionException.Code CAMERA_ACCESS_DENIED
Camera access denied
-
FACE_IS_COVERED
public static final VerIDSessionException.Code FACE_IS_COVERED
If a face is covered andVerIDSessionSettings.isFaceCoveringDetectionEnabled()
is set to true
-
EMPTY_FACES_SUPPLIED_TO_FACE_CAPTURE
public static final VerIDSessionException.Code EMPTY_FACES_SUPPLIED_TO_FACE_CAPTURE
-
CONTAINS_INCOMPATIBLE_FACES
public static final VerIDSessionException.Code CONTAINS_INCOMPATIBLE_FACES
-
-
Method Detail
-
values
public static VerIDSessionException.Code[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VerIDSessionException.Code c : VerIDSessionException.Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerIDSessionException.Code valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-