pauseCamera method

Future<void> pauseCamera()

Pause camera, also pause detection if scanning is active.

For releasing resources of the camera use method dispose.

Implementation

Future<void> pauseCamera() async {
  return _barcodeScannerState?._pauseCamera();
}