See Also: AudioAttributes Members
A class to encapsulate a collection of attributes describing information about an audio stream.
AudioAttributes supersede the notion of stream types (see for instance AudioManager.STREAM_MUSIC or AudioManager.STREAM_ALARM) for defining the behavior of audio playback. Attributes allow an application to specify more information than is conveyed in a stream type by allowing the application to define:
AudioAttributes are used for example in one of the Android.Media.AudioTrack constructors (see AudioTrack(AudioAttributes, Android.Media.AudioFormat, Android.Media.AudioFormat, Android.Media.AudioFormat, Android.Media.AudioFormat)), to configure a Android.Media.MediaPlayer (see MediaPlayer.SetAudioAttributes(AudioAttributes) or a Android.App.Notification (see Android.App.Notification.AudioAttributes). An AudioAttributes instance is built through its builder, NoType:android/media/AudioAttributes$Builder;Href=../../../reference/android/media/AudioAttributes.Builder.html.