Skip to main content

AndroidPriority

Notification priority on Android 7.1 and earlier.

Note

On Android 8.0 and later, channel AndroidImportance determines interruption behavior instead. Priority is a presentation hint; it does not override the user's notification preferences.

Inherits: enum.Enum

Properties

  • DEFAULT - Uses normal priority for ordinary notifications.
  • HIGH - Uses high priority for time-sensitive information.
  • LOW - Uses low priority for non-urgent background information.
  • MAX - Uses the highest priority for critical, immediate information.
  • MIN - Uses the lowest priority for information that does not need attention.

Properties​

DEFAULTclass-attributeinstance-attribute​

Uses normal priority for ordinary notifications.

HIGHclass-attributeinstance-attribute​

Uses high priority for time-sensitive information.

LOWclass-attributeinstance-attribute​

Uses low priority for non-urgent background information.

MAXclass-attributeinstance-attribute​

Uses the highest priority for critical, immediate information.

MINclass-attributeinstance-attribute​

Uses the lowest priority for information that does not need attention.