Barcode Batch Listener

Defined in framework ScanditBarcodeCapture

BarcodeBatchListener
protocol BarcodeBatchListener : NSObjectProtocol

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.

didStartObserving
optional func didStartObserving(_ barcodeBatch: BarcodeBatch) -> Void

Added in version 7.0.0

Called when the listener starts observing the BarcodeBatch instance.

didStopObserving
optional func didStopObserving(_ barcodeBatch: BarcodeBatch) -> Void

Added in version 7.0.0

Called when the listener stops observing the BarcodeBatch instance.

barcodeBatch
open func barcodeBatch(_ barcodeBatch: BarcodeBatch, didUpdate session: BarcodeBatchSession, frameData: any FrameData) -> Void

Added in version 7.0.0

Invoked after Barcode Batch has completed to process a frame.