Package io.scanbot.sdk.documentdata
Enum Class DocumentDataExtractionStatus
java.lang.Object
java.lang.Enum<DocumentDataExtractionStatus>
io.scanbot.sdk.documentdata.DocumentDataExtractionStatus
- All Implemented Interfaces:
Serializable,Comparable<DocumentDataExtractionStatus>,Constable
The status of the extraction process.
Some values are only applicable in live mode, some only in single-shot mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA document was detected, but the angle or distance would result in a poor quality crop.No document was detected.A supported document was detected, but it is unacceptable in the current configuration.A document was detected, but it does not match any supported document format.The document data was successfully extracted.The document data was extracted, but some fields failed validation (e.g., document is damaged, not authentic, or missing required fields).The document data was extracted, but the confidence is below the acceptable threshold.Document data extraction in progress.Document data extraction in progress. -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentDataExtractionStatusReturns the enum constant of this class with the specified name.static DocumentDataExtractionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
The document data was successfully extracted. -
OK_BUT_LOW_CONFIDENCE_RESULTS
The document data was extracted, but the confidence is below the acceptable threshold. (Single-shot mode only). -
OK_BUT_INVALID_DOCUMENT
The document data was extracted, but some fields failed validation (e.g., document is damaged, not authentic, or missing required fields). -
SCANNING_IN_PROGRESS
Document data extraction in progress. The document data was extracted, but not all fields have been confirmed across enough frames yet. Continue scanning to confirm. (Live mode only). -
SCANNING_IN_PROGRESS_STILL_FOCUSING
Document data extraction in progress. Waiting for camera to finish focusing. (Live mode only). -
ERROR_NOTHING_FOUND
No document was detected. -
ERROR_BAD_CROP
A document was detected, but the angle or distance would result in a poor quality crop. -
ERROR_UNKNOWN_DOCUMENT
A document was detected, but it does not match any supported document format. -
ERROR_UNACCEPTABLE_DOCUMENT
A supported document was detected, but it is unacceptable in the current configuration.
-
-
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
-