UIUserNotificationActivationMode UIUserNotificationActivationMode Enum

Definition

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

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

Fields

Background Background 1

The activated app should be placed in the background.

Foreground Foreground 0

The activated app should be placed in the foreground.

Applies to