Share via


Notification.Sound Property

Definition

The sound to play.

[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

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.

This member is deprecated. use NotificationChannel#getSound().

Java documentation 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