Barcode AR Annotation Provider

Defined in package com.scandit.datacapture.barcode.ar.ui.annotations

BarcodeArAnnotationProvider
interface BarcodeArAnnotationProvider

Added in version 8.6.0

An object used to retrieve the annotations for scanned barcodes.

annotationForBarcode(barcode, callback)
fun annotationForBarcode(barcode: Barcode,
        callback: ((BarcodeArAnnotation?) -> Unit))

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