setNumberOfNotifications

abstract suspend fun setNumberOfNotifications(numberOfNotifications: Int)

Informs the service of how many active notifications there are in total. This includes both visible notifications and hidden notifications. (Note that notifications may be hidden through mechanisms other than suppression as well, such as a timeout or user interaction.)

numberOfNotifications may not be negative.