The Mobile Vision API is now a part of ML Kit. We strongly encourage you to try it out, as it comes with new capabilities like on-device image labeling! Also, note that we ultimately plan to wind down the Mobile Vision API, with all new on-device ML capabilities released via ML Kit. Feel free to reach out to Firebase support for help.

GMVBarcodeFeatureDriverLicense Class

GMVBarcodeFeatureDriverLicense Class Reference

Overview

A driver license or ID card data representation.

Inherits NSObject.

Property Summary

NSString * firstName
 Holder's first name. More...
 
NSString * middleName
 Holder's middle name. More...
 
NSString * lastName
 Holder's last name. More...
 
NSString * gender
 Holder's gender. More...
 
NSString * addressCity
 Holder's city address. More...
 
NSString * addressState
 Holder's state address. More...
 
NSString * addressStreet
 Holder's street address. More...
 
NSString * addressZip
 Holder's address' zipcode. More...
 
NSString * birthDate
 Holder's birthday. More...
 
NSString * documentType
 "DL" for driver licenses, "ID" for ID cards. More...
 
NSString * licenseNumber
 Driver license ID number. More...
 
NSString * expiryDate
 Driver license expiration date. More...
 
NSString * issuingDate
 The date format depends on the issuing country. More...
 
NSString * issuingCountry
 Country in which DL/ID was issued. More...
 

Property Detail

- (NSString*) firstName
readatomiccopy

Holder's first name.

- (NSString*) middleName
readatomiccopy

Holder's middle name.

- (NSString*) lastName
readatomiccopy

Holder's last name.

- (NSString*) gender
readatomiccopy

Holder's gender.

1 is male and 2 is female.

- (NSString*) addressCity
readatomiccopy

Holder's city address.

- (NSString*) addressState
readatomiccopy

Holder's state address.

- (NSString*) addressStreet
readatomiccopy

Holder's street address.

- (NSString*) addressZip
readatomiccopy

Holder's address' zipcode.

- (NSString*) birthDate
readatomiccopy

Holder's birthday.

The date format depends on the issuing country.

- (NSString*) documentType
readatomiccopy

"DL" for driver licenses, "ID" for ID cards.

- (NSString*) licenseNumber
readatomiccopy

Driver license ID number.

- (NSString*) expiryDate
readatomiccopy

Driver license expiration date.

The date format depends on the issuing country.

- (NSString*) issuingDate
readatomiccopy

The date format depends on the issuing country.

- (NSString*) issuingCountry
readatomiccopy

Country in which DL/ID was issued.