UIUserNotificationActionContext 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 amount of space available for a UIUserNotificationAction. Used with SetActions(UIUserNotificationAction[], UIUserNotificationActionContext)
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNNotificationCategory.Actions' 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)]
public enum UIUserNotificationActionContext
type UIUserNotificationActionContext =
- Inheritance
-
UIUserNotificationActionContext
- Attributes
Fields
Name | Value | Description |
---|---|---|
Default | 0 | The full UI is displayed for the notification's alert. Allows up to four UIUserNotificationActions. |
Minimal | 1 | Only minimal space is available for the notification's alert. Allows up to two UIUserNotificationActions. |