UNNotificationCategoryOptions 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.
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)]
[System.Flags]
public enum UNNotificationCategoryOptions
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.) |
4 | Display titles for notification previews, even when hidden. |
|
8 | Display subtitles for notification previews, even when hidden. |