Last active
December 5, 2021 19:31
-
-
Save SubhrajyotiSen/c43909f905e5332af2ba9655506c2481 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val channel = NotificationChannelCompat.Builder( | |
channelId, | |
NotificationManagerCompat.IMPORTANCE_DEFAULT | |
).setName(channelName) | |
.build() | |
// manager is of type NotificationManagerCompat | |
manager.createNotificationChannel(channel) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment