Freigeben über


MediaController.PlaybackInfo.AudioAttributes Property

Definition

Get the audio attributes for this session.

public Android.Media.AudioAttributes? AudioAttributes { [Android.Runtime.Register("getAudioAttributes", "()Landroid/media/AudioAttributes;", "")] get; }
[<get: Android.Runtime.Register("getAudioAttributes", "()Landroid/media/AudioAttributes;", "")>]
member this.AudioAttributes : Android.Media.AudioAttributes

Property Value

The attributes for this session.

Attributes

Remarks

Get the audio attributes for this session. The attributes will affect volume handling for the session. When the playback type is PlaybackInfo#PLAYBACK_TYPE_REMOTE these may be ignored by the remote volume handler.

Java documentation for android.media.session.MediaController.PlaybackInfo.getAudioAttributes().

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.

Applies to