Share via


UNNotificationActionOptions Enum

Definition

Enumerates behavior options for notification actions.

This enumeration supports a bitwise combination of its member values.

[ObjCRuntime.Native]
[System.Flags]
public enum UNNotificationActionOptions
[<ObjCRuntime.Native>]
[<System.Flags>]
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.

Applies to