onBarcodeItemText

val onBarcodeItemText: (barcodeItem: BarcodeItem, text: String) -> String?

Parameters

onBarcodeItemText

A callback function that provides the text to be displayed in the AR overlay based on the detected BarcodeItem. The callback run on the main thread. It is recommended to keep the callback lightweight to avoid blocking the main thread.