AudioManager.SetEncodedSurroundMode(Int32) Method

Definition

Sets the surround sound mode.

[Android.Runtime.Register("setEncodedSurroundMode", "(I)Z", "GetSetEncodedSurroundMode_IHandler", ApiSince=31)]
[Android.Runtime.RequiresPermission("android.permission.WRITE_SETTINGS")]
public virtual bool SetEncodedSurroundMode (int mode);
[<Android.Runtime.Register("setEncodedSurroundMode", "(I)Z", "GetSetEncodedSurroundMode_IHandler", ApiSince=31)>]
[<Android.Runtime.RequiresPermission("android.permission.WRITE_SETTINGS")>]
abstract member SetEncodedSurroundMode : int -> bool
override this.SetEncodedSurroundMode : int -> bool

Parameters

mode
Int32

Returns

true if successful, otherwise false

Attributes

Remarks

Sets the surround sound mode.

Java documentation for android.media.AudioManager.setEncodedSurroundMode(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to