DarwinNotificationCategoryOption enum

Desribes the options of each notification category.

Corresponds to https://developer.apple.com/documentation/usernotifications/unnotificationcategoryoptions

Inheritance
Available extensions

Values

customDismissAction → const DarwinNotificationCategoryOption

Send dismiss actions to the UNUserNotificationCenter object’s delegate for handling.

Corresponds to UNNotificationCategoryOptions.customDismissAction.

allowInCarPlay → const DarwinNotificationCategoryOption

Allow CarPlay to display notifications of this type.

Corresponds to UNNotificationCategoryOptions.allowInCarPlay.

hiddenPreviewShowTitle → const DarwinNotificationCategoryOption

Show the notification's title, even if the user has disabled notification previews for the app.

Corresponds to UNNotificationCategoryOptions.hiddenPreviewShowTitle.

hiddenPreviewShowSubtitle → const DarwinNotificationCategoryOption

Show the notification's subtitle, even if the user has disabled notification previews for the app.

Corresponds to UNNotificationCategoryOptions.hiddenPreviewShowSubtitle.

allowAnnouncement → const DarwinNotificationCategoryOption

An option that grants Siri permission to read incoming messages out loud when the user has a compatible audio output device connected.

Corresponds to UNNotificationCategoryOptions.allowAnnouncement.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<DarwinNotificationCategoryOption>
A constant List of the values in this enum, in order of their declaration.