I think you talk about a demo application. The library itself doesn't scan for barcodes continuously.
Mainly you have to stop the scanning thread or scanning timer if a barcode is found.
But how you have to do it depends on your current implementation.
For a more detailed answer I need the code of your app.

I think you talk about a demo application. The library itself doesn't scan for barcodes continuously.
Mainly you have to stop the scanning thread or scanning timer if a barcode is found.
But how you have to do it depends on your current implementation.
For a more detailed answer I need the code of your app.