dispatchBlinkIdEvents
suspend fun ScanningUxEventHandler.dispatchBlinkIdEvents(translator: BlinkIdUxTranslator, processResult: BlinkIdProcessResult, inputImage: InputImage?, session: BlinkIdScanningSession)
Dispatches user experience events to the ScanningUxEventHandler after translating the process results.
This extension function simplifies the process of translating BlinkIdProcessResult from the scanning session into a list of ScanningUxEvent objects and then dispatching these events to the ScanningUxEventHandler.
Receiver
The ScanningUxEventHandler to which the translated events will be dispatched.
Parameters
translator
The BlinkIdUxTranslator used to translate the process result into ScanningUxEvent objects.
processResult
The BlinkIdProcessResult from the scanning session.
inputImage
The InputImage used for the process. Can be null
.
session
The BlinkIdScanningSession that was used for the process.