dispatchVerifyEvents
suspend fun ScanningUxEventHandler.dispatchVerifyEvents(translator: VerifyUxTranslator, processResult: VerifyProcessResult, inputImage: InputImage?, session: VerifyCaptureSession)
Dispatches user experience events to the ScanningUxEventHandler after translating the process results.
This extension function simplifies the process of translating VerifyProcessResult 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 VerifyUxTranslator used to translate the process result into ScanningUxEvent objects.
processResult
The VerifyProcessResult from the scanning session.
inputImage
The InputImage used for the process. Can be null.
session
The VerifyCaptureSession that was used for the process.