MRZ Scanner API Enumerations
This page documents v3.x of the MRZ Scanner JavaScript Edition. If you are moving to v4.0, see the Migration Guide (v3.x to v4.0).
The MRZ Scanner comes with a few enumerations for some of the configuration properties.
EnumMRZDocumentType
Syntax
enum EnumMRZDocumentType {
Passport = "passport",
TD1 = "td1",
TD2 = "td2",
}
EnumResultStatus
Syntax
enum EnumResultStatus {
RS_SUCCESS = 0,
RS_CANCELLED = 1,
RS_FAILED = 2,
}
EnumMRZData
Syntax
enum EnumMRZData {
InvalidFields = "invalidFields",
DocumentType = "documentType",
DocumentNumber = "documentNumber",
MRZText = "mrzText",
FirstName = "firstName",
LastName = "lastName",
Age = "age",
Sex = "sex",
IssuingState = "issuingState",
Nationality = "nationality",
DateOfBirth = "dateOfBirth",
DateOfExpiry = "dateOfExpiry",
}