AndroidNotificationCategory enum
The available categories for Android notifications.
Values
- alarm → const AndroidNotificationCategory
-
Alarm or timer.
Corresponds to
NotificationCompat.CATEGORY_ALARM
.const AndroidNotificationCategory('alarm')
- call → const AndroidNotificationCategory
-
Incoming call (voice or video) or similar synchronous communication request.
Corresponds to
NotificationCompat.CATEGORY_CALL
.const AndroidNotificationCategory('call')
- email → const AndroidNotificationCategory
-
Asynchronous bulk message (email).
Corresponds to
NotificationCompat.CATEGORY_EMAIL
.const AndroidNotificationCategory('email')
- error → const AndroidNotificationCategory
-
Error in background operation or authentication status.
Corresponds to
NotificationCompat.CATEGORY_ERROR
.const AndroidNotificationCategory('err')
- event → const AndroidNotificationCategory
-
Calendar event.
Corresponds to
NotificationCompat.CATEGORY_EVENT
.const AndroidNotificationCategory('event')
- locationSharing → const AndroidNotificationCategory
-
Temporarily sharing location.
Corresponds to
NotificationCompat.CATEGORY_LOCATION_SHARING
.const AndroidNotificationCategory('location_sharing')
- message → const AndroidNotificationCategory
-
Incoming direct message like SMS and instant message.
Corresponds to
NotificationCompat.CATEGORY_MESSAGE
.const AndroidNotificationCategory('msg')
- missedCall → const AndroidNotificationCategory
-
Missed call.
Corresponds to
NotificationCompat.CATEGORY_MISSED_CALL
.const AndroidNotificationCategory('missed_call')
-
Map turn-by-turn navigation.
Corresponds to
NotificationCompat.CATEGORY_NAVIGATION
.const AndroidNotificationCategory('navigation')
- progress → const AndroidNotificationCategory
-
Progress of a long-running background operation.
Corresponds to
NotificationCompat.CATEGORY_PROGRESS
.const AndroidNotificationCategory('progress')
- promo → const AndroidNotificationCategory
-
Promotion or advertisement.
Corresponds to
NotificationCompat.CATEGORY_PROMO
.const AndroidNotificationCategory('promo')
- recommendation → const AndroidNotificationCategory
-
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.
Corresponds to
NotificationCompat.CATEGORY_RECOMMENDATION
.const AndroidNotificationCategory('recommendation')
- reminder → const AndroidNotificationCategory
-
User-scheduled reminder.
Corresponds to
NotificationCompat.CATEGORY_REMINDER
.const AndroidNotificationCategory('reminder')
- service → const AndroidNotificationCategory
-
Indication of running background service.
Corresponds to
NotificationCompat.CATEGORY_SERVICE
.const AndroidNotificationCategory('service')
-
Social network or sharing update.
Corresponds to
NotificationCompat.CATEGORY_SOCIAL
.const AndroidNotificationCategory('social')
- status → const AndroidNotificationCategory
-
Ongoing information about device or contextual status.
Corresponds to
NotificationCompat.CATEGORY_STATUS
.const AndroidNotificationCategory('status')
- stopwatch → const AndroidNotificationCategory
-
Running stopwatch.
Corresponds to
NotificationCompat.CATEGORY_STOPWATCH
.const AndroidNotificationCategory('stopwatch')
- system → const AndroidNotificationCategory
-
System or device status update.
Reserved for system use.
Corresponds to
NotificationCompat.CATEGORY_SYSTEM
.const AndroidNotificationCategory('sys')
- transport → const AndroidNotificationCategory
-
Media transport control for playback.
Corresponds to
NotificationCompat.CATEGORY_TRANSPORT
.const AndroidNotificationCategory('transport')
- workout → const AndroidNotificationCategory
-
Tracking a user's workout.
Corresponds to
NotificationCompat.CATEGORY_WORKOUT
.const AndroidNotificationCategory('workout')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
The name of category.
final
- 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<
AndroidNotificationCategory> - A constant List of the values in this enum, in order of their declaration.