Share via


UNNotificationCategoryOptions Enum

Definition

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.Native]
[System.Flags]
public enum UNNotificationCategoryOptions
[<ObjCRuntime.Native>]
[<System.Flags>]
type UNNotificationCategoryOptions = 
Inheritance
UNNotificationCategoryOptions
Attributes

Fields

Name Value Description
None 0

No options are specified.

CustomDismissAction 1

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

AllowInCarPlay 2

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

HiddenPreviewsShowTitle 4

Display titles for notification previews, even when hidden.

HiddenPreviewsShowSubtitle 8

Display subtitles for notification previews, even when hidden.

AllowAnnouncement 16

Applies to