BarcodeDriverLicense
class BarcodeDriverLicense : NSObject
A driver’s license or ID card data representation.
An ANSI driver’s license contains more fields than are represented by this class. The Barcode
‘s
rawValue
property can be used to access the other fields.
-
Holder’s first name.
Declaration
Swift
var firstName: String? { get }
-
Holder’s middle name.
Declaration
Swift
var middleName: String? { get }
-
Holder’s last name.
Declaration
Swift
var lastName: String? { get }
-
Holder’s gender. 1 is male and 2 is female.
Declaration
Swift
var gender: String? { get }
-
City of the holder’s address.
Declaration
Swift
var addressCity: String? { get }
-
State of the holder’s address.
Declaration
Swift
var addressState: String? { get }
-
Street of the holder’s address.
Declaration
Swift
var addressStreet: String? { get }
-
Zipcode of the holder’s address.
Declaration
Swift
var addressZip: String? { get }
-
Holder’s birthday. The date format depends on the issuing country.
Declaration
Swift
var birthDate: String? { get }
-
DL
for driver’s licenses,ID
for ID cards.Declaration
Swift
var documentType: String? { get }
-
Driver’s license ID number.
Declaration
Swift
var licenseNumber: String? { get }
-
Driver’s license expiration date. The date format depends on the issuing country.
Declaration
Swift
var expiryDate: String? { get }
-
The date format depends on the issuing country.
Declaration
Swift
var issuingDate: String? { get }
-
The country in which the DL/ID was issued.
Declaration
Swift
var issuingCountry: String? { get }
-
Unavailable.