DriversLicenseModel

A class derived from DocumentModel containing details pertaining to all driver's licenses

import com.sybrin.identitysdk.models.DriversLicenseModel

extends DocumentModel

Summary

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.

Public methods

getDocumentBackImage

public Bitmap getCroppedDocumentBackImage ()

Returns an image of the back of the scanned document.

Returns

Bitmap

This value cannot 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.

getLicenseNumber

public String getLicenseNumber ()

Returns the driver's license document's license number as found on the driver's license.

Returns

String

The driver's license document's license number. This value cannot be null.

Last updated