UgandaIDCardModel
A class derived from IDCardModel containing details specific to the Uganda ID card
import com.sybrin.identity.countries.Uganda.IDCard.UgandaIDCardModel
Public methods | | Data source |
String | MRZ OCR | |
int | MRZ OCR | |
int | MRZ OCR | |
Date | MRZ OCR | |
int | MRZ OCR | |
Date | MRZ OCR | |
int | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR |
| Data source | |
N/A | ||
Bitmap | Front of document | |
String | Local storage | |
Bitmap | Front of document | |
String | Local storage | |
Bitmap | Front of document | |
String | Local storage | |
void | Saves all images within the model to the local device and populates all path fields. | N/A |
| Data source | |
Bitmap | Back of document | |
String | Local Storage | |
Date | MRZ OCR | |
Bitmap | Back of document | |
String | Local Storage | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
Bitmap | Back of document | |
String | Local Storage | |
MRZ OCR |
The following validation and verification applies to this document:
Value | Validation type |
Date of birth | |
Date of expiry | |
MRZ line 1 & 2 composite | |
Card Number |
As explained in Validation & Verification the following fields are verified across the front and back components of the document.
Value | Source |
Card number | Front: OCR Back: MRZ OCR |
public String getCardNumber ()
Returns the ID card number as found on the ID card.
Returns | |
String | The ID card number. This value cannot be null . |
public int getCardNumberCheckDigit ()
Returns the check digit used to verify the card number as found on the ID card.
Returns | |
int | |
public int getCompositeCheckDigit ()
Returns the check digit used to verify the serial number, date of birth, date of expiry, optional data 1, and optional data 2 as found on the ID card.
Returns | |
int | |
public Date getDateIssued ()
Returns the ID card's issue date as found on the ID card.
Returns | |
Date | The ID card's issue date. This value cannot be null . |
public int getDateOfBirthCheckDigit ()
Returns the check digit used to verify the subject's date of birth as found on the ID card.
Returns | |
int | |
public Date getDateOfExpiry ()
Returns the ID card's date of expiry as found on the ID card.
Returns | |
Date | The ID card's date of expiry. This value cannot be null . |
public int getDateOfExpiryCheckDigit ()
Returns the check digit used to verify the ID card's date of expiry as found on the ID card.
Returns | |
int | |
public String getIssuingCountryCode ()
Returns the ISO 3166-1 Alpha 3 country code as found on the ID card.
Returns | |
String | The ISO 3166-1 Alpha 3 country code. This value cannot be null . |
public String getMrzLine1 ()
Returns the first MRZ line as found on the back of the ID card.
Returns | |
String | The first MRZ line. This value cannot be null . |
public String getMrzLine2 ()
Returns the second MRZ line as found on the back of the ID card.
Returns | |
String | The second MRZ line. This value cannot be null . |
public String getMrzLine3 ()
Returns the third MRZ line as found on the back of the ID card.
Returns | |
String | The third MRZ line. This value cannot be null . |
public String getNames ()
Returns the subject's names as found on the ID card.
Returns | |
String | The subject's names. This value cannot be null . |
public String getOptionalData1 ()
Returns the first optional data as found on the back of the ID card.
Returns | |
String | The first optional data. |
public String getOptionalData2 ()
Returns the second optional data as found on the back of the ID card.
Returns | |
String | The second optional data. |
public String getSurname ()
Returns the subject's surname as found on the ID card.
Returns | |
String | The subject's surname. This value cannot be null . |
Last modified 10mo ago