Barcode AR Highlight Provider

Defined in framework ScanditBarcodeCapture

BarcodeArHighlightProvider
protocol BarcodeArHighlightProvider : NSObjectProtocol

Added in version 7.1.0

An object used to retrieve the highlights for scanned barcodes.

highlight
func highlight(for barcode: Barcode, completionHandler: @escaping ((any UIView & BarcodeArHighlight)?) -> Void) -> Void

Added in version 7.1.0

Asks the provider for a highlight to display for the given barcode. If null is provided, no highlight will be shown. This method is called on the main thread, and completionHandler must be invoked on the main thread.

highlight
func highlight(for barcode: Barcode) async -> (any UIView & BarcodeArHighlight)?

Added in version 7.1.0

Asks the provider for a highlight to display for the given barcode. If null is provided, no highlight will be shown. This method is called on the main thread, and completionHandler must be invoked on the main thread.