• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Common Events of the Notification Service
2This document lists the common system events provided by the notification service to applications. Applications can use [APIs](../js-apis-commonEventManager.md) to subscribe to common system events.
3
4## COMMON_EVENT_SLOT_CHANGE
5Indicates that the notification slot or notification switch settings have changed.
6
7- Value: "usual.event.SLOT_CHANGE"
8- Required subscriber permissions: ohos.permission.NOTIFICATION_CONTROLLER
9
10When the notification slot settings (including the switch) change or the notification feature is enabled or disabled, the notification service is triggered to publish this event.
11
12APIs related to this event: **setSlotByBundle**, **setNotificationEnableSlot**, and **setNotificationEnable**. They are system APIs and are typically called by notification setting applications. For details, see [API Reference](../js-apis-notificationManager.md).
13