Notification.Sound Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.