startRecording method

  1. @override
int startRecording(
  1. String filePath
)
override

Implementation

@override
int startRecording(String filePath) {
  final status = _consumeStatus();
  if (status == 0) {
    _recording = true;
    recordingPath = filePath;
  }
  return status;
}