cover

Enable Continuous Scanning on Capacitor

What is Continuous Scanning for Capacitor? #

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:

                Barkoder.setCloseSessionOnResultEnabled({enabled: false}); 
Barkoder.setThresholdBetweenDuplicatesScans({value: 0});

            

To prevent repeated detection of the same barcode, use:

                Barkoder.setDuplicatesDelayMs({value: 0});

            

Page Contents

History:

close