Enum Class RecognitionSuccessType
- All Implemented Interfaces:
Serializable
,Comparable<RecognitionSuccessType>
,Constable
Type of recognition that has been performed.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRecognition was partial (some data found).Recognition has successfully completed one stage (one side of the document has been scanned).Recognition performed successfully (all data found).Recognition performed unsuccessfully (no data found). -
Method Summary
Modifier and TypeMethodDescriptionstatic RecognitionSuccessType
fromNativeRecognitionState
(int nativeState) static RecognitionSuccessType
Returns the enum constant of this class with the specified name.static RecognitionSuccessType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSUCCESSFUL
Recognition performed unsuccessfully (no data found). Returned when all used recognizers have empty results. -
PARTIAL
Recognition was partial (some data found). Returned when at least one recognizer result is uncertain and no recognizer result is valid or stage valid. -
SUCCESSFUL
Recognition performed successfully (all data found). Returned when at least one recognizer has valid result. -
STAGE_SUCCESSFUL
Recognition has successfully completed one stage (one side of the document has been scanned). Returned when at least one recognizer result is stage valid and no recognizer result is valid.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromNativeRecognitionState
-