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
- 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
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...