Enable Continuous Scanning on Android

What is Continuous Scanning for Android? #

Continuous Scanning is a feature in barcode scanning applications that allows for repeated scanning of barcodes without manually restarting the scanning process after each successful scan. It is implemented by configuring the scanner to keep the session open and adjusting the delay between duplicate scans.

How to enable continuous scanning?#

To enable continuous scanning, add the following code:

                bkdView.config.isCloseSessionOnResultEnabled = false
bkdView.config.thresholdBetweenDuplicatesScans = 0
            

To prevent repeated detection of the same barcode, use:

                bkdView.config.decoderConfig.duplicatesDelayMs = 0
            

Page Contents

History:

close