Enum LivenessFailureReason
- java.lang.Object
-
- java.lang.Enum<LivenessFailureReason>
-
- com.azure.android.ai.vision.faceanalyzer.LivenessFailureReason
-
- All Implemented Interfaces:
Serializable
,Comparable<LivenessFailureReason>
public enum LivenessFailureReason extends Enum<LivenessFailureReason>
The enum LivenessFailureReason.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTION_NOT_PERFORMED
Action not performed liveness failure reason.ENVIRONMENT_NOT_SUPPORTED
Environment not supported liveness failure reason.EXCESSIVE_FACE_BRIGHTNESS
Excessive face brightness liveness failure reason.EXCESSIVE_IMAGE_BLUR_DETECTED
Excessive image blur detected liveness failure reason.FACE_EYE_REGION_NOT_VISIBLE
Face eye region not visible liveness failure reason.FACE_MOUTH_REGION_NOT_VISIBLE
Face mouth region not visible liveness failure reason.FACE_TRACKING_FAILED
Face tracking failed liveness failure reason.FACE_WITH_MASK_DETECTED
Face with mask detected liveness failure reason.NONE
No liveness failure reason.TIMED_OUT
Timed out liveness failure reason.UNEXPECTED
Unexpected server response liveness failure reason.UNEXPECTED_CLIENT_ERROR
Unexpected client error liveness failure reason.UNEXPECTED_SERVER_ERROR
Unexpected server error liveness failure reason.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Gets value.static LivenessFailureReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static LivenessFailureReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final LivenessFailureReason NONE
No liveness failure reason.
-
FACE_MOUTH_REGION_NOT_VISIBLE
public static final LivenessFailureReason FACE_MOUTH_REGION_NOT_VISIBLE
Face mouth region not visible liveness failure reason.
-
FACE_EYE_REGION_NOT_VISIBLE
public static final LivenessFailureReason FACE_EYE_REGION_NOT_VISIBLE
Face eye region not visible liveness failure reason.
-
EXCESSIVE_IMAGE_BLUR_DETECTED
public static final LivenessFailureReason EXCESSIVE_IMAGE_BLUR_DETECTED
Excessive image blur detected liveness failure reason.
-
EXCESSIVE_FACE_BRIGHTNESS
public static final LivenessFailureReason EXCESSIVE_FACE_BRIGHTNESS
Excessive face brightness liveness failure reason.
-
FACE_WITH_MASK_DETECTED
public static final LivenessFailureReason FACE_WITH_MASK_DETECTED
Face with mask detected liveness failure reason.
-
ACTION_NOT_PERFORMED
public static final LivenessFailureReason ACTION_NOT_PERFORMED
Action not performed liveness failure reason.
-
TIMED_OUT
public static final LivenessFailureReason TIMED_OUT
Timed out liveness failure reason.
-
ENVIRONMENT_NOT_SUPPORTED
public static final LivenessFailureReason ENVIRONMENT_NOT_SUPPORTED
Environment not supported liveness failure reason.
-
FACE_TRACKING_FAILED
public static final LivenessFailureReason FACE_TRACKING_FAILED
Face tracking failed liveness failure reason.
-
UNEXPECTED_CLIENT_ERROR
public static final LivenessFailureReason UNEXPECTED_CLIENT_ERROR
Unexpected client error liveness failure reason.
-
UNEXPECTED_SERVER_ERROR
public static final LivenessFailureReason UNEXPECTED_SERVER_ERROR
Unexpected server error liveness failure reason.
-
UNEXPECTED
public static final LivenessFailureReason UNEXPECTED
Unexpected server response liveness failure reason.
-
-
Method Detail
-
values
public static LivenessFailureReason[] 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 (LivenessFailureReason c : LivenessFailureReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LivenessFailureReason valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
Gets value.- Returns:
- The value
-
-