Share via

UNNotificationCategoryOptions Enum


Contains flags that control whether a custom dismiss action is used, and whether the category is allowed in CarPlay application.

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)]
public enum UNNotificationCategoryOptions
type UNNotificationCategoryOptions = 


AllowInCarPlay 2

Whether to allow the notification in CarPlay. (If this value is not specified, the notification is disallowed in CarPlay.)

CustomDismissAction 1

Send the dismiss action to the user notification center for handling.

HiddenPreviewsShowSubtitle 8

Display subtitles for notification previews, even when hidden.

HiddenPreviewsShowTitle 4

Display titles for notification previews, even when hidden.

None 0

No options are specified.

Applies to