JumioController

Handles the JumioCredential initialization and the workflow lifecycle

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Indicates if all JumioCredential have been successfully completed

Functions

Link copied to clipboard

Cancels the workflow

Link copied to clipboard

Finishes the workflow in case isComplete is true, otherwise an IllegalArgumentException will be thrown

Link copied to clipboard
fun persist(data: Bundle)

Persist the state of the Controller - this needs to be called from the onSaveInstanceState function in the hosting activity or fragment in case the workflow is not yet finished or canceled.

Link copied to clipboard
fun retry(error: JumioError)

Retry the specified JumioError if it is retryable.

Link copied to clipboard

Starts and returns a JumioCredential based on the provided JumioCredentialInfo

Link copied to clipboard
fun stop()

Stop the controller - this needs to be called from the onDestroy function in the hosting activity or fragment in case the workflow is not yet finished or canceled.

Link copied to clipboard
fun userConsented(consentItem: JumioConsentItem, userConsent: Boolean)

Needs to be called in case one or more JumioConsentItem are specified in JumioControllerInterface.onInitialized