startRecorder method

Future<void> startRecorder(
  1. FlutterSoundRecorderCallback callback, {
  2. String? path,
  3. int? sampleRate,
  4. int? numChannels,
  5. int? bitRate,
  6. int bufferSize = 8192,
  7. bool enableVoiceProcessing = false,
  8. Codec? codec,
  9. bool? toStream,
  10. AudioSource? audioSource,
})

Implementation

Future<void> startRecorder(
  FlutterSoundRecorderCallback callback, {
  String? path,
  int? sampleRate,
  int? numChannels,
  int? bitRate,
  int bufferSize = 8192,
  bool enableVoiceProcessing = false,
  Codec? codec,
  bool? toStream,
  AudioSource? audioSource,
}) {
  throw UnimplementedError('startRecorder() has not been implemented.');
}