initScanPart
open override fun initScanPart(credentialPart: JumioCredentialPart, scanPartInterface: JumioScanPartInterface): JumioScanPart
Initializes and returns a JumioScanPart based on the provided JumioCredentialPart
Return
JumioScanPart instance
Parameters
credentialPart
scanPartInterface
JumioScanPartInterface reference
Throws
in case an invalid parameter is passed
in case the credential's state is currently not capable of initiating a new JumioScanPart
in case the credential or it's data is not configured correctly or outdated