Identity Android
1.16
Search
K

PhilippinesIdentificationCardModel

A class derived from Document Model containing details specific to the Filipino identification card
import com.sybrin.identity.countries.Philippines.IdentificationCard.PhilippinesIdentificationCardModel
extends DocumentModel

Summary

String
OCR
String
OCR
String
OCR
Date
OCR
Date
OCR
Bitmap
OCR
String
OCR
String
OCR
String
OCR
String
OCR
String
OCR
String
OCR
Sex
getSex()
OCR

Inherited methods

Data source
<T extends DocumentModel>
castToModel(Class<T> class)
Casts the current model to the
type specified by the class parameter.
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

Public methods

getAddress

public String getAddress ()
Returns the subject's address as found on the identification card.
Returns
String
The subject's address . This value can be null.

getBloodType

public String getBloodType()
Returns the subject's blood type as found on the identification card.
Returns
String
The subject's blood type. This value can be null.

getCommonReferenceNumber

public String getCommonReferenceNumber()
Returns the common reference number as found on the identification card.
Returns
String
The common reference number . This value can be null.

getDateOfBirth

public Date getDateOfBirth()
Returns the subject's date of birth as found on the identification card.
Returns
Date
The subject's date of birth . This value can be null.

getDateOfIssued

public Date getDateOfIssued()
Returns the date issued as found on the identification card.
Returns
Date
The date issued. This value can be null.

getDocumentBackImage

public Bitmap getDocumentBackImage()
Returns the back image of the identification card.
Returns
Bitmap
The Back image. This value cant be null.

getDocumentBackImagePath

public String getCroppedDocumentBackImagePath ()
Returns the file path of the saved back of the document image.
Returns
String
Value is null if image was not saved.

getGivenNames

public String getGivenNames()
Returns the subject's given names as found on the identification card.
Returns
String
The subject given names. This value can be null.

getLastName

public String getLastName()
Returns the subject's last name as found on the identification card.
Returns
String
The subject's last name. This value can be null.

getMaritalStatus

public String getMaritalStatus()
Returns the subject's marital status as found on the identification card.
Returns
String
The subject's marital status . This value can be null.

getMiddleName

public String getMiddleName()
Returns the subject's middle name as found on the identification card.
Returns
String
The subject's middle name . This value can be null.

getPlaceOfBirth

public String getPlaceOfBirth()
Returns the subject's place of birth as found on the identification card.
Returns
String
The subject's place of birth. This value can be null.

getSex

public String getSex ()
Returns the subject's sex as found on the identification card.
Returns
Sex
The subject's sex. This value can be null.