Label Capture Listener
Defined in package com.scandit.datacapture.label.capture
- LabelCaptureListener
interface LabelCaptureListenerAdded 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(mode, session, data)
voidonSessionUpdated(@NonNull LabelCapture mode, @NonNull LabelCaptureSession session, @NonNull FrameData data)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(mode)
voidonObservationStarted(@NonNull LabelCapture mode)Added in version 6.0.0
Invoked when the listener starts observing the label capture instance.
- onObservationStopped(mode)
voidonObservationStopped(@NonNull LabelCapture mode)Added in version 6.0.0
Invoked when the listener stops observing the label capture instance.