Barcode Batch Listener
Defined in package com.scandit.datacapture.barcode.batch
- BarcodeBatchListener
interface BarcodeBatchListenerAdded in version 8.6.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)
fun onObservationStarted(barcodeBatch: BarcodeBatch)
Added in version 8.6.0
Called when the listener starts observing the BarcodeBatch instance.
- onObservationStopped(barcodeBatch)
fun onObservationStopped(barcodeBatch: BarcodeBatch)
Added in version 8.6.0
Called when the listener stops observing the BarcodeBatch instance.
- onSessionUpdated(barcodeBatch, session, frameData)
fun onSessionUpdated(barcodeBatch: BarcodeBatch, session: BarcodeBatchSession, frameData: FrameData)
Added in version 8.6.0
Invoked after Barcode Batch has completed to process a frame.