FirebaseVisionBarcode.DriverLicense

public static class FirebaseVisionBarcode.DriverLicense extends Object

A driver license or ID card.

Public Method Summary

String
getAddressCity()
Gets city of holder's address.
String
getAddressState()
Gets state of holder's address.
String
getAddressStreet()
Gets holder's street address.
String
getAddressZip()
Gets zip code of holder's address.
String
getBirthDate()
Gets birth date of the holder.
String
getDocumentType()
Gets "DL" for driver licenses, "ID" for ID cards.
String
getExpiryDate()
Gets expiry date of the license.
String
getFirstName()
Gets holder's first name.
String
getGender()
Gets holder's gender.
String
getIssueDate()
Gets issue date of the license.
String
getIssuingCountry()
Gets country in which DL/ID was issued.
String
getLastName()
Gets holder's last name.
String
getLicenseNumber()
Gets driver license ID number.
String
getMiddleName()
Gets holder's middle name.

Inherited Method Summary

Public Methods

public StringgetAddressCity()

Gets city of holder's address.

public StringgetAddressState()

Gets state of holder's address.

public StringgetAddressStreet()

Gets holder's street address.

public StringgetAddressZip()

Gets zip code of holder's address.

public StringgetBirthDate()

Gets birth date of the holder.

public StringgetDocumentType()

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

public StringgetExpiryDate()

Gets expiry date of the license.

public StringgetFirstName()

Gets holder's first name.

public StringgetGender()

Gets holder's gender. 1 - male, 2 - female.

public StringgetIssueDate()

Gets issue date of the license.

The date format depends on the issuing country. MMDDYYYY for the US, YYYYMMDD for Canada.

public StringgetIssuingCountry()

Gets country in which DL/ID was issued. US = "USA", Canada = "CAN".

public StringgetLastName()

Gets holder's last name.

public StringgetLicenseNumber()

Gets driver license ID number.

public StringgetMiddleName()

Gets holder's middle name.