Package com.regula.facesdk.enums
Enum DetectFacesAttribute
- java.lang.Object
-
- java.lang.Enum<DetectFacesAttribute>
-
- com.regula.facesdk.enums.DetectFacesAttribute
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DetectFacesAttribute>
public enum DetectFacesAttribute extends java.lang.Enum<DetectFacesAttribute>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGE
EMOTION
EYE_LEFT
EYE_RIGHT
FOREHEAD_COVERING
GLASSES
HEAD_COVERING
HEADPHONES
MEDICAL_MASK
MOUTH
OCCLUSION
SMILE
STRONG_MAKEUP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DetectFacesAttribute
get(java.lang.String code)
java.lang.String
getValue()
static DetectFacesAttribute
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DetectFacesAttribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AGE
public static final DetectFacesAttribute AGE
-
EYE_RIGHT
public static final DetectFacesAttribute EYE_RIGHT
-
EYE_LEFT
public static final DetectFacesAttribute EYE_LEFT
-
EMOTION
public static final DetectFacesAttribute EMOTION
-
SMILE
public static final DetectFacesAttribute SMILE
-
GLASSES
public static final DetectFacesAttribute GLASSES
-
HEAD_COVERING
public static final DetectFacesAttribute HEAD_COVERING
-
FOREHEAD_COVERING
public static final DetectFacesAttribute FOREHEAD_COVERING
-
MOUTH
public static final DetectFacesAttribute MOUTH
-
MEDICAL_MASK
public static final DetectFacesAttribute MEDICAL_MASK
-
OCCLUSION
public static final DetectFacesAttribute OCCLUSION
-
STRONG_MAKEUP
public static final DetectFacesAttribute STRONG_MAKEUP
-
HEADPHONES
public static final DetectFacesAttribute HEADPHONES
-
-
Method Detail
-
values
public static DetectFacesAttribute[] 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 (DetectFacesAttribute c : DetectFacesAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DetectFacesAttribute 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 java.lang.String getValue()
-
get
public static DetectFacesAttribute get(java.lang.String code)
-
-