net9.0-android34.0
namespace Android.Media
{
    [Register("android/media/AudioManager", DoNotGenerateAcw = true)]
    public class AudioManager : Object
    {
        [Register("setSurroundFormatEnabled", "(IZ)Z", "GetSetSurroundFormatEnabled_IZHandler", ApiSince = 31)]
        [RequiresPermission("android.permission.WRITE_SETTINGS")]
        [SupportedOSPlatform("android31.0")]
        public virtual bool SetSurroundFormatEnabled([IntDef(Fields = new[] { "", "", "", "", "", "", "", "", "" }, Flag = true, Type = ""), IntDef(Fields = new[] { "EncodingMpeghBlL3", "EncodingMpeghBlL4", "EncodingMpeghLcL3", "EncodingMpeghLcL4", "EncodingDtsUhdP1", "EncodingDra", "EncodingDtsHdMa", "EncodingDtsUhdP2" }, Flag = true, Type = "Android.Media.AudioFormat")] int audioFormat, bool enabled);
    }
}
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
Android 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0
Information specific to net9.0-android34.0
Assembly

Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • Android >= 31
  • Built-in API
  • Package-provided API

12/26/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙