getRecordingStatus method

Future<int?> getRecordingStatus()

Get current state of video recorder Use to query the state for the first time after starting the service Once service starts, recording events can be called using recorderState getter

  • States are denoted by integer numbers
    • -1: Recorder service not initialized
    • 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

Future<int?> getRecordingStatus() {
  throw UnimplementedError(
      'getVideoRecordingStatus() has not been implemented.');
}