iOS Guides | Samples

MonoTouch.UIKit.UIUserNotificationActivationMode Enumeration

Whether a UIUserNotificationAction should run the app in foreground or background mode.

Syntax

[MonoTouch.ObjCRuntime.Deprecated(MonoTouch.ObjCRuntime.PlatformName.iOS, 10, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, "Use 'UNNotificationActionOptions' 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 UIUserNotificationActivationMode

Members

Member NameDescription
BackgroundThe activated app should be placed in the background.
ForegroundThe activated app should be placed in the foreground.

Requirements

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

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

See Also: Enum

Public Fields

BackgroundUIUserNotificationActivationMode. The activated app should be placed in the background.
ForegroundUIUserNotificationActivationMode. The activated app should be placed in the foreground.