Barcode Find Listener

Defined in framework ScanditBarcodeCapture

BarcodeFindListener
protocol BarcodeFindListener : NSObjectProtocol

Added in version 6.18.0

Listener interface for BarcodeFind.

barcodeFindDidStartSearch
optional func barcodeFindDidStartSearch(_ barcodeFind: BarcodeFind) -> Void

Added in version 6.18.0

Invoked whenever the search process has been started.

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

barcodeFind
optional func barcodeFind(_ barcodeFind: BarcodeFind, didPauseSearch foundItems: Set<BarcodeFindItem>) -> Void

Added in version 6.18.0

Invoked whenever the search process has been paused. The foundItems parameter contains all the items found on the last processed camera frame.

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

barcodeFind
optional func barcodeFind(_ barcodeFind: BarcodeFind, didStopSearch foundItems: Set<BarcodeFindItem>) -> Void

Added in version 6.18.0

Invoked whenever the search process has been stopped. The foundItems parameter contains all the items found since the start of the process.

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

barcodeFind
optional func barcodeFind(_ barcodeFind: BarcodeFind, didUpdate session: any BarcodeFindSession) -> Void

Added in version 7.4.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.