AudioTrack.AudioAttributes Property

Definition

Returns the AudioAttributes used in configuration.

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

Property Value

The AudioAttributes used to configure the AudioTrack.

Attributes

Remarks

Returns the AudioAttributes used in configuration. If a streamType is used instead of an AudioAttributes to configure the AudioTrack (the use of streamType for configuration is deprecated), then the AudioAttributes equivalent to the streamType is returned.

Java documentation for android.media.AudioTrack.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