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