UIUserNotificationType UIUserNotificationType Enum

Definition

Enumerates the various types of user notification. Can be "OR"ed together as flags.

This enumeration has a FlagsAttribute attribute that allows 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
UIUserNotificationTypeUIUserNotificationType
Attributes

Fields

Alert Alert 4

Text alerts.

Badge Badge 1

Modifications to the application icon's badge.

None None 0

No notifications types are allowed.

Sound Sound 2

Plays a sound.

Applies to