NotificationChannel
NotificationChannel is a class in the Android operating system that enables developers to group and manage notification settings for their apps. It was introduced in Android 8.0 (API level 26) to provide users with finer control over notification behavior and to help minimize notification overload. Each channel encapsulates a set of properties such as importance level, sound, vibration pattern, lights, and visual representation.
The importance level dictates how prominently a notification will be displayed, ranging from NONE (silent) to
Behaviorwise, notifications posted through a specific channel inherit that channel’s configuration. If a channel is disabled,
On devices running versions prior to Android 8.0, NotificationChannel is ignored, and notifications fall back to