Android.Media.MediaRecorder.SetAudioEncodingBitRate Method
Sets the audio encoding bit rate for recording.

Syntax

[Android.Runtime.Register("setAudioEncodingBitRate", "(I)V", "GetSetAudioEncodingBitRate_IHandler")]
public virtual void SetAudioEncodingBitRate (int bitRate)

Parameters

bitRate
the audio encoding bit rate in bits per second.

Remarks

Sets the audio encoding bit rate for recording. Call this method before prepare(). Prepare() may perform additional checks on the parameter to make sure whether the specified bit rate is applicable, and sometimes the passed bitRate will be clipped internally to ensure the audio recording can proceed smoothly based on the capabilities of the platform.

[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