NotificationListener

NotificationListener

interface NotificationListener

A listener for start and cancellation of the notification.

Functions

NameSummary
onNotificationCancelledabstract fun onNotificationCancelled(notificationId: Int)
Called after the notification has been cancelled.
onNotificationStartedabstract fun onNotificationStarted(notificationId: Int, notification: Notification)
Called after the notification has been started.