cancelNotification

fun Context.cancelNotification(vararg notificationId: Int = intArrayOf())

Cancel notification base on notification id

Parameters

notificationId

id to cancel

Note:

  • if notificationId is empty or default, this method will cancel all notifications