Label Capture Validation Flow Listener

Defined in namespace Scandit.DataCapture.Label.UI.Overlay.Validation

ILabelCaptureValidationFlowListener
interface ILabelCaptureValidationFlowListener

Added in version 8.2.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()
void OnValidationFlowLabelCaptured(IList<LabelField> fields)

Added in version 8.2.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.

OnManualInputSubmitted()
void OnManualInputSubmitted(LabelField field, string oldValue, string newValue)

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.

OnValidationFlowResultUpdate()
void OnValidationFlowResultUpdate(LabelResultUpdateType type, long asyncId, IList<LabelField> fields, IFrameData frameData)

Added in version 8.2.0

Invoked when the validation flow results are updated. This callback provides information about label field updates.

For synchronous scanning, this method is invoked once with type = LabelResultUpdateType.Sync and asyncId = -1.

For asynchronous scanning, this method is invoked twice:

The asyncId parameter allows you to correlate the start and finish events of the same asynchronous operation.