Compartir a través de


UNMutableNotificationContent.Sound Propiedad

Definición

Obtiene o establece el sonido que se reproduce cuando se desencadena la notificación.

[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

Valor de propiedad

Sonido que se reproduce cuando se desencadena la notificación.

Este valor puede ser null.

Atributos

Se aplica a