See Also: AVAudioRecorderSettings Members
Instance of this class are created to configure the recording parameters for AVAudioRecorder instances. The configured instance is passed to the AVAudioRecorder.ToUrl method to create a new instance of the audio recorder.
C# Example
var settings = new AVAudioRecorderSettings () { AudioFormat = AudioFormatType.LinearPCM, AudioQuality = AVAudioQuality.High, SampleRate = 44100f, NumberChannels = 1 }; var recorder = AVAudioRecorder.ToUrl (url, settings, out error); if (recorder == null){ Console.WriteLine (error); return; } recorder.PrepareToRecord (); recorder.Record ();