KenyaIDCardModel
A class derived from IDCardModel containing details specific to the Kenya ID card
import com.sybrin.identitysdk.countries.Kenya.IDCard.KenyaIDCardModel
extends
IDCardModel
Summary
Public methods | |
int | |
int | |
Date | |
int | |
String | |
String | |
String | |
String | |
String | |
String | |
int |
Inherited methods
<T extends DocumentModel> | castToModel(Class<T> class) Casts the current model to the type specified by the class parameter. |
Bitmap | |
String | |
Bitmap | |
String | |
Bitmap | |
String | |
void | saveImages(Context context) Saves all images within the model to the local device and populates all path fields. |
Bitmap | |
String | |
Date | |
Bitmap | |
String | |
String | |
String | |
String | |
Bitmap | |
String | |
getSex() Returns the subject's sex as found on the ID card. |
Public methods
getCompositeCheckDigit
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 |
getDateOfBirthCheckDigit
public int getDateOfBirthCheckDigit ()
Returns the check digit used to verify the subject's date of birth as found on the ID card.
Returns | |
int |
getDateOfExpiry
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 |
getDateOfExpiryCheckDigit
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 |
getMrzLine1
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 |
getMrzLine2
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 |
getMrzLine3
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 |
getOptionalData1
public String getOptionalData1 ()
Returns the first optional data as found on the back of the ID card.
Returns | |
String | The first optional data. |
getOptionalData2
public String getOptionalData2 ()
Returns the second optional data as found on the back of the ID card.
Returns | |
String | The second optional data. |
getSerialNumber
public String getSerialNumber ()
Returns the subject's serial number as found on the back of the ID card.
Returns | |
String | The subject's serial number. This value cannot be |
getSerialNumberCheckDigit
public int getSerialNumberCheckDigit ()
Returns the check digit used to verify the subject's serial number as found on the ID card.
Returns | |
int |
Last updated