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(mode, session, data)
void
onSessionUpdated(@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)
void
onObservationStarted(@NonNull LabelCapture mode)Added in version 6.0.0
Invoked when the listener starts observing the label capture instance.
- onObservationStopped(mode)
void
onObservationStopped(@NonNull LabelCapture mode)Added in version 6.0.0
Invoked when the listener stops observing the label capture instance.