问题
How do I stop the barcode Scanner after scan?
barcodeDetector
barcodeDetector = new BarcodeDetector.Builder(this)
.setBarcodeFormats(Barcode.QR_CODE)
.build();
}
回答1:
You need to release BarcodeDetector
after scanning complete. As
barcodeDetector.release();
来源:https://stackoverflow.com/questions/50140928/how-to-stop-barcodedetector