AudioManager.IOnPreferredMixerAttributesChangedListener.OnPreferredMixerAttributesChanged 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.
Called on the listener to indicate that the preferred mixer attributes for the audio attributes over the given device has changed.
[Android.Runtime.Register("onPreferredMixerAttributesChanged", "(Landroid/media/AudioAttributes;Landroid/media/AudioDeviceInfo;Landroid/media/AudioMixerAttributes;)V", "GetOnPreferredMixerAttributesChanged_Landroid_media_AudioAttributes_Landroid_media_AudioDeviceInfo_Landroid_media_AudioMixerAttributes_Handler:Android.Media.AudioManager/IOnPreferredMixerAttributesChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnPreferredMixerAttributesChanged (Android.Media.AudioAttributes attributes, Android.Media.AudioDeviceInfo device, Android.Media.AudioMixerAttributes? mixerAttributes);
[<Android.Runtime.Register("onPreferredMixerAttributesChanged", "(Landroid/media/AudioAttributes;Landroid/media/AudioDeviceInfo;Landroid/media/AudioMixerAttributes;)V", "GetOnPreferredMixerAttributesChanged_Landroid_media_AudioAttributes_Landroid_media_AudioDeviceInfo_Landroid_media_AudioMixerAttributes_Handler:Android.Media.AudioManager/IOnPreferredMixerAttributesChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnPreferredMixerAttributesChanged : Android.Media.AudioAttributes * Android.Media.AudioDeviceInfo * Android.Media.AudioMixerAttributes -> unit
Parameters
- attributes
- AudioAttributes
the audio attributes for playback
- device
- AudioDeviceInfo
the targeted device
- mixerAttributes
- AudioMixerAttributes
the AudioMixerAttributes
that contains information for
preferred mixer attributes or null if preferred mixer attributes
is cleared
- Attributes
Remarks
Called on the listener to indicate that the preferred mixer attributes for the audio attributes over the given device has changed.
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.