setBarcodeDetectionCallback

Set a callback to receive barcode detection events.

Parameters

callback

the callback to receive detection events, or null to remove the callback