FIRVisionBarcodeDriverLicense


@interface FIRVisionBarcodeDriverLicense : 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.

  • Holder’s first name.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *firstName;
  • Holder’s middle name.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *middleName;
  • Holder’s last name.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *lastName;
  • Holder’s gender. 1 is male and 2 is female.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *gender;
  • Holder’s city address.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *addressCity;
  • Holder’s state address.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *addressState;
  • Holder’s street address.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *addressStreet;
  • Holder’s address’ zipcode.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *addressZip;
  • Holder’s birthday. The date format depends on the issuing country.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *birthDate;
  • DL for driver licenses, ID for ID cards.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *documentType;
  • Driver license ID number.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *licenseNumber;
  • Driver license expiration date. The date format depends on the issuing country.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *expiryDate;
  • The date format depends on the issuing country.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *issuingDate;
  • A country in which DL/ID was issued.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *issuingCountry;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;