Edytuj

Udostępnij za pośrednictwem


UNMutableNotificationContent.Sound Property

Definition

Gets or sets 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; [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setSound:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.Sound : UserNotifications.UNNotificationSound with get, set

Property Value

The sound that is played when the notification is triggered.

This value can be null.

Attributes

Applies to