AudioManager.SetEncodedSurroundMode(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Value is one of the following: ENCODED_SURROUND_OUTPUT_UNKNOWN ENCODED_SURROUND_OUTPUT_AUTO ENCODED_SURROUND_OUTPUT_NEVER ENCODED_SURROUND_OUTPUT_ALWAYS ENCODED_SURROUND_OUTPUT_MANUAL
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.