NotificationChannelImportance enum
Constructors
- NotificationChannelImportance()
-
const
Values
- unspecified → const NotificationChannelImportance
-
Value signifying that the user has not expressed an importance. This value is for persisting preferences, and should never be associated with an actual notification.
- none → const NotificationChannelImportance
-
A notification with no importance: does not show in the shade.
- min → const NotificationChannelImportance
-
Min notification importance: only shows in the shade, below the fold. Do not use this to start a foreground service.
- low → const NotificationChannelImportance
-
Low notification importance: Shows in the shade, and potentially in the status bar, but is not audibly intrusive.
- defaultImportance → const NotificationChannelImportance
-
Default notification importance: shows everywhere, makes noise, but does not visually intrude.
- high → const NotificationChannelImportance
-
Higher notification importance: shows everywhere, makes noise and peeks. May use full screen intents. This is most likely the one you want.
Properties
Methods
-
nativeValue(
) → int - maps the current importance to the corresponding value for the native platform.
-
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<
NotificationChannelImportance> - A constant List of the values in this enum, in order of their declaration.