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 String getAddressCity ()

Gets city of holder's address.

public String getAddressState ()

Gets state of holder's address.

public String getAddressStreet ()

Gets holder's street address.

public String getAddressZip ()

Gets zip code of holder's address.

public String getBirthDate ()

Gets birth date of the holder.

public String getDocumentType ()

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

public String getExpiryDate ()

Gets expiry date of the license.

public String getFirstName ()

Gets holder's first name.

public String getGender ()

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

public String getIssueDate ()

Gets issue date of the license.

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

public String getIssuingCountry ()

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

public String getLastName ()

Gets holder's last name.

public String getLicenseNumber ()

Gets driver license ID number.

public String getMiddleName ()

Gets holder's middle name.