*Nature of notification channels*
A notification channel has the following settings we can set, which then control how notifications through that channel are delivered to the user:
- Importance: Urgent will make a sound and show on the screen. High makes a sound. Medium makes no sound. Low makes no sound and gives no indication that it’s been received. - Sound: Set any supported sound as the notification tone for the channel. - Lights: Whether the notification should trigger a hardware notification light. - Vibration: Whether the notification should vibrate your phone. Show on lock screen: Decide if a notification should appear on the lock screen. - Override do not disturb: Decide if a notification should bypass any do not disturb settings for sounds.
_*Importance levels*_ _Importance levels_
- IMPORTANCE_MAX unused - IMPORTANCE_HIGH shows everywhere, makes noise and peeks - IMPORTANCE_DEFAULT shows everywhere, makes noise, but does not visually intrude - IMPORTANCE_LOW shows everywhere, but is not intrusive,value is 0 - IMPORTANCE_MIN only shows in the shade, below the fold - IMPORTANCE_NONE a notification with no importance; does not show in the shade |
|