NotificationPriority class Null safety

Priority of notifications for Android 7.1 and lower.

Constructors

NotificationPriority(int rawValue)
Constructs an instance of NotificationPriority.
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
rawValue int
The raw value of NotificationPriority.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

DEFAULT → const NotificationPriority
Makes a sound.
HIGH → const NotificationPriority
Makes a sound and appears as a heads-up notification.
LOW → const NotificationPriority
No sound.
MAX → const NotificationPriority
Same as HIGH, but used when you want to notify notification immediately.
MIN → const NotificationPriority
No sound and does not appear in the status bar.