UIUserNotificationType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates the various types of user notification. Can be "OR"ed together as flags.
This enumeration supports a bitwise combination of its member values.
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNAuthorizationOptions' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UIUserNotificationType
type UIUserNotificationType =
- Inheritance
-
UIUserNotificationType
- Attributes
Fields
Alert | 4 | Text alerts. |
Badge | 1 | Modifications to the application icon's badge. |
None | 0 | No notifications types are allowed. |
Sound | 2 | Plays a sound. |