Enum GenericDocumentScanResult.RecognitionStatus
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum GenericDocumentScanResult.RecognitionStatus extends Enum<GenericDocumentScanResult.RecognitionStatus>
Enumerated Document scan attempt result status
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Success
Document found, cropped, all fields found and their data recognized
ErrorNothingFound
Nothing found
ErrorBadCrop
Document cannot be cropped in a good way (e.g. not fully visible to viewport, partially covered etc)
ErrorUnknownDocument
A document was detected, but it was not recognized as a supported document
ErrorUnacceptableDocument
A document was detected as a supported document, but it was not part of the accepted documents
IncompleteValidation
All fields were recognized, but some of them failed validation or confirmation
-
Method Summary
Modifier and Type Method Description final GenericDocumentScanResult.RecognitionStatus
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<GenericDocumentScanResult.RecognitionStatus>
values()
Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final GenericDocumentScanResult.RecognitionStatus valueOf(String value)
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.)
-
values
final Array<GenericDocumentScanResult.RecognitionStatus> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-