Stay organized with collections
Save and categorize content based on your preferences.
VisionBarcodeDriverLicense
classVisionBarcodeDriverLicense:NSObject
A driver license or ID card data representation.
An ANSI driver license contains more fields than are represented by this class. The
FIRVisionBarcodes rawValue property can be used to access the other fields.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-02-11 UTC."],[],[],null,["# FirebaseMLVision Framework Reference\n\nVisionBarcodeDriverLicense\n==========================\n\n class VisionBarcodeDriverLicense : NSObject\n\nA driver license or ID card data representation.\n\nAn ANSI driver license contains more fields than are represented by this class. The\n`FIRVisionBarcode`s `rawValue` property can be used to access the other fields.\n- `\n ``\n ``\n `\n\n ### [firstName](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)firstName)\n\n `\n ` \n Holder's first name. \n\n #### Declaration\n\n Swift \n\n var firstName: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [middleName](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)middleName)\n\n `\n ` \n Holder's middle name. \n\n #### Declaration\n\n Swift \n\n var middleName: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [lastName](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)lastName)\n\n `\n ` \n Holder's last name. \n\n #### Declaration\n\n Swift \n\n var lastName: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [gender](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)gender)\n\n `\n ` \n Holder's gender. 1 is male and 2 is female. \n\n #### Declaration\n\n Swift \n\n var gender: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [addressCity](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)addressCity)\n\n `\n ` \n Holder's city address. \n\n #### Declaration\n\n Swift \n\n var addressCity: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [addressState](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)addressState)\n\n `\n ` \n Holder's state address. \n\n #### Declaration\n\n Swift \n\n var addressState: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [addressStreet](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)addressStreet)\n\n `\n ` \n Holder's street address. \n\n #### Declaration\n\n Swift \n\n var addressStreet: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [addressZip](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)addressZip)\n\n `\n ` \n Holder's address' zipcode. \n\n #### Declaration\n\n Swift \n\n var addressZip: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [birthDate](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)birthDate)\n\n `\n ` \n Holder's birthday. The date format depends on the issuing country. \n\n #### Declaration\n\n Swift \n\n var birthDate: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [documentType](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)documentType)\n\n `\n ` \n \"DL\" for driver licenses, \"ID\" for ID cards. \n\n #### Declaration\n\n Swift \n\n var documentType: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [licenseNumber](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)licenseNumber)\n\n `\n ` \n Driver license ID number. \n\n #### Declaration\n\n Swift \n\n var licenseNumber: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [expiryDate](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)expiryDate)\n\n `\n ` \n Driver license expiration date. The date format depends on the issuing country. \n\n #### Declaration\n\n Swift \n\n var expiryDate: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [issuingDate](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)issuingDate)\n\n `\n ` \n The date format depends on the issuing country. \n\n #### Declaration\n\n Swift \n\n var issuingDate: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [issuingCountry](#/c:objc(cs)FIRVisionBarcodeDriverLicense(py)issuingCountry)\n\n `\n ` \n A country in which DL/ID was issued. \n\n #### Declaration\n\n Swift \n\n var issuingCountry: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)FIRVisionBarcodeDriverLicense(im)init)\n\n `\n ` \n Unavailable."]]