File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
BarcodeReaderSimpleSample Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ class App extends React.Component {
2626
2727
2828 this . reader = await DynamsoftBarcodeReader . createInstance ( ) ;
29- await this . reader . updateDBRRuntimeSettings ( EnumDBRPresetTemplate . DEFAULT ) ;
30- let settings : DBRRuntimeSettings = await this . reader . getDBRRuntimeSettings ( ) ;
29+ await this . reader . updateRuntimeSettings ( EnumDBRPresetTemplate . DEFAULT ) ;
30+ let settings : DBRRuntimeSettings = await this . reader . getRuntimeSettings ( ) ;
3131 // Set the expected barcode count to 0 when you are not sure how many barcodes you are scanning.
3232 // Set the expected barcode count to 1 can maximize the barcode decoding speed.
3333 settings . expectedBarcodesCount = 0 ;
3434 settings . barcodeFormatIds = EnumBarcodeFormat . BF_ONED | EnumBarcodeFormat . BF_QR_CODE ;
35- await this . reader . updateDBRRuntimeSettings ( settings )
35+ await this . reader . updateRuntimeSettings ( settings )
3636
3737 await this . reader . startScanning ( ) ;
3838 this . reader . addResultListener ( ( results : BarcodeResult [ ] ) => {
You can’t perform that action at this time.
0 commit comments