cover

Enable Batch MultiScan on Capacitor

What is MultiScan? #

MultiScan is a feature that allows continuous scanning of multiple barcodes without stopping after each scan.

How to enable it? #

This is done by disabling the automatic closing of the scanning session after a result is obtained. The feature also includes an option to set a caching duration for the codes scanned and the ability to enable multi-code caching. The duplicates delay and maximum results count can also be adjusted. For best results, it is recommended to have the decoding speed and barKoder resolution set to normal.

                Barkoder.setCloseSessionOnResultEnabled({enabled: false});
Barkoder.setMaximumResultsCount({value: 200});
Barkoder.setDuplicatesDelayMs({value: 0});
Barkoder.setMulticodeCachingDuration({value: 3000});
Barkoder.setMulticodeCachingEnabled({enabled :true});

// For best result decoding speed should be normal, and barkoder resolution should be normal
Barkoder.setDecodingSpeed({value: DecodingSpeed.normal});
Barkoder.setBarkoderResolution({value: BarkoderResolution.normal});

            

Page Contents

History:

close