Label Capture Listener#

Defined in package com.scandit.datacapture.label.capture

LabelCaptureListener#
interface LabelCaptureListener

Added in version 6.0.0

Interface to be implemented by listeners that want to observe a label capture mode and get informed whenever new labels have been captured, existing labels have been updated or lost.

onSessionUpdated(labelCapture, session, frameData)#
void onSessionUpdated(@NonNull LabelCapture labelCapture,
        @NonNull LabelCaptureSession session,
        @NonNull FrameData frameData)

Added in version 6.0.0

Invoked after label capture has completed to process a frame. The session contains a list of the currently captured labels. The list may be empty in case no label is currently present.

onObservationStarted(labelCapture)#
void onObservationStarted(@NonNull LabelCapture labelCapture)

Added in version 6.0.0

Invoked when the listener starts observing the label capture instance.

onObservationStopped(labelCapture)#
void onObservationStopped(@NonNull LabelCapture labelCapture)

Added in version 6.0.0

Invoked when the listener stops observing the label capture instance.