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

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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.

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Jun 11, 2024

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Apr 28, 2021

Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably send messages at no cost.

Updated Nov 7, 2024