UNNotificationContentExtensionResponseOption Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates preferred notification responses.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UNNotificationContentExtensionResponseOption
type UNNotificationContentExtensionResponseOption =
- Inheritance
-
UNNotificationContentExtensionResponseOption
- Attributes
Fields
Name | Value | Description |
---|---|---|
DoNotDismiss | 0 | Indicates that the notification interface will not be dismissed, and that the content extension will handle the action. |
Dismiss | 1 | Indicates that the notification interface will be dismissed, and that the content extension will handle the action. |
DismissAndForwardAction | 2 | Indicates that the notification interface will be dismissed, and that the notification will be forwarded to the app for it to respond. |