Closed aminvb12 closed 1 year ago
You can add a timeout setting to the template:
const config:DBRConfig = {};
config.template="{\"ImageParameter\":{\"BarcodeFormatIds\":[\"BF_ALL\"],\"Description\":\"\",\"Timeout\": 3500, \"Name\":\"Settings\"},\"Version\":\"3.0\"}";
Thanks, in advance @xulihang Would you please provide me an example in order to how we can enable and disable scanner?
What do you mean?
Do you need to turn off the camera or turn off the frame processor?
If you only need to stop scanning, you can use a sharedValue of react-native-animated to control whether to call the decode function.
What do you mean?
Do you need to turn off the camera or turn off the frame processor?
If you only need to stop scanning, you can use a sharedValue of react-native-animated to control whether to call the decode function.
@xulihang Thanks for your response. Basically, I want to enable/disable frame processor between each successful scan for couple of seconds.
Would it be feasible for you, in order to provide me an example for it? I would appreciate it Dear @xulihang
I was wondering how we can add timeout between each scan.