Package io.scanbot.sdk.mrz
Enum MrzIncompleteResultHandling
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum MrzIncompleteResultHandling extends Enum<MrzIncompleteResultHandling>
Defines how to handle incomplete MRZ results (e.g. caused by failed validation).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMrzIncompleteResultHandling.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTAccept incomplete results. Fields failing validation will have a validation status of INVALID. Typically used for single-shot scanning.
REJECTReject incomplete results. If any fields are missing or fail validation, the result document will be empty. Typically used for live scanning.
-
Method Summary
Modifier and Type Method Description final StringtoJson()final MrzIncompleteResultHandlingvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<MrzIncompleteResultHandling>values()Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final MrzIncompleteResultHandling 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<MrzIncompleteResultHandling> 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.
-
-
-
-