Notification.Sound Property

Definition

This field was deprecated in API level 26.

[Android.Runtime.Register("sound")]
public Android.Net.Uri? Sound { get; set; }
[<Android.Runtime.Register("sound")>]
member this.Sound : Android.Net.Uri with get, set

Property Value

Uri
Attributes

Remarks

This field was deprecated in API level 26. use NotificationChannel.getSound().

The sound to play. A notification that is noisy is more likely to be presented as a heads-up notification. To play the default notification sound, see defaults.

Android reference for android.app.Notification.sound.

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