# android.service.notification

# android.service.notification

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/service/notification/package-summary "View this page in Java")

## Classes

|----------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Condition](https://developer.android.com/reference/kotlin/android/service/notification/Condition)                                     | The current condition of an[android.app.AutomaticZenRule](https://developer.android.com/reference/kotlin/android/app/AutomaticZenRule.html#), provided by the app that owns the rule.                                                           |
| [ConditionProviderService](https://developer.android.com/reference/kotlin/android/service/notification/ConditionProviderService)       | A service that provides conditions about boolean state.                                                                                                                                                                                         |
| [NotificationListenerService](https://developer.android.com/reference/kotlin/android/service/notification/NotificationListenerService) | A service that receives calls from the system when new notifications are posted or removed, or their ranking changed.                                                                                                                           |
| [StatusBarNotification](https://developer.android.com/reference/kotlin/android/service/notification/StatusBarNotification)             | Class encapsulating a Notification.                                                                                                                                                                                                             |
| [ZenDeviceEffects](https://developer.android.com/reference/kotlin/android/service/notification/ZenDeviceEffects)                       | Represents the set of device effects (affecting display and device behavior in general) that are applied whenever an[android.app.AutomaticZenRule](https://developer.android.com/reference/kotlin/android/app/AutomaticZenRule.html#)is active. |
| [ZenPolicy](https://developer.android.com/reference/kotlin/android/service/notification/ZenPolicy)                                     | ZenPolicy determines whether to allow certain notifications and their corresponding sounds to play when a device is in Do Not Disturb mode.                                                                                                     |