AndroidNotificationPriority enum

An enum representing a notification priority on Android.

Note; on devices which have channel support (Android 8.0 (API level 26) +), this value will be ignored. Instead, the channel "importance" level is used.

Inheritance
Available extensions

Values

minimumPriority → const AndroidNotificationPriority

The application small icon will not show up in the status bar, or alert the user. The notification will be in a collapsed state in the notification shade and placed at the bottom of the list.

lowPriority → const AndroidNotificationPriority

The application small icon will show in the device status bar, however the notification will not alert the user (no sound or vibration). The notification will show in it's expanded state when the notification shade is pulled down.

defaultPriority → const AndroidNotificationPriority

When a notification is received, the device smallIcon will appear in the notification shade. When the user pulls down the notification shade, the content of the notification will be shown in it's expanded state.

highPriority → const AndroidNotificationPriority

Notifications will appear on-top of applications, allowing direct interaction without pulling own the notification shade. This level is used for urgent notifications, such as incoming phone calls, messages etc, which require immediate attention.

maximumPriority → const AndroidNotificationPriority

The highest priority level a notification can be set to.

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<AndroidNotificationPriority>
A constant List of the values in this enum, in order of their declaration.