Batch MultiScan
What is Batch MultiScan for Cordova? #
Batch 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 maximum results count can also be adjusted. For best results, it is recommended to have the decoding speed set to normal and the barKoder resolution to HD.
Barkoder.setCloseSessionOnResultEnabled(false);
Barkoder.setMaximumResultsCount(200);
Barkoder.setMulticodeCachingDuration(3000);
Barkoder.setMulticodeCachingEnabled(true);
// For best results: normal decoding speed and HD resolution
Barkoder.setDecodingSpeed(DecodingSpeed.normal);
Barkoder.setBarkoderResolution(BarkoderResolution.HD);