recorderState property

Stream<int> recorderState
  • Gets a stream of video recorder states.
  • Useful to query the state when updating the UI based on the state.
  • States are denoted by integer numbers
    • 1: Recording has started
    • 2: Recording has stopped
    • 3: Recorder is being initialized and about to start recording
    • 4: An exception has occurred in the recording service

Implementation

Stream<int> get recorderState {
  throw UnimplementedError('recorderState has not been implemented.');
}