startScanner

abstract fun startScanner(configuration: VinScannerScreenConfiguration, onResult: (Result<VinScannerUiResult>) -> Unit, onCanceled: () -> Unit? = null)

Opens the Ready-To-Use UI Vin Scanner screen with the desired configuration.

Parameters

configuration

The configuration for the Vin scanner screen.

onResult

Callback invoked with the scanning result.

onCanceled

Optional callback invoked if the scanner is canceled or force closed.