Package com.appliedrec.verid.core2
Enum FacePresenceException.Code
- java.lang.Object
-
- java.lang.Enum<FacePresenceException.Code>
-
- com.appliedrec.verid.core2.FacePresenceException.Code
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FacePresenceException.Code>
- Enclosing class:
- FacePresenceException
public static enum FacePresenceException.Code extends java.lang.Enum<FacePresenceException.Code>
Exception code constants
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FACE_LOST
Face was previously detected but disappeared from the camera field of viewFACE_MOVED_TOO_FAR
Face moved too far in the requested directionFACE_NOT_FOUND
Face not found in an image
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FacePresenceException.Code
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FacePresenceException.Code[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FACE_LOST
public static final FacePresenceException.Code FACE_LOST
Face was previously detected but disappeared from the camera field of view
-
FACE_MOVED_TOO_FAR
public static final FacePresenceException.Code FACE_MOVED_TOO_FAR
Face moved too far in the requested direction
-
FACE_NOT_FOUND
public static final FacePresenceException.Code FACE_NOT_FOUND
Face not found in an image
-
-
Method Detail
-
values
public static FacePresenceException.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 (FacePresenceException.Code c : FacePresenceException.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 FacePresenceException.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
-
-