Düzenle

Aracılığıyla paylaş


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
UIUserNotificationActivationMode
Attributes

Fields

Name Value Description
Foreground 0

The activated app should be placed in the foreground.

Background 1

The activated app should be placed in the background.

Applies to