scanWithConfiguration

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.

Parameters

activity

The activity used to start this scan flow

scanConfiguration

The options of the scan flow, such as whether multiple pages can be captured, custom colors and which post processing operations should be applied.