UNNotificationContent.Sound Property

Definition

Gets the sound that is played when the notification is triggered.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UserNotifications.UNNotificationSound Sound { [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("sound", ObjCRuntime.ArgumentSemantic.Copy)] get; }
member this.Sound : UserNotifications.UNNotificationSound

Property Value

The sound that is played when the notification is triggered.

This value can be null.

Attributes

Applies to