Enum RecognitionStatus
- java.lang.Object
-
- java.lang.Enum<RecognitionStatus>
-
- com.azure.android.ai.vision.faceanalyzer.RecognitionStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<RecognitionStatus>
public enum RecognitionStatus extends Enum<RecognitionStatus>
The enum RecognitionStatus.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETED_RESULT_QUERYABLE_FROM_SERVICE
Face analysis is completed, but result is only queryable from service.FAILED
Failed recognition status.NOT_COMPUTED
Not computed recognition status.NOT_RECOGNIZED
Not recognized recognition status.RECOGNIZED
Recognized recognition status.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Gets value.static RecognitionStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static RecognitionStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_COMPUTED
public static final RecognitionStatus NOT_COMPUTED
Not computed recognition status.
-
FAILED
public static final RecognitionStatus FAILED
Failed recognition status.
-
NOT_RECOGNIZED
public static final RecognitionStatus NOT_RECOGNIZED
Not recognized recognition status.
-
RECOGNIZED
public static final RecognitionStatus RECOGNIZED
Recognized recognition status.
-
COMPLETED_RESULT_QUERYABLE_FROM_SERVICE
public static final RecognitionStatus COMPLETED_RESULT_QUERYABLE_FROM_SERVICE
Face analysis is completed, but result is only queryable from service.
-
-
Method Detail
-
values
public static RecognitionStatus[] 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 (RecognitionStatus c : RecognitionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RecognitionStatus 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
-
-