Barcode Sequence Listener

Defined in framework ScanditBarcodeCapture

BarcodeSequenceListener
protocol BarcodeSequenceListener : NSObjectProtocol

Added in version 8.1.0

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

barcodeSequence
optional func barcodeSequence(_ barcodeSequence: BarcodeSequence, didUpdate session: BarcodeSequenceSession) -> Void

Added in version 8.1.0

Invoked on each frame. The session parameter contains the currently tracked barcodes.

This method is invoked from a recognition internal thread. To perform UI work, you must dispatch to the main thread first.