Modifier

Partager via


UNNotificationSetting Enum

Definition

Enumerates notification states.

[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 = 
Inheritance
UNNotificationSetting
Attributes

Fields

Name Value Description
NotSupported 0

The notification type is not supported by the target application.

Disabled 1

The notification is disabled.

Enabled 2

The notification is enabled.

Applies to