Callback interface for barcode and QR code detection events.
Called when the barcode detector fails to initialize.
Called when one or more readable codes are detected in the camera preview.