startScanner
abstract fun startScanner(configuration: DocumentScanningFlow, onResult: (Result<DocumentData>) -> Unit, onCanceled: () -> Unit? = null)
Opens the Ready-To-Use UI Document Scanner screen with the desired configuration.
Parameters
configuration
The configuration for the document scanning flow.
onResult
Callback invoked with the result of the document scan.
onCanceled
Optional callback invoked if the scan is canceled.