Partager via


AudioTrack.StreamType Property

Definition

Returns the volume stream type of this AudioTrack.

public virtual Android.Media.Stream StreamType { [Android.Runtime.Register("getStreamType", "()I", "GetGetStreamTypeHandler")] get; }
[<get: Android.Runtime.Register("getStreamType", "()I", "GetGetStreamTypeHandler")>]
member this.StreamType : Android.Media.Stream

Property Value

Attributes

Remarks

Returns the volume stream type of this AudioTrack. Compare the result against AudioManager#STREAM_VOICE_CALL, AudioManager#STREAM_SYSTEM, AudioManager#STREAM_RING, AudioManager#STREAM_MUSIC, AudioManager#STREAM_ALARM, AudioManager#STREAM_NOTIFICATION, AudioManager#STREAM_DTMF or AudioManager#STREAM_ACCESSIBILITY.

Java documentation for android.media.AudioTrack.getStreamType().

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