Notification.AudioStreamType Property

Definition

Caution

deprecated

This field was deprecated in API level 21.

[Android.Runtime.Register("audioStreamType")]
[System.Obsolete("deprecated")]
public Android.Media.Stream AudioStreamType { get; set; }
[<Android.Runtime.Register("audioStreamType")>]
[<System.Obsolete("deprecated")>]
member this.AudioStreamType : Android.Media.Stream with get, set

Property Value

Attributes

Remarks

This field was deprecated in API level 21. Use audioAttributes instead.

The audio stream type to use when playing the sound. Should be one of the STREAM_ constants from AudioManager.

Android reference for android.app.Notification.audioStreamType.

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