captureState$ property

Stream<MediaCapture?> get captureState$

Use this stream to listen for capture state

  • while recording a video
  • while saving an image Accessible from all states

Implementation

Stream<MediaCapture?> get captureState$ => cameraContext.captureState$;