iOS Guides | Samples

MonoTouch.UIKit.UIUserNotificationActionContext Enumeration

Enumerates the amount of space available for a UIUserNotificationAction. Used with UIMutableUserNotificationCategory.SetActions

Syntax

[MonoTouch.ObjCRuntime.Deprecated(MonoTouch.ObjCRuntime.PlatformName.iOS, 10, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, "Use 'UNNotificationCategory.Actions' instead.")]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Native]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIUserNotificationActionContext

Members

Member NameDescription
DefaultThe full UI is displayed for the notification's alert. Allows up to four UIUserNotificationActions.
MinimalOnly minimal space is available for the notification's alert. Allows up to two UIUserNotificationActions.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIUserNotificationActionContext are listed below.

See Also: Enum

Public Fields

DefaultUIUserNotificationActionContext. The full UI is displayed for the notification's alert. Allows up to four UIUserNotificationActions.
MinimalUIUserNotificationActionContext. Only minimal space is available for the notification's alert. Allows up to two UIUserNotificationActions.