UNNotificationContentExtensionResponseOption Enum

Definition

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

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.

DoNotDismiss 0

Indicates that the notification interface will not be dismissed, and that the content extension will handle the action.

Applies to