restore

fun restore(context: Context, data: Bundle, controllerInterface: JumioControllerInterface, scanPartInterface: JumioScanPartInterface?, restore: (controller: JumioController, credentials: List<JumioCredentialInfo>, activeCredential: JumioCredential?, activeScanPart: JumioScanPart?) -> Unit)

Restore the persisted SDK and continue the SDK journey

Parameters

context
data

the data bundle

controllerInterface

the controller interface

scanPartInterface

the scan part interface - in case a scan was active during persisting

restore

unit that is executed for restoring