UNNotificationContent.Sound UNNotificationContent.Sound Property

Definition

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

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

Property Value

The sound that is played when the notification is triggered.

This value can be null.

Applies to