AudioManager.GetPreferredMixerAttributes 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.
Returns current preferred mixer attributes that is set via
#setPreferredMixerAttributes(AudioAttributes, AudioDeviceInfo, AudioMixerAttributes)
[Android.Runtime.Register("getPreferredMixerAttributes", "(Landroid/media/AudioAttributes;Landroid/media/AudioDeviceInfo;)Landroid/media/AudioMixerAttributes;", "GetGetPreferredMixerAttributes_Landroid_media_AudioAttributes_Landroid_media_AudioDeviceInfo_Handler", ApiSince=34)]
public virtual Android.Media.AudioMixerAttributes? GetPreferredMixerAttributes (Android.Media.AudioAttributes attributes, Android.Media.AudioDeviceInfo device);
[<Android.Runtime.Register("getPreferredMixerAttributes", "(Landroid/media/AudioAttributes;Landroid/media/AudioDeviceInfo;)Landroid/media/AudioMixerAttributes;", "GetGetPreferredMixerAttributes_Landroid_media_AudioAttributes_Landroid_media_AudioDeviceInfo_Handler", ApiSince=34)>]
abstract member GetPreferredMixerAttributes : Android.Media.AudioAttributes * Android.Media.AudioDeviceInfo -> Android.Media.AudioMixerAttributes
override this.GetPreferredMixerAttributes : Android.Media.AudioAttributes * Android.Media.AudioDeviceInfo -> Android.Media.AudioMixerAttributes
Parameters
- attributes
- AudioAttributes
the AudioAttributes
whose mixer attributes should be set.
- device
- AudioDeviceInfo
the expected routing device
Returns
the preferred mixer attributes, which will be null when no preferred mixer attributes have been set, or when they have been cleared.
- Attributes
Remarks
Returns current preferred mixer attributes that is set via #setPreferredMixerAttributes(AudioAttributes, AudioDeviceInfo, AudioMixerAttributes)
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.