Package-level declarations

Functions

Link copied to clipboard
fun Context.cancelNotification(vararg notificationId: Int = intArrayOf())

Cancel notification base on notification id

Link copied to clipboard
fun Context.createNotificationChannel(    @StringRes channelId: Int,     @StringRes channelName: Int,     @StringRes channelDescription: Int,     importance: Int = NotificationManager.IMPORTANCE_DEFAULT)

Create notification channel

Link copied to clipboard

Create notification group

Link copied to clipboard
fun Context.getNotificationBuilder(    @StringRes channelId: Int,     title: Int,     text: Int,     @DrawableRes icon: Int,     @StringRes groupId: Int,     importance: Int = NotificationCompat.PRIORITY_DEFAULT,     pendingIntent: PendingIntent? = null): NotificationCompat.Builder

Build a notification

Link copied to clipboard

Get notification channel

Link copied to clipboard

Get notification channel group

Link copied to clipboard
fun Context.notifyNotification(notificationId: Int, notification: Notification)

Update notification