NotificationPriority enum

Defines the priority / visibility of the Android foreground-service notification.

This affects how the notification appears in the status bar and how strongly the OS ranks it among other notifications.

Inheritance
Available extensions

Values

defaultPriority → const NotificationPriority

Default notification priority (normal weighting).

const NotificationPriority(Config.NOTIFICATION_PRIORITY_DEFAULT)
high → const NotificationPriority

Notification strongly weighted to top of list; icon strongly weighted to the left.

const NotificationPriority(Config.NOTIFICATION_PRIORITY_HIGH)
low → const NotificationPriority

Notification weighted to bottom of list; icon weighted to the right.

const NotificationPriority(Config.NOTIFICATION_PRIORITY_LOW)
max → const NotificationPriority

Same as high.

const NotificationPriority(Config.NOTIFICATION_PRIORITY_MAX)
min → const NotificationPriority

Notification strongly weighted to bottom of list; icon hidden.

const NotificationPriority(Config.NOTIFICATION_PRIORITY_MIN)

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
final
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

Static Methods

from(dynamic v) NotificationPriority

Constants

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