共用方式為


UNNotificationSetting 列舉

定義

列舉通知狀態。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public enum UNNotificationSetting
type UNNotificationSetting = 
繼承
UNNotificationSetting
屬性

欄位

Disabled 1

通知已停用。

Enabled 2

通知已啟用。

NotSupported 0

目標應用程式不支援通知類型。

適用於