startScan method

Future<void> startScan(
  1. int delay
)

Start recognition objects of type RecognitionType

delay - delay in milliseconds between detection for decreasing CPU consumption. Detection happens every delay milliseconds, skipping frames during delay Can throw PlatformException if camera is not initialized.

Implementation

Future<void> startScan(int delay) async {
  return _barcodeScannerState?._startScan(delay);
}