Label Capture Validation Flow Listener

Defined under the namespace Scandit.Datacapture.Label.Ui

LabelCaptureValidationFlowListener
interface LabelCaptureValidationFlowListener

Added in version 7.4.0

Interface to be implemented by listeners that want to observe a LabelCaptureValidationFlowOverlay and get informed when a new label have been completely captured and validated by the end user.

onValidationFlowLabelCaptured(fields)
onValidationFlowLabelCaptured(fields: LabelField[]): void

Added in version 7.4.0

Invoked when the validation flow has finished and the end user has validated a label capture. The method receives a list of all the captured fields and their values. Before this method is called, the LabelCapture mode will be automatically disabled and the camera will be paused. To continue scanning, the mode should be enabled again and the camera should be turned on.

onManualInput(field, oldValue, newValue)
onManualInput(field: LabelField,
        oldValue: string | undefined,
        newValue: string): void

Added in version 8.2.0

Invoked when the user manually submits a value for a field through the validation flow UI. This callback is triggered after the user submits a field value using the keyboard, regardless of whether the input passes validation. This allows you to track which fields require manual intervention and log user corrections for analytics.