IDCardModel
A class derived from DocumentModel containing details pertaining to all ID card documents
Last updated
A class derived from DocumentModel containing details pertaining to all ID card documents
Last updated
import com.sybrin.identity.models.IDCardModel
extends
DocumentModel
public Bitmap getCroppedDocumentBackImage ()
Returns a cropped image of the back of the scanned document.
public String getCroppedDocumentBackImagePath ()
Returns the file path of the saved cropped back of the document image.
public Date getDateOfBirth ()
Returns the subject's date of birth as found on the ID card.
public Bitmap getCroppedDocumentBackImage ()
Returns an image of the back of the scanned document.
public String getCroppedDocumentBackImagePath ()
Returns the file path of the saved back of the document image.
public String getFullName ()
Returns the subject's full name as found on the ID card.
public String getIdentityNumber ()
Returns the subject's identity number as found on the ID card.
public String getNationality ()
Returns the subject's nationality as found on the ID card.
public Bitmap getPortraitBackImage ()
Returns an image of the portrait on the back of the scanned document.
public String getPortraitBackImagePath ()
Returns the file path of the saved portrait on the back of the document image.
public String getSex ()
Returns the subject's sex as found on the ID card.
Public methods
Data source
Bitmap
Back of document
String
Local Storage
Date
PDF417 Barcode / OCR
Bitmap
Back of document
String
Local Storage
String
PDF417 Barcode / OCR
String
PDF417 Barcode / OCR
String
PDF417 Barcode / OCR
Bitmap
Back of document
String
Local Storage
PDF417 Barcode / OCR
Data source
<T extends DocumentModel>
N/A
Bitmap
Front of document
String
Local storage
Bitmap
Front of document
String
Local storage
Bitmap
Front of document
String
Local storage
void
saveImages(Context context)
Saves all images within the model
to the local device and populates
all path fields.
N/A
Returns
Bitmap
This value cannot be null
.
Returns
String
Value is null
if image was not saved.
Returns
Date
The subject's date of birth. This value cannot be null
.
Returns
Bitmap
This value cannot be null
.
Returns
String
Value is null
if image was not saved.
Returns
String
The subject's full name. This value cannot be null
.
Returns
String
The subject's identity number. This value cannot be null
.
Returns
String
The subject's country of birth. This value cannot be null
.
Returns
Bitmap
This value cannot be null
.
Returns
String
Value is null
if image was not saved.
Returns
This value cannot be null
.