UIUserNotificationType Enum

Definition

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.

Applies to