setDelay method
Set delay between detections when scanning is active.
delay
- delay in milliseconds between detection for decreasing CPU consumption.
Detection happens every delay
milliseconds, skipping frames during delay
Implementation
Future<void> setDelay(int delay) async {
return _barcodeScannerState?._setDelay(delay);
}