MBDocumentType
@objc
public enum MBDocumentType : Int, MBLocalizable, Comparable
Enum presenting the available document types that can be scanned.
-
Identity Card
Declaration
Swift
case identityCard -
Some countries have two versions of Identitiy Cards This is used to distinct them
Declaration
Swift
case oldID -
Some countries have two versions of Identitiy Cards This is used to distinct them
Declaration
Swift
case newID -
Malaysian identity Card (MyKad)
Declaration
Swift
case malaysianID -
Military Identity Card(MyTentera)
Declaration
Swift
case militaryID -
Permanent Resident Identity Card(MyPr)
Declaration
Swift
case permanentResidentID -
Temporary Resident Identity Card(MyKas)
Declaration
Swift
case temporaryResidentID -
Immigrator Identity Card
Declaration
Swift
case immigratorID -
Driver’s License
Declaration
Swift
case driverLicense -
Passport
Declaration
Swift
case passport -
Visa
Declaration
Swift
case visa -
Temporary Residence Permit
Declaration
Swift
case temporaryResidencePermit -
Residence Permit
Declaration
Swift
case residencePermit -
Undefined
Declaration
Swift
case unknown -
Declaration
Swift
public var localized: String { get } -
Declaration
Swift
public static func < (lhs: MBDocumentType, rhs: MBDocumentType) -> Bool
View on GitHub
Install in Dash
MBDocumentType Enumeration Reference