Barcode Batch Listener

Defined in package com.scandit.datacapture.barcode.batch.capture

BarcodeBatchListener
interface BarcodeBatchListener

Added in version 7.0.0

The BarcodeBatch listener is the main way for hooking into BarcodeBatch. It provides a callback that is invoked when the state of tracked barcodes changes.

onObservationStarted(barcodeBatch)
void onObservationStarted(@NonNull BarcodeBatch barcodeBatch)

Added in version 7.0.0

Called when the listener starts observing the BarcodeBatch instance.

onObservationStopped(barcodeBatch)
void onObservationStopped(@NonNull BarcodeBatch barcodeBatch)

Added in version 7.0.0

Called when the listener stops observing the BarcodeBatch instance.

onSessionUpdated(mode, session, data)
void onSessionUpdated(@NonNull BarcodeBatch mode,
        @NonNull BarcodeBatchSession session,
        FrameData data)

Added in version 7.0.0

Invoked after Barcode Batch has completed to process a frame.