Skip to main content

AndroidCategory

Semantic category Android uses to classify and rank a notification.

Set category. Category describes content; it does not grant permissions or change channel importance.

Inherits: enum.Enum

Properties

  • ALARM - Alarm or timer requiring attention.
  • CALL - Incoming voice or video call, or a similar live communication request.
  • EMAIL - Incoming email or another asynchronous bulk message.
  • ERROR - Failure in a background operation or authentication flow.
  • EVENT - Calendar event.
  • LOCATION_SHARING - Temporary location-sharing activity.
  • MESSAGE - Incoming direct message, such as SMS or a chat message.
  • MISSED_CALL - Missed voice or video call.
  • NAVIGATION - Turn-by-turn navigation instruction.
  • PROGRESS - Progress of a long-running background operation.
  • PROMO - Promotion or advertisement.
  • RECOMMENDATION - Timely recommendation for a specific item, such as a news story.
  • REMINDER - Reminder scheduled by the user.
  • SERVICE - Indication of a running background service.
  • SOCIAL - Social-network or sharing update.
  • STATUS - Ongoing device or contextual status information.
  • STOPWATCH - Running stopwatch.
  • SYSTEM - System or device-status update.
  • TRANSPORT - Media playback or transport controls.
  • WORKOUT - Tracking of the user's workout.

Properties​

ALARMclass-attributeinstance-attribute​

Alarm or timer requiring attention.

CALLclass-attributeinstance-attribute​

Incoming voice or video call, or a similar live communication request.

EMAILclass-attributeinstance-attribute​

Incoming email or another asynchronous bulk message.

ERRORclass-attributeinstance-attribute​

Failure in a background operation or authentication flow.

EVENTclass-attributeinstance-attribute​

Calendar event.

LOCATION_SHARINGclass-attributeinstance-attribute​

Temporary location-sharing activity.

MESSAGEclass-attributeinstance-attribute​

Incoming direct message, such as SMS or a chat message.

MISSED_CALLclass-attributeinstance-attribute​

Missed voice or video call.

NAVIGATIONclass-attributeinstance-attribute​

Turn-by-turn navigation instruction.

PROGRESSclass-attributeinstance-attribute​

Progress of a long-running background operation.

PROMOclass-attributeinstance-attribute​

Promotion or advertisement.

RECOMMENDATIONclass-attributeinstance-attribute​

Timely recommendation for a specific item, such as a news story.

REMINDERclass-attributeinstance-attribute​

Reminder scheduled by the user.

SERVICEclass-attributeinstance-attribute​

Indication of a running background service.

SOCIALclass-attributeinstance-attribute​

Social-network or sharing update.

STATUSclass-attributeinstance-attribute​

Ongoing device or contextual status information.

STOPWATCHclass-attributeinstance-attribute​

Running stopwatch.

SYSTEMclass-attributeinstance-attribute​

System or device-status update. Reserved for system use.

TRANSPORTclass-attributeinstance-attribute​

Media playback or transport controls.

WORKOUTclass-attributeinstance-attribute​

Tracking of the user's workout.