onError

abstract fun onError(error: ScannerError)

Callback when a scanner operation could not be run.

Parameters

error

The cause of the failure.