NotificationCategory enum

One of the predefined notification categories that best describes this Notification. May be used by the system for ranking and filtering.

Alarm Alarm or timer. Call incoming call (voice or video) or similar synchronous communication request Email asynchronous bulk message (email). Error error in background operation or authentication status. Event calendar event. LocalSharing temporarily sharing location. Message incoming direct message (SMS, instant message, etc.). MissedCall alert about some missed incoming call (voice or video) or similar synchronous communication request Navigation map turn-by-turn navigation. Progress progress of a long-running background operation. Promo promotion or advertisement. Recommendation a specific, timely recommendation for a single thing. For example, a news app might want to recommend a news story it believes the user will want to read next. Reminder user-scheduled reminder. Service indication of running background service. Social social network or sharing update. Status ongoing information about device or contextual status. StopWatch running stopwatch. Transport media transport control for playback. Workout tracking a user's workout.

Inheritance

Constructors

NotificationCategory()
const

Values

Alarm → const NotificationCategory

Alarm or timer.

Call → const NotificationCategory

incoming call (voice or video) or similar synchronous communication request

Email → const NotificationCategory

asynchronous bulk message (email).

Error → const NotificationCategory

error in background operation or authentication status.

Event → const NotificationCategory

calendar event.

LocalSharing → const NotificationCategory

temporarily sharing location.

Message → const NotificationCategory

incoming direct message (SMS, instant message, etc.).

MissedCall → const NotificationCategory

alert about some missed incoming call (voice or video) or similar synchronous communication request

map turn-by-turn navigation.

Progress → const NotificationCategory

progress of a long-running background operation.

Promo → const NotificationCategory

promotion or advertisement.

Recommendation → const NotificationCategory

a specific, timely recommendation for a single thing. For example, a news app might want to recommend a news story it believes the user will want to read next.

Reminder → const NotificationCategory

user-scheduled reminder.

Service → const NotificationCategory

indication of running background service.

Social → const NotificationCategory

social network or sharing update.

Status → const NotificationCategory

ongoing information about device or contextual status.

StopWatch → const NotificationCategory

running stopwatch.

Transport → const NotificationCategory

media transport control for playback.

Workout → const NotificationCategory

tracking a user's workout.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<NotificationCategory>
A constant List of the values in this enum, in order of their declaration.