ScanFlow

object ScanFlow

Properties

Link copied to clipboard
const val SCAN_REQUEST: Int = 42

Functions

Link copied to clipboard

Extract the result of the scan flow if it was successful or throw an error if something went wrong.

Link copied to clipboard
fun scanWithConfiguration(activity: Activity, scanConfiguration: ScanConfiguration)

Start a scan flow to capture several pages and process them. This method will start an Activity so the activity parameter needs to implement the onActivityResult method, check the resultCode and call ScanFlow.getScanResultFromActivityResult to get the result scans.

Link copied to clipboard
fun setLicenseKey(context: Context, licenseKey: String, autoRefresh: Boolean)