Hi guy! I'm Phuc Vr. In this tutorial, we will learn how to make a notification channel in an android studio.
Special function:
NotificationChannel: A representation of settings that apply to a collection of similarly themed notifications.
+EnableLights(boolean lights): Sets whether notifications posted to this channel should display notification lights, on devices that support that feature.
+enableVibration(boolean vibration): Sets whether notification posted to this channel should vibrate.
+setLightColor(int ARGB): Sets the notification light color for notifications posted to this channel, if lights are enabled on this channel and the device supports that feature.
+setLockscreenVisibility(int lockscreenVisibility): Sets whether notifications posted to this channel appear on the lockscreen or not, and if so, whether they appear in a redacted form.