Android.Media.MediaRecorder.SetAudioChannels Method
Sets the number of audio channels for recording.

Syntax

[Android.Runtime.Register("setAudioChannels", "(I)V", "GetSetAudioChannels_IHandler")]
public virtual void SetAudioChannels (int numChannels)

Parameters

numChannels
the number of audio channels. Usually it is either 1 (mono) or 2 (stereo).

Remarks

Sets the number of audio channels for recording. Call this method before prepare(). Prepare() may perform additional checks on the parameter to make sure whether the specified number of audio channels are applicable.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8