FirebaseVisionBarcode.DriverLicense
Stay organized with collections
Save and categorize content based on your preferences.
A driver license or ID card.
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
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 getLicenseNumber ()
Gets driver license ID number.
public String getMiddleName ()
Gets holder's middle name.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-08-08 UTC.
[null,null,["Last updated 2020-08-08 UTC."],[],[],null,["# FirebaseVisionBarcode.DriverLicense\n\npublic static class **FirebaseVisionBarcode.DriverLicense** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nA driver license or ID card. \n\n### Public Method Summary\n\n|-------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [String](//developer.android.com/reference/java/lang/String.html) | [getAddressCity](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getAddressCity())() Gets city of holder's address. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getAddressState](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getAddressState())() Gets state of holder's address. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getAddressStreet](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getAddressStreet())() Gets holder's street address. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getAddressZip](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getAddressZip())() Gets zip code of holder's address. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getBirthDate](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getBirthDate())() Gets birth date of the holder. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getDocumentType](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getDocumentType())() Gets \"DL\" for driver licenses, \"ID\" for ID cards. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getExpiryDate](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getExpiryDate())() Gets expiry date of the license. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getFirstName](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getFirstName())() Gets holder's first name. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getGender](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getGender())() Gets holder's gender. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getIssueDate](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getIssueDate())() Gets issue date of the license. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getIssuingCountry](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getIssuingCountry())() Gets country in which DL/ID was issued. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getLastName](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getLastName())() Gets holder's last name. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getLicenseNumber](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getLicenseNumber())() Gets driver license ID number. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getMiddleName](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.DriverLicense#getMiddleName())() Gets holder's middle name. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getAddressCity** ()\n\nGets city of holder's address. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getAddressState** ()\n\nGets state of holder's address. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getAddressStreet** ()\n\nGets holder's street address. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getAddressZip** ()\n\nGets zip code of holder's address. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getBirthDate** ()\n\nGets birth date of the holder. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getDocumentType** ()\n\nGets \"DL\" for driver licenses, \"ID\" for ID cards. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getExpiryDate** ()\n\nGets expiry date of the license. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getFirstName** ()\n\nGets holder's first name. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getGender** ()\n\nGets holder's gender. 1 - male, 2 - female. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getIssueDate** ()\n\nGets issue date of the license.\n\nThe date format depends on the issuing country. MMDDYYYY for the US, YYYYMMDD for\nCanada. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getIssuingCountry** ()\n\nGets country in which DL/ID was issued. US = \"USA\", Canada = \"CAN\". \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getLastName** ()\n\nGets holder's last name. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getLicenseNumber** ()\n\nGets driver license ID number. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getMiddleName** ()\n\nGets holder's middle name."]]