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 in package com.scandit.datacapture.label.ui.overlay.adaptiverecognition

LabelCaptureAdaptiveRecognitionListener
interface LabelCaptureAdaptiveRecognitionListener

Added in version 7.6.0

Interface to receive callbacks from LabelCaptureAdaptiveRecognitionOverlay during adaptive recognition.

onRecognized(result)
void onRecognized(@NonNull AdaptiveRecognitionResult result)

Added in version 7.6.0

Invoked when a document has been successfully recognized. The result contains the recognized data based on the result type.

onFailure()
void onFailure()

Added in version 7.6.0

Invoked when a connection error occurs while trying to recognize a document.