Barcode AR Highlight Provider

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

BarcodeArHighlightProvider
interface BarcodeArHighlightProvider

Added in version 8.6.0

An object used to retrieve the highlights for scanned barcodes.

highlightForBarcode(barcode, callback)
fun highlightForBarcode(barcode: Barcode,
        callback: ((BarcodeArHighlight?) -> Unit))

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