setReadableCodeDetectionCallback

Set a callback to receive barcode and QR code detection events.

Parameters

callback

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