Barcode Tracking Listener
Defined in package com.scandit.datacapture.barcode.tracking.capture
- BarcodeTrackingListener
interface BarcodeTrackingListener
Added in version 6.0.0
The BarcodeTracking listener is the main way for hooking into BarcodeTracking. It provides a callback that is invoked when the state of tracked barcodes changes.
- onObservationStarted(barcodeTracking)
void
onObservationStarted(@NonNull BarcodeTracking barcodeTracking)Added in version 6.0.0
Called when the listener starts observing the BarcodeTracking instance.
- onObservationStopped(barcodeTracking)
void
onObservationStopped(@NonNull BarcodeTracking barcodeTracking)Added in version 6.0.0
Called when the listener stops observing the BarcodeTracking instance.
- onSessionUpdated(mode, session, data)
void
onSessionUpdated(@NonNull BarcodeTracking mode, @NonNull BarcodeTrackingSession session, FrameData data)Added in version 6.0.0
Invoked after barcode tracking has completed to process a frame.
Barcode Tracking Advanced Listener
Defined in package com.scandit.datacapture.barcode.tracking