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(barcodeTracking, session, frameData)#
void onSessionUpdated(@NonNull BarcodeTracking barcodeTracking,
        @NonNull BarcodeTrackingSession session,
        @NonNull FrameData frameData)

Added in version 6.0.0

Invoked after barcode tracking has completed to process a frame.