UNNotificationContent.Sound 属性

定义

获取触发通知时播放的声音。

[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

属性值

触发通知时播放的声音。

此值可为 null

属性

适用于