Identity Android
1.16
Search
K

GenericIDCardModel

A class derived from Document Model containing details specific to generic ID cards
import com.sybrin.identity.countries.Generic.IDCard.GenericIDCardModel
extends DocumentModel

Summary

Public methods
Data source
Bitmap
OCR
String
OCR
String
OCR
String
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

getDocumentBackImage

public Bitmap getDocumentBackImage()
Returns the back image of the ID card.
Returns
String
The back image of the ID card. This value cannot be null.

getDocumentBackImagePath

public String getDocumentBackImagePath()
Returns the file path of the back image on the ID card.
Returns
String
The file path of the back image of the ID card. This value cannot be null.

getBackResults

public String getBackResults()
Returns the information found on the back of the ID card.
Returns
String
The back information on the ID card. This value cannot be null.

getFrontResults

public String getFrontResults()
Returns the information found on the front of the ID card.
Returns
String
The front information on the ID card. This value cannot be null.