Barcode Ar Annotation Provider

Defined under the namespace Scandit.Datacapture.Barcode.Ar.Ui.Annotations

BarcodeArAnnotationProvider
interface BarcodeArAnnotationProvider

Added in version 7.1.0

An object used to retrieve the annotations for scanned barcodes.

annotationForBarcode(barcode, callback)
annotationForBarcode(barcode: Barcode,
        callback: (annotation: BarcodeArAnnotation) => void): Promise<void>

Added in version 7.1.0

Asks the provider for an annotation to display for the given barcode. If null is provided, no annotation will be shown. This method is called on the main thread, and callback::onData must be invoked on the main thread.