Package com.regula.facesdk.enums
Enum DetectFacesErrorCode
- java.lang.Object
-
- java.lang.Enum<DetectFacesErrorCode>
-
- com.regula.facesdk.enums.DetectFacesErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DetectFacesErrorCode>
public enum DetectFacesErrorCode extends java.lang.Enum<DetectFacesErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description API_CALL_FAILED
FACER_COMMAND_IS_NOT_SUPPORTED
FACER_COMMAND_PARAMS_READ_ERROR
FACER_IS_NOT_INITIALIZED
FACER_NO_LICENSE
FR_FACE_NOT_DETECTED
IMAGE_EMPTY
PROCESSING_FAILED
REQUEST_FAILED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DetectFacesErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DetectFacesErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMAGE_EMPTY
public static final DetectFacesErrorCode IMAGE_EMPTY
-
FR_FACE_NOT_DETECTED
public static final DetectFacesErrorCode FR_FACE_NOT_DETECTED
-
FACER_NO_LICENSE
public static final DetectFacesErrorCode FACER_NO_LICENSE
-
FACER_IS_NOT_INITIALIZED
public static final DetectFacesErrorCode FACER_IS_NOT_INITIALIZED
-
FACER_COMMAND_IS_NOT_SUPPORTED
public static final DetectFacesErrorCode FACER_COMMAND_IS_NOT_SUPPORTED
-
FACER_COMMAND_PARAMS_READ_ERROR
public static final DetectFacesErrorCode FACER_COMMAND_PARAMS_READ_ERROR
-
PROCESSING_FAILED
public static final DetectFacesErrorCode PROCESSING_FAILED
-
REQUEST_FAILED
public static final DetectFacesErrorCode REQUEST_FAILED
-
API_CALL_FAILED
public static final DetectFacesErrorCode API_CALL_FAILED
-
-
Method Detail
-
values
public static DetectFacesErrorCode[] 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 (DetectFacesErrorCode c : DetectFacesErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DetectFacesErrorCode 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
-
-