UNNotificationActionOptions 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 behavior options for notification actions.
This enumeration supports a bitwise combination of its member values.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UNNotificationActionOptions
type UNNotificationActionOptions =
- Inheritance
-
UNNotificationActionOptions
- Attributes
Fields
Name | Value | Description |
---|---|---|
None | 0 | No options are specified. |
AuthenticationRequired | 1 | Prompt the user to unlock the device to respond to the action. |
Destructive | 2 | Indicates that the notification action will perform an irrevocable change. (Special highlighting is applied to the action.) |
Foreground | 4 | The app will be launched in the foreground when responding to the action, prompting the user to unlock the device if it is locked. |