getRuntimeSettings method
Gets current settings
The method will throw PlatformException if an error occurs when updateBarcodeSettings operation. You can use getRuntimeSettings like this:
late final DynamsoftBarcodeReader _barcodeReader;
_barcodeReader = await DynamsoftBarcodeReader.createInstance();
try {
DBRRuntimeSettings currentSettings = await _barcodeReader.getRuntimeSettings();
} catch (e) {
print('error = $e');
}
Implementation
Future<DBRRuntimeSettings> getRuntimeSettings() {
return _barcodeReaderCaller.getRuntimeSettings();
}