Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 18

android.service.notification

Classes

Condition The current condition of an AutomaticZenRule, provided by the ConditionProviderService that owns the rule. 
ConditionProviderService A service that provides conditions about boolean state. 
NotificationListenerService A service that receives calls from the system when new notifications are posted or removed, or their ranking changed. 
NotificationListenerService.Ranking Stores ranking related information on a currently active notification. 
NotificationListenerService.RankingMap Provides access to ranking information on currently active notifications. 
StatusBarNotification Class encapsulating a Notification.