Note
The Adaptive Recognition API is still in beta and may change in future versions of Scandit Data Capture SDK.
Label Capture Adaptive Recognition Listener
Defined under the namespace Scandit.Datacapture.Label.Ui
- LabelCaptureAdaptiveRecognitionListener
interface LabelCaptureAdaptiveRecognitionListenerAdded in version 8.1.0
Interface to receive callbacks from LabelCaptureAdaptiveRecognitionOverlay during adaptive recognition.
- onRecognized(result)
onRecognized?(result: AdaptiveRecognitionResult):
voidAdded in version 8.1.0
Invoked when a document has been successfully recognized. The result contains the recognized data based on the result type.
- onFailure()
onFailure?():
voidAdded in version 8.1.0
Invoked when a connection error occurs while trying to recognize a document.