1e41f4b71Sopenharmony_ci# System Common Events 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ciThis document provides a list of common events defined by the system. 4e41f4b71Sopenharmony_ciCommon event types are defined in [Support enumeration of the ohos.commonEventManager module](../js-apis-commonEventManager.md#support). 5e41f4b71Sopenharmony_ci 6e41f4b71Sopenharmony_ci## Ability Kit 7e41f4b71Sopenharmony_ci 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGE_RESTARTED 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ciIndicates that the user has restarted the application package and killed all its processes. 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ciWhen the specified user restarts the application and kills all its processes, the event notification service is triggered to publish this event. 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGE_RESTARTED" 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGE_DATA_CLEARED 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ciIndicates the common event that the user has cleared the application package data. 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ciWhen the specified user clears the application package data on the device, the event notification service is triggered to publish this event. 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGE_DATA_CLEARED" 32e41f4b71Sopenharmony_ci 33e41f4b71Sopenharmony_ci 34e41f4b71Sopenharmony_ci### COMMON_EVENT_QUICK_FIX_APPLY_RESULT 35e41f4b71Sopenharmony_ci 36e41f4b71Sopenharmony_ciIndicates the result of applying a quick fix to the application. 37e41f4b71Sopenharmony_ci 38e41f4b71Sopenharmony_ciWhen the specified user applies a quick fix to the application on the device, the event notification service is triggered to publish this event. 39e41f4b71Sopenharmony_ci 40e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 41e41f4b71Sopenharmony_ci 42e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 43e41f4b71Sopenharmony_ci 44e41f4b71Sopenharmony_ci**Value:** "usual.event.QUICK_FIX_APPLY_RESULT" 45e41f4b71Sopenharmony_ci 46e41f4b71Sopenharmony_ci### COMMON_EVENT_QUICK_FIX_REVOKE_RESULT<sup>10+</sup> 47e41f4b71Sopenharmony_ci 48e41f4b71Sopenharmony_ciIndicates the result of revoking a quick fix to the application. 49e41f4b71Sopenharmony_ci 50e41f4b71Sopenharmony_ciWhen a quick fix to the application is revoked on the device, the event notification service is triggered to publish this event. 51e41f4b71Sopenharmony_ci 52e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 53e41f4b71Sopenharmony_ci 54e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 55e41f4b71Sopenharmony_ci 56e41f4b71Sopenharmony_ci**Value:** "usual.event.QUICK_FIX_REVOKE_RESULT" 57e41f4b71Sopenharmony_ci 58e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGE_ADDED 59e41f4b71Sopenharmony_ci 60e41f4b71Sopenharmony_ciIndicates that a new application package has been installed on the device. 61e41f4b71Sopenharmony_ci 62e41f4b71Sopenharmony_ciWhen a new application is installed by a specified user on the device, the event notification service is triggered to publish this event. 63e41f4b71Sopenharmony_ci 64e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 65e41f4b71Sopenharmony_ci 66e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 67e41f4b71Sopenharmony_ci 68e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGE_ADDED" 69e41f4b71Sopenharmony_ci 70e41f4b71Sopenharmony_ci 71e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGE_REMOVED 72e41f4b71Sopenharmony_ci 73e41f4b71Sopenharmony_ciIndicates the common event that an installed application has been uninstalled from the device with the application data retained. 74e41f4b71Sopenharmony_ci 75e41f4b71Sopenharmony_ciWhen a specified application package is removed by a specified user on the device, the event notification service is triggered to publish this event. 76e41f4b71Sopenharmony_ci 77e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 78e41f4b71Sopenharmony_ci 79e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 80e41f4b71Sopenharmony_ci 81e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGE_REMOVED" 82e41f4b71Sopenharmony_ci 83e41f4b71Sopenharmony_ci 84e41f4b71Sopenharmony_ci### COMMON_EVENT_BUNDLE_REMOVED 85e41f4b71Sopenharmony_ci 86e41f4b71Sopenharmony_ciIndicates the common event that an installed bundle has been uninstalled from the device. 87e41f4b71Sopenharmony_ci 88e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 89e41f4b71Sopenharmony_ci 90e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 91e41f4b71Sopenharmony_ci 92e41f4b71Sopenharmony_ci**Value:** "usual.event.BUNDLE_REMOVED" 93e41f4b71Sopenharmony_ci 94e41f4b71Sopenharmony_ci 95e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGE_FULLY_REMOVED 96e41f4b71Sopenharmony_ci 97e41f4b71Sopenharmony_ciIndicates the common event that an installed application has been completely uninstalled from the device. 98e41f4b71Sopenharmony_ci 99e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 100e41f4b71Sopenharmony_ci 101e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 102e41f4b71Sopenharmony_ci 103e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGE_FULLY_REMOVED" 104e41f4b71Sopenharmony_ci 105e41f4b71Sopenharmony_ci 106e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGE_CHANGED 107e41f4b71Sopenharmony_ci 108e41f4b71Sopenharmony_ciIndicates that an application package has been changed (for example, an ability in the package has been enabled or disabled). 109e41f4b71Sopenharmony_ci 110e41f4b71Sopenharmony_ciWhen an application package installed on the device is updated or an ability in the package is enabled or disabled, the event notification service is triggered to publish this event. 111e41f4b71Sopenharmony_ci 112e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 113e41f4b71Sopenharmony_ci 114e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 115e41f4b71Sopenharmony_ci 116e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGE_CHANGED" 117e41f4b71Sopenharmony_ci 118e41f4b71Sopenharmony_ci 119e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGE_CACHE_CLEARED 120e41f4b71Sopenharmony_ci 121e41f4b71Sopenharmony_ciIndicates that the user cleared the application package cache. 122e41f4b71Sopenharmony_ci 123e41f4b71Sopenharmony_ciWhen the cache of an application package installed on the device is cleared, the event notification service is triggered to publish this event. 124e41f4b71Sopenharmony_ci 125e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 126e41f4b71Sopenharmony_ci 127e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 128e41f4b71Sopenharmony_ci 129e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGE_CACHE_CLEARED" 130e41f4b71Sopenharmony_ci 131e41f4b71Sopenharmony_ci 132e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGES_SUSPENDED 133e41f4b71Sopenharmony_ci 134e41f4b71Sopenharmony_ciIndicates the common event that application packages have been suspended. 135e41f4b71Sopenharmony_ci 136e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 137e41f4b71Sopenharmony_ci 138e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 139e41f4b71Sopenharmony_ci 140e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGES_SUSPENDED" 141e41f4b71Sopenharmony_ci 142e41f4b71Sopenharmony_ci### COMMON_EVENT_MY_PACKAGE_SUSPENDED 143e41f4b71Sopenharmony_ci 144e41f4b71Sopenharmony_ciSent to a package that has been suspended by the system. 145e41f4b71Sopenharmony_ci 146e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 147e41f4b71Sopenharmony_ci 148e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 149e41f4b71Sopenharmony_ci 150e41f4b71Sopenharmony_ci**Value:** "usual.event.MY_PACKAGE_SUSPENDED" 151e41f4b71Sopenharmony_ci 152e41f4b71Sopenharmony_ci 153e41f4b71Sopenharmony_ci### COMMON_EVENT_MY_PACKAGE_UNSUSPENDED 154e41f4b71Sopenharmony_ci 155e41f4b71Sopenharmony_ciSent to a package that has been unsuspended by the system. 156e41f4b71Sopenharmony_ci 157e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 158e41f4b71Sopenharmony_ci 159e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 160e41f4b71Sopenharmony_ci 161e41f4b71Sopenharmony_ci**Value:** "usual.event.MY_PACKAGE_UNSUSPENDED" 162e41f4b71Sopenharmony_ci 163e41f4b71Sopenharmony_ci### COMMON_EVENT_MANAGE_PACKAGE_STORAGE 164e41f4b71Sopenharmony_ci 165e41f4b71Sopenharmony_ciNotifies the low memory state and package management should be started. 166e41f4b71Sopenharmony_ci 167e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 168e41f4b71Sopenharmony_ci 169e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 170e41f4b71Sopenharmony_ci 171e41f4b71Sopenharmony_ci**Value:** "usual.event.MANAGE_PACKAGE_STORAGE" 172e41f4b71Sopenharmony_ci 173e41f4b71Sopenharmony_ci 174e41f4b71Sopenharmony_ci 175e41f4b71Sopenharmony_ci## Account Kit 176e41f4b71Sopenharmony_ci 177e41f4b71Sopenharmony_ci### COMMON_EVENT_MINORSMODE_ON<sup>12+</sup> 178e41f4b71Sopenharmony_ci 179e41f4b71Sopenharmony_ciIndicates that the minor mode is enabled. 180e41f4b71Sopenharmony_ci 181e41f4b71Sopenharmony_ciWhen the minor mode is enabled on the device, the event notification service is triggered to publish this event. 182e41f4b71Sopenharmony_ci 183e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 184e41f4b71Sopenharmony_ci 185e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 186e41f4b71Sopenharmony_ci 187e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 188e41f4b71Sopenharmony_ci 189e41f4b71Sopenharmony_ci**Value:** "usual.event.MINORSMODE_ON" 190e41f4b71Sopenharmony_ci 191e41f4b71Sopenharmony_ci### COMMON_EVENT_MINORSMODE_OFF<sup>12+</sup> 192e41f4b71Sopenharmony_ci 193e41f4b71Sopenharmony_ciIndicates that the minor mode is disabled. 194e41f4b71Sopenharmony_ci 195e41f4b71Sopenharmony_ciWhen the minor mode is disabled on the device, the event notification service is triggered to publish this event. 196e41f4b71Sopenharmony_ci 197e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 198e41f4b71Sopenharmony_ci 199e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 200e41f4b71Sopenharmony_ci 201e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 202e41f4b71Sopenharmony_ci 203e41f4b71Sopenharmony_ci**Value:** "usual.event.MINORSMODE_OFF" 204e41f4b71Sopenharmony_ci 205e41f4b71Sopenharmony_ci 206e41f4b71Sopenharmony_ci 207e41f4b71Sopenharmony_ci## ArkUI 208e41f4b71Sopenharmony_ci 209e41f4b71Sopenharmony_ci### COMMON_EVENT_SPLIT_SCREEN 210e41f4b71Sopenharmony_ci 211e41f4b71Sopenharmony_ciIndicates a screen splitting action. 212e41f4b71Sopenharmony_ci 213e41f4b71Sopenharmony_ciWhen any of the following actions is performed, the event notification service is triggered to publish this event: accessing the recent tasks screen, creating a split-screen bar, and destroying a split-screen bar. 214e41f4b71Sopenharmony_ci 215e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 216e41f4b71Sopenharmony_ci 217e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.RECEIVER_SPLIT_SCREEN 218e41f4b71Sopenharmony_ci 219e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 220e41f4b71Sopenharmony_ci 221e41f4b71Sopenharmony_ci**Value:** usual.event.SPLIT_SCREEN" 222e41f4b71Sopenharmony_ci 223e41f4b71Sopenharmony_ci 224e41f4b71Sopenharmony_ci 225e41f4b71Sopenharmony_ci## Notification Kit 226e41f4b71Sopenharmony_ci 227e41f4b71Sopenharmony_ci### COMMON_EVENT_SLOT_CHANGE 228e41f4b71Sopenharmony_ci 229e41f4b71Sopenharmony_ci Indicates that the notification slot or notification switch settings have changed. 230e41f4b71Sopenharmony_ci 231e41f4b71Sopenharmony_ci When 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. 232e41f4b71Sopenharmony_ci 233e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 234e41f4b71Sopenharmony_ci 235e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.NOTIFICATION_CONTROLLER 236e41f4b71Sopenharmony_ci 237e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 238e41f4b71Sopenharmony_ci 239e41f4b71Sopenharmony_ci**Value:** "usual.event.SLOT_CHANGE" 240e41f4b71Sopenharmony_ci 241e41f4b71Sopenharmony_ci 242e41f4b71Sopenharmony_ci 243e41f4b71Sopenharmony_ci 244e41f4b71Sopenharmony_ci## Background Tasks Kit 245e41f4b71Sopenharmony_ci 246e41f4b71Sopenharmony_ci 247e41f4b71Sopenharmony_ci### COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED 248e41f4b71Sopenharmony_ciIndicates that the system idle mode has changed. 249e41f4b71Sopenharmony_ci 250e41f4b71Sopenharmony_ciWhen the user does not use the device for the specified period of time and the screen is turned off, the system delays the CPU and network access by background applications, and the event notification service is triggered to publish this event. 251e41f4b71Sopenharmony_ci 252e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 253e41f4b71Sopenharmony_ci 254e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 255e41f4b71Sopenharmony_ci 256e41f4b71Sopenharmony_ci**Value:** "usual.event.DEVICE_IDLE_MODE_CHANGED" 257e41f4b71Sopenharmony_ci 258e41f4b71Sopenharmony_ci 259e41f4b71Sopenharmony_ci 260e41f4b71Sopenharmony_ci 261e41f4b71Sopenharmony_ci## Basic Services Kit 262e41f4b71Sopenharmony_ci 263e41f4b71Sopenharmony_ci### COMMON_EVENT_USB_STATE 264e41f4b71Sopenharmony_ci 265e41f4b71Sopenharmony_ciIndicates that the USB device state has changed. 266e41f4b71Sopenharmony_ci 267e41f4b71Sopenharmony_ciWhen a USB device is connected to or disconnected from the device, the event notification service is triggered to publish this event. 268e41f4b71Sopenharmony_ci 269e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 270e41f4b71Sopenharmony_ci 271e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 272e41f4b71Sopenharmony_ci 273e41f4b71Sopenharmony_ci**Value:** "usual.event.hardware.usb.action.USB_STATE" 274e41f4b71Sopenharmony_ci 275e41f4b71Sopenharmony_ci 276e41f4b71Sopenharmony_ci### COMMON_EVENT_USB_PORT_CHANGED 277e41f4b71Sopenharmony_ci 278e41f4b71Sopenharmony_ciIndicates that the USB port state of the device has changed. 279e41f4b71Sopenharmony_ci 280e41f4b71Sopenharmony_ciWhen the USB port status changes, the event notification service is triggered to publish this event. 281e41f4b71Sopenharmony_ci 282e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 283e41f4b71Sopenharmony_ci 284e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 285e41f4b71Sopenharmony_ci 286e41f4b71Sopenharmony_ci**Value:** "usual.event.hardware.usb.action.USB_PORT_CHANGED" 287e41f4b71Sopenharmony_ci 288e41f4b71Sopenharmony_ci 289e41f4b71Sopenharmony_ci### COMMON_EVENT_USB_DEVICE_ATTACHED 290e41f4b71Sopenharmony_ci 291e41f4b71Sopenharmony_ciIndicates that a USB device has been attached to the device functioning as a USB host. 292e41f4b71Sopenharmony_ci 293e41f4b71Sopenharmony_ciWhen a USB device is attached, the event notification service is triggered to publish this event. 294e41f4b71Sopenharmony_ci 295e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 296e41f4b71Sopenharmony_ci 297e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 298e41f4b71Sopenharmony_ci 299e41f4b71Sopenharmony_ci**Value:** "usual.event.hardware.usb.action.USB_DEVICE_ATTACHED" 300e41f4b71Sopenharmony_ci 301e41f4b71Sopenharmony_ci 302e41f4b71Sopenharmony_ci### COMMON_EVENT_USB_DEVICE_DETACHED 303e41f4b71Sopenharmony_ci 304e41f4b71Sopenharmony_ciIndicates that a USB device has been detached from the device functioning as a USB host. 305e41f4b71Sopenharmony_ci 306e41f4b71Sopenharmony_ciWhen a USB device is detached, the event notification service is triggered to publish this event. 307e41f4b71Sopenharmony_ci 308e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 309e41f4b71Sopenharmony_ci 310e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 311e41f4b71Sopenharmony_ci 312e41f4b71Sopenharmony_ci**Value:** "usual.event.hardware.usb.action.USB_DEVICE_DETACHED" 313e41f4b71Sopenharmony_ci 314e41f4b71Sopenharmony_ci 315e41f4b71Sopenharmony_ci### COMMON_EVENT_TIME_CHANGED 316e41f4b71Sopenharmony_ci 317e41f4b71Sopenharmony_ciIndicates the common event that the system time is set. 318e41f4b71Sopenharmony_ci 319e41f4b71Sopenharmony_ciWhen the system time is set, the event notification service is triggered to publish this event. 320e41f4b71Sopenharmony_ci 321e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 322e41f4b71Sopenharmony_ci 323e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 324e41f4b71Sopenharmony_ci 325e41f4b71Sopenharmony_ci**Value:** "usual.event.TIME_CHANGED" 326e41f4b71Sopenharmony_ci 327e41f4b71Sopenharmony_ci 328e41f4b71Sopenharmony_ci### COMMON_EVENT_TIME_TICK 329e41f4b71Sopenharmony_ci 330e41f4b71Sopenharmony_ciIndicates the common event that the system time has changed. 331e41f4b71Sopenharmony_ci 332e41f4b71Sopenharmony_ciWhen the system time in the unit of minute changes, the event notification service is triggered to publish this event. 333e41f4b71Sopenharmony_ci 334e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 335e41f4b71Sopenharmony_ci 336e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 337e41f4b71Sopenharmony_ci 338e41f4b71Sopenharmony_ci**Value:** "usual.event.TIME_TICK" 339e41f4b71Sopenharmony_ci 340e41f4b71Sopenharmony_ci 341e41f4b71Sopenharmony_ci### COMMON_EVENT_TIMEZONE_CHANGED 342e41f4b71Sopenharmony_ci 343e41f4b71Sopenharmony_ciIndicates the common event that the system time zone has changed. 344e41f4b71Sopenharmony_ci 345e41f4b71Sopenharmony_ciWhen the system time zone changes, the event notification service is triggered to publish this event. 346e41f4b71Sopenharmony_ci 347e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 348e41f4b71Sopenharmony_ci 349e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 350e41f4b71Sopenharmony_ci 351e41f4b71Sopenharmony_ci**Value:** "usual.event.TIMEZONE_CHANGED" 352e41f4b71Sopenharmony_ci 353e41f4b71Sopenharmony_ci### COMMON_EVENT_USER_INFO_UPDATED 354e41f4b71Sopenharmony_ci 355e41f4b71Sopenharmony_ciIndicates that the user information has been updated. 356e41f4b71Sopenharmony_ci 357e41f4b71Sopenharmony_ciWhen the distributed account information, system account profile picture, or system account name is changed, the event notification service is triggered to publish this event carrying the system account ID. 358e41f4b71Sopenharmony_ci 359e41f4b71Sopenharmony_ciAPIs related to this event: **setOsAccountName**, **setOsAccountProfilePhoto**, and **setOsAccountDistributedInfon**. The first two are system APIs, and the last is a public API. For details, see [@ohos.account.osAccount (System Account Management)](../js-apis-osAccount.md) and [@ohos.account.distributedAccount (Distributed Account Management)](../js-apis-distributed-account.md). 360e41f4b71Sopenharmony_ci 361e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 362e41f4b71Sopenharmony_ci 363e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 364e41f4b71Sopenharmony_ci 365e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 366e41f4b71Sopenharmony_ci 367e41f4b71Sopenharmony_ci**Value:** "usual.event.USER_INFO_UPDATED" 368e41f4b71Sopenharmony_ci 369e41f4b71Sopenharmony_ci 370e41f4b71Sopenharmony_ci### COMMON_EVENT_USER_UNLOCKED 371e41f4b71Sopenharmony_ci 372e41f4b71Sopenharmony_ciIndicates that the credential-encrypted storage has been unlocked for the current user after the device is restarted. 373e41f4b71Sopenharmony_ci 374e41f4b71Sopenharmony_ciWhen the device is unlocked with the lock screen password the first time after user switching, the event notification service is triggered to publish this event carrying the system account ID that identifies the user. 375e41f4b71Sopenharmony_ci 376e41f4b71Sopenharmony_ciAPIs related to this event: **auth**. This API is a system API. For details, see [@ohos.account.osAccount (OS Account Management)](../js-apis-osAccount.md). 377e41f4b71Sopenharmony_ci 378e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 379e41f4b71Sopenharmony_ci 380e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 381e41f4b71Sopenharmony_ci 382e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 383e41f4b71Sopenharmony_ci 384e41f4b71Sopenharmony_ci**Value:** "usual.event.USER_UNLOCKED" 385e41f4b71Sopenharmony_ci 386e41f4b71Sopenharmony_ci 387e41f4b71Sopenharmony_ci### COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGIN 388e41f4b71Sopenharmony_ci 389e41f4b71Sopenharmony_ciIndicates a successful login from a distributed account. 390e41f4b71Sopenharmony_ci 391e41f4b71Sopenharmony_ciWhen a distributed account is successfully logged in, the event notification service is triggered to publish this event carrying the system account ID. 392e41f4b71Sopenharmony_ci 393e41f4b71Sopenharmony_ciAPIs related to this event: **setOsAccountDistributedInfo**, **updateOsAccountDistributedInfo** (deprecated), and **setOsAccountDistributedInfoByLocalId**. The first two are public APIs, and the last one is a system API. 394e41f4b71Sopenharmony_ciFor details, see [@ohos.account.distributedAccount (Distributed Account Management)](../js-apis-distributed-account.md). 395e41f4b71Sopenharmony_ci 396e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 397e41f4b71Sopenharmony_ci 398e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 399e41f4b71Sopenharmony_ci 400e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 401e41f4b71Sopenharmony_ci 402e41f4b71Sopenharmony_ci**Value:** "usual.event.DISTRIBUTED_ACCOUNT_LOGIN" 403e41f4b71Sopenharmony_ci 404e41f4b71Sopenharmony_ci 405e41f4b71Sopenharmony_ci### COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOUT 406e41f4b71Sopenharmony_ci 407e41f4b71Sopenharmony_ciIndicates a successful logout from a distributed account. 408e41f4b71Sopenharmony_ci 409e41f4b71Sopenharmony_ciWhen a distributed account is successfully logged out, the event notification service is triggered to publish this event carrying the system account ID. 410e41f4b71Sopenharmony_ci 411e41f4b71Sopenharmony_ciAPIs related to this event: **setOsAccountDistributedInfo**, **updateOsAccountDistributedInfo** (deprecated), and **setOsAccountDistributedInfoByLocalId**. The first two are public APIs, and the last one is a system API. 412e41f4b71Sopenharmony_ciFor details, see [@ohos.account.distributedAccount (Distributed Account Management)](../js-apis-distributed-account.md). 413e41f4b71Sopenharmony_ci 414e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 415e41f4b71Sopenharmony_ci 416e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 417e41f4b71Sopenharmony_ci 418e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 419e41f4b71Sopenharmony_ci 420e41f4b71Sopenharmony_ci**Value:** "usual.event.DISTRIBUTED_ACCOUNT_LOGOUT" 421e41f4b71Sopenharmony_ci 422e41f4b71Sopenharmony_ci 423e41f4b71Sopenharmony_ci### COMMON_EVENT_DISTRIBUTED_ACCOUNT_TOKEN_INVALID 424e41f4b71Sopenharmony_ci 425e41f4b71Sopenharmony_ciIndicates that the token of a distributed account is invalid. 426e41f4b71Sopenharmony_ci 427e41f4b71Sopenharmony_ciWhen the token of a distributed account is invalid, the event notification service is triggered to publish this event carrying the system account ID. 428e41f4b71Sopenharmony_ci 429e41f4b71Sopenharmony_ciAPIs related to this event: **setOsAccountDistributedInfo**, **updateOsAccountDistributedInfo** (deprecated), and **setOsAccountDistributedInfoByLocalId**. The first two are public APIs, and the last one is a system API. 430e41f4b71Sopenharmony_ciFor details, see [@ohos.account.distributedAccount (Distributed Account Management)](../js-apis-distributed-account.md). 431e41f4b71Sopenharmony_ci 432e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 433e41f4b71Sopenharmony_ci 434e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 435e41f4b71Sopenharmony_ci 436e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 437e41f4b71Sopenharmony_ci 438e41f4b71Sopenharmony_ci**Value:** "usual.event.DISTRIBUTED_ACCOUNT_TOKEN_INVALID" 439e41f4b71Sopenharmony_ci 440e41f4b71Sopenharmony_ci### COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOFF 441e41f4b71Sopenharmony_ci 442e41f4b71Sopenharmony_ciIndicates that a distributed account is deregistered. 443e41f4b71Sopenharmony_ci 444e41f4b71Sopenharmony_ciWhen a distributed account is deregistered, the event notification service is triggered to publish this event carrying the system account ID. 445e41f4b71Sopenharmony_ci 446e41f4b71Sopenharmony_ciAPIs related to this event: **setOsAccountDistributedInfo**, **updateOsAccountDistributedInfo** (deprecated), and **setOsAccountDistributedInfoByLocalId**. The first two are public APIs, and the last one is a system API. 447e41f4b71Sopenharmony_ciFor details, see [@ohos.account.distributedAccount (Distributed Account Management)](../js-apis-distributed-account.md). 448e41f4b71Sopenharmony_ci 449e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 450e41f4b71Sopenharmony_ci 451e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 452e41f4b71Sopenharmony_ci 453e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 454e41f4b71Sopenharmony_ci 455e41f4b71Sopenharmony_ci**Value:** "usual.event.DISTRIBUTED_ACCOUNT_LOGOFF" 456e41f4b71Sopenharmony_ci 457e41f4b71Sopenharmony_ci### COMMON_EVENT_SCREEN_LOCKED 458e41f4b71Sopenharmony_ci 459e41f4b71Sopenharmony_ciIndicates that the screen has been locked. 460e41f4b71Sopenharmony_ciWhen the screen is locked, the event notification service is triggered to publish this event. 461e41f4b71Sopenharmony_ci 462e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 463e41f4b71Sopenharmony_ci 464e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 465e41f4b71Sopenharmony_ci 466e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 467e41f4b71Sopenharmony_ci 468e41f4b71Sopenharmony_ci**Value:** usual.event.SCREEN_LOCKED 469e41f4b71Sopenharmony_ci 470e41f4b71Sopenharmony_ci### COMMON_EVENT_SCREEN_UNLOCKED 471e41f4b71Sopenharmony_ci 472e41f4b71Sopenharmony_ciIndicates that the screen has been unlocked. 473e41f4b71Sopenharmony_ciWhen the screen is unlocked, the event notification service is triggered to publish this event. 474e41f4b71Sopenharmony_ci 475e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 476e41f4b71Sopenharmony_ci 477e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 478e41f4b71Sopenharmony_ci 479e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 480e41f4b71Sopenharmony_ci 481e41f4b71Sopenharmony_ci**Value:** usual.event.SCREEN_UNLOCKED 482e41f4b71Sopenharmony_ci 483e41f4b71Sopenharmony_ci 484e41f4b71Sopenharmony_ci### COMMON_EVENT_USER_PRESENT<sup>(deprecated)</sup> 485e41f4b71Sopenharmony_ciIndicates the action of a common event that the user unlocks the device. 486e41f4b71Sopenharmony_ci 487e41f4b71Sopenharmony_ci > Notes: 488e41f4b71Sopenharmony_ci > 489e41f4b71Sopenharmony_ci > This API is deprecated since API Version 10 and replaced by [COMMON_EVENT_SCREEN_UNLOCKED](#common_event_screen_unlocked). 490e41f4b71Sopenharmony_ci 491e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 492e41f4b71Sopenharmony_ci 493e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 494e41f4b71Sopenharmony_ci 495e41f4b71Sopenharmony_ci**Value:** usual.event.USER_PRESENT 496e41f4b71Sopenharmony_ci 497e41f4b71Sopenharmony_ci 498e41f4b71Sopenharmony_ci### COMMON_EVENT_BATTERY_CHANGED 499e41f4b71Sopenharmony_ci 500e41f4b71Sopenharmony_ciIndicates that the charging state, level, and other information about the battery have changed. 501e41f4b71Sopenharmony_ci 502e41f4b71Sopenharmony_ciWhen any of the following information changes, the event notification service is triggered to publish this event: battery level, battery voltage, battery temperature, battery health status, type of the charger connected to the device, maximum current of the charger, maximum voltage of the charger, battery charging status, number of charging times, total battery capacity, remaining battery capacity, battery model, current of the battery, and battery charging type. 503e41f4b71Sopenharmony_ci 504e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 505e41f4b71Sopenharmony_ci 506e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 507e41f4b71Sopenharmony_ci 508e41f4b71Sopenharmony_ci**Value:** "usual.event.BATTERY_CHANGED" 509e41f4b71Sopenharmony_ci 510e41f4b71Sopenharmony_ci 511e41f4b71Sopenharmony_ci### COMMON_EVENT_BATTERY_LOW 512e41f4b71Sopenharmony_ci 513e41f4b71Sopenharmony_ciIndicates that the battery level is low. 514e41f4b71Sopenharmony_ci 515e41f4b71Sopenharmony_ciWhen the battery level drops to lower than the low battery level set for the device, the event notification service is triggered to publish this event. <!--Del-->For details about how to set the low battery level percentage, see [Battery Level Customization](https://gitee.com/openharmony/docs/blob/master/en/device-dev/subsystems/subsys-power-battery-level-customization.md).<!--DelEnd--> 516e41f4b71Sopenharmony_ci 517e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 518e41f4b71Sopenharmony_ci 519e41f4b71Sopenharmony_ci**Required subscriber permissions**: none 520e41f4b71Sopenharmony_ci 521e41f4b71Sopenharmony_ci**Value:** "usual.event.BATTERY_LOW" 522e41f4b71Sopenharmony_ci 523e41f4b71Sopenharmony_ci 524e41f4b71Sopenharmony_ci### COMMON_EVENT_BATTERY_OKAY 525e41f4b71Sopenharmony_ci 526e41f4b71Sopenharmony_ciIndicates that the battery level is normal. 527e41f4b71Sopenharmony_ci 528e41f4b71Sopenharmony_ciWhen the battery level changes from the low level to normal level, the event notification service is triggered to publish this event. 529e41f4b71Sopenharmony_ci 530e41f4b71Sopenharmony_ci 531e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 532e41f4b71Sopenharmony_ci 533e41f4b71Sopenharmony_ci**Required subscriber permissions**: none 534e41f4b71Sopenharmony_ci 535e41f4b71Sopenharmony_ci**Value:** "usual.event.BATTERY_OKAY" 536e41f4b71Sopenharmony_ci 537e41f4b71Sopenharmony_ci 538e41f4b71Sopenharmony_ci### COMMON_EVENT_POWER_CONNECTED 539e41f4b71Sopenharmony_ci 540e41f4b71Sopenharmony_ciIndicates that the device is connected to an external power supply. 541e41f4b71Sopenharmony_ci 542e41f4b71Sopenharmony_ciWhen the device connects to an external charger, the event notification service is triggered to publish this event. 543e41f4b71Sopenharmony_ci 544e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 545e41f4b71Sopenharmony_ci 546e41f4b71Sopenharmony_ci**Required subscriber permissions**: none 547e41f4b71Sopenharmony_ci 548e41f4b71Sopenharmony_ci**Value:** "usual.event.POWER_CONNECTED" 549e41f4b71Sopenharmony_ci 550e41f4b71Sopenharmony_ci 551e41f4b71Sopenharmony_ci### COMMON_EVENT_POWER_DISCONNECTED 552e41f4b71Sopenharmony_ci 553e41f4b71Sopenharmony_ciIndicates that the device is disconnected from the external power supply. 554e41f4b71Sopenharmony_ci 555e41f4b71Sopenharmony_ciWhen the device is disconnected from the external power supply, the event notification service is triggered to publish this event. 556e41f4b71Sopenharmony_ci 557e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 558e41f4b71Sopenharmony_ci 559e41f4b71Sopenharmony_ci**Required subscriber permissions**: none 560e41f4b71Sopenharmony_ci 561e41f4b71Sopenharmony_ci**Value:** "usual.event.POWER_DISCONNECTED" 562e41f4b71Sopenharmony_ci 563e41f4b71Sopenharmony_ci 564e41f4b71Sopenharmony_ci### COMMON_EVENT_DISCHARGING 565e41f4b71Sopenharmony_ci 566e41f4b71Sopenharmony_ciIndicates the common event that the system stops charging the battery. 567e41f4b71Sopenharmony_ci 568e41f4b71Sopenharmony_ciWhen the system stops charging the battery, the event notification service is triggered to publish this event. 569e41f4b71Sopenharmony_ci 570e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 571e41f4b71Sopenharmony_ci 572e41f4b71Sopenharmony_ci**Required subscriber permissions**: none 573e41f4b71Sopenharmony_ci 574e41f4b71Sopenharmony_ci**Value:** "usual.event.DISCHARGING" 575e41f4b71Sopenharmony_ci 576e41f4b71Sopenharmony_ci 577e41f4b71Sopenharmony_ci### COMMON_EVENT_CHARGING 578e41f4b71Sopenharmony_ci 579e41f4b71Sopenharmony_ciIndicates the common event that the system starts charging the battery. 580e41f4b71Sopenharmony_ci 581e41f4b71Sopenharmony_ciWhen the system starts charging the battery, the event notification service is triggered to publish this event. 582e41f4b71Sopenharmony_ci 583e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 584e41f4b71Sopenharmony_ci 585e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 586e41f4b71Sopenharmony_ci 587e41f4b71Sopenharmony_ci**Value:** "usual.event.CHARGING" 588e41f4b71Sopenharmony_ci 589e41f4b71Sopenharmony_ci### COMMON_EVENT_CHARGE_IDLE_MODE_CHANGED<sup>10+</sup> 590e41f4b71Sopenharmony_ci 591e41f4b71Sopenharmony_ciIndicates the common event that the device enters the charging idle mode. 592e41f4b71Sopenharmony_ci 593e41f4b71Sopenharmony_ciWhen the device starts charging in idle mode, and the temperature rise is acceptable, the event notification service is triggered to publish this event. 594e41f4b71Sopenharmony_ci 595e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 596e41f4b71Sopenharmony_ci 597e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 598e41f4b71Sopenharmony_ci 599e41f4b71Sopenharmony_ci**Value:** "usual.event.CHARGE_IDLE_MODE_CHANGED" 600e41f4b71Sopenharmony_ci 601e41f4b71Sopenharmony_ci 602e41f4b71Sopenharmony_ci### COMMON_EVENT_SHUTDOWN 603e41f4b71Sopenharmony_ci 604e41f4b71Sopenharmony_ciIndicates the common event that the device is being shut down and the final shutdown will proceed. 605e41f4b71Sopenharmony_ci 606e41f4b71Sopenharmony_ciWhen the device is being shut down until it is powered off, the event notification service is triggered to publish this event. 607e41f4b71Sopenharmony_ci 608e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 609e41f4b71Sopenharmony_ci 610e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 611e41f4b71Sopenharmony_ci 612e41f4b71Sopenharmony_ci**Value:** "usual.event.SHUTDOWN" 613e41f4b71Sopenharmony_ci 614e41f4b71Sopenharmony_ci 615e41f4b71Sopenharmony_ci### COMMON_EVENT_SCREEN_OFF 616e41f4b71Sopenharmony_ci 617e41f4b71Sopenharmony_ciIndicates the common event that a device screen-off initiated by the power service is complete. 618e41f4b71Sopenharmony_ci 619e41f4b71Sopenharmony_ciWhen the device screen-off initiated by the power service is complete, the event notification service is triggered to release this event. 620e41f4b71Sopenharmony_ci 621e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 622e41f4b71Sopenharmony_ci 623e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 624e41f4b71Sopenharmony_ci 625e41f4b71Sopenharmony_ci**Value:** "usual.event.SCREEN_OFF" 626e41f4b71Sopenharmony_ci 627e41f4b71Sopenharmony_ci 628e41f4b71Sopenharmony_ci### COMMON_EVENT_SCREEN_ON 629e41f4b71Sopenharmony_ci 630e41f4b71Sopenharmony_ciIndicates the common event that a device screen-on initiated by the power service is complete. 631e41f4b71Sopenharmony_ci 632e41f4b71Sopenharmony_ciWhen the device screen-on initiated by the power service is complete, the event notification service is triggered to release this event. 633e41f4b71Sopenharmony_ci 634e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 635e41f4b71Sopenharmony_ci 636e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 637e41f4b71Sopenharmony_ci 638e41f4b71Sopenharmony_ci**Value:** "usual.event.SCREEN_ON" 639e41f4b71Sopenharmony_ci 640e41f4b71Sopenharmony_ci 641e41f4b71Sopenharmony_ci### COMMON_EVENT_POWER_SAVE_MODE_CHANGED 642e41f4b71Sopenharmony_ci 643e41f4b71Sopenharmony_ciIndicates that the system power saving mode has changed. 644e41f4b71Sopenharmony_ci 645e41f4b71Sopenharmony_ciWhen the system power saving mode changes, the event notification service is triggered to publish this event. 646e41f4b71Sopenharmony_ci 647e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 648e41f4b71Sopenharmony_ci 649e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 650e41f4b71Sopenharmony_ci 651e41f4b71Sopenharmony_ci**Value:** "usual.event.POWER_SAVE_MODE_CHANGED" 652e41f4b71Sopenharmony_ci 653e41f4b71Sopenharmony_ci 654e41f4b71Sopenharmony_ci### COMMON_EVENT_THERMAL_LEVEL_CHANGED 655e41f4b71Sopenharmony_ci 656e41f4b71Sopenharmony_ciIndicates that the device's thermal level has changed. 657e41f4b71Sopenharmony_ci 658e41f4b71Sopenharmony_ciWhen the device's thermal level changes, the event notification service is triggered to publish this event. <!--Del-->For details about how to configure the device thermal level, see [Thermal Level Customization](https://gitee.com/openharmony/docs/blob/master/en/device-dev/subsystems/subsys-thermal_level.md).<!--DelEnd--> 659e41f4b71Sopenharmony_ci 660e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 661e41f4b71Sopenharmony_ci 662e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 663e41f4b71Sopenharmony_ci 664e41f4b71Sopenharmony_ci**Value:** "usual.event.THERMAL_LEVEL_CHANGED" 665e41f4b71Sopenharmony_ci 666e41f4b71Sopenharmony_ci 667e41f4b71Sopenharmony_ci### COMMON_EVENT_ENTER_FORCE_SLEEP<sup>12+</sup> 668e41f4b71Sopenharmony_ci 669e41f4b71Sopenharmony_ciIndicates that the device is about to enter the forced sleep mode. 670e41f4b71Sopenharmony_ci 671e41f4b71Sopenharmony_ciWhen the device is about to enter the forced sleep mode, the event notification service is triggered to publish this event. This event should be processed within one second. 672e41f4b71Sopenharmony_ci 673e41f4b71Sopenharmony_ci 674e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 675e41f4b71Sopenharmony_ci 676e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 677e41f4b71Sopenharmony_ci 678e41f4b71Sopenharmony_ci**Value:** "usual.event.ENTER_FORCE_SLEEP" 679e41f4b71Sopenharmony_ci 680e41f4b71Sopenharmony_ci### COMMON_EVENT_EXIT_FORCE_SLEEP<sup>12+</sup> 681e41f4b71Sopenharmony_ci 682e41f4b71Sopenharmony_ciIndicates that the device exits the forced sleep mode. 683e41f4b71Sopenharmony_ci 684e41f4b71Sopenharmony_ciWhen the device exits the forced sleep mode, the event notification service is triggered to publish this event. 685e41f4b71Sopenharmony_ci 686e41f4b71Sopenharmony_ci 687e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 688e41f4b71Sopenharmony_ci 689e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 690e41f4b71Sopenharmony_ci 691e41f4b71Sopenharmony_ci**Value:** "usual.event.EXIT_FORCE_SLEEP" 692e41f4b71Sopenharmony_ci 693e41f4b71Sopenharmony_ci 694e41f4b71Sopenharmony_ci 695e41f4b71Sopenharmony_ci 696e41f4b71Sopenharmony_ci## Connectivity Kit 697e41f4b71Sopenharmony_ci 698e41f4b71Sopenharmony_ci 699e41f4b71Sopenharmony_ci### COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED 700e41f4b71Sopenharmony_ci 701e41f4b71Sopenharmony_ciIndicates that the state of the device NFC adapter has changed. 702e41f4b71Sopenharmony_ci 703e41f4b71Sopenharmony_ciWhen the state of the device NFC adapter changes, the event notification service is triggered to publish this event. 704e41f4b71Sopenharmony_ci 705e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 706e41f4b71Sopenharmony_ci 707e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 708e41f4b71Sopenharmony_ci 709e41f4b71Sopenharmony_ci**Value:** "usual.event.nfc.action.ADAPTER_STATE_CHANGED" 710e41f4b71Sopenharmony_ci 711e41f4b71Sopenharmony_ci 712e41f4b71Sopenharmony_ci### COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED 713e41f4b71Sopenharmony_ci 714e41f4b71Sopenharmony_ciIndicates that the NFC RF field is on. 715e41f4b71Sopenharmony_ci 716e41f4b71Sopenharmony_ciWhen the NFC RF field becomes available, the event notification service is triggered to publish this event. 717e41f4b71Sopenharmony_ci 718e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 719e41f4b71Sopenharmony_ci 720e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 721e41f4b71Sopenharmony_ci 722e41f4b71Sopenharmony_ci**Value:** "usual.event.nfc.action.RF_FIELD_ON_DETECTED" 723e41f4b71Sopenharmony_ci 724e41f4b71Sopenharmony_ci 725e41f4b71Sopenharmony_ci### COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED 726e41f4b71Sopenharmony_ci 727e41f4b71Sopenharmony_ciIndicates that the NFC RF field is off. 728e41f4b71Sopenharmony_ci 729e41f4b71Sopenharmony_ciWhen the NFC RF field becomes unavailable, the event notification service is triggered to publish this event. 730e41f4b71Sopenharmony_ci 731e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 732e41f4b71Sopenharmony_ci 733e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 734e41f4b71Sopenharmony_ci 735e41f4b71Sopenharmony_ci**Value:** "usual.event.nfc.action.RF_FIELD_OFF_DETECTED" 736e41f4b71Sopenharmony_ci 737e41f4b71Sopenharmony_ci 738e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_POWER_STATE 739e41f4b71Sopenharmony_ci 740e41f4b71Sopenharmony_ciIndicates that the Wi-Fi state changes. 741e41f4b71Sopenharmony_ci 742e41f4b71Sopenharmony_ciWhen the Wi-Fi state changes (such as enabled or disabled), the event notification service is triggered to release the system public event. 743e41f4b71Sopenharmony_ci 744e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 745e41f4b71Sopenharmony_ci 746e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 747e41f4b71Sopenharmony_ci 748e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.POWER_STATE" 749e41f4b71Sopenharmony_ci 750e41f4b71Sopenharmony_ci 751e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_SCAN_FINISHED 752e41f4b71Sopenharmony_ci 753e41f4b71Sopenharmony_ciIndicates that a Wi-Fi access point is detected and proven to be available. 754e41f4b71Sopenharmony_ci 755e41f4b71Sopenharmony_ciWhen a Wi-Fi access point is detected and proven to be available, the event notification service is triggered to publish this event. 756e41f4b71Sopenharmony_ci 757e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 758e41f4b71Sopenharmony_ci 759e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.LOCATION 760e41f4b71Sopenharmony_ci 761e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.SCAN_FINISHED" 762e41f4b71Sopenharmony_ci 763e41f4b71Sopenharmony_ci 764e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_SCAN_STATE 765e41f4b71Sopenharmony_ci 766e41f4b71Sopenharmony_ciIndicates that the Wi-Fi access point state has changed. 767e41f4b71Sopenharmony_ci 768e41f4b71Sopenharmony_ciWhen the Wi-Fi access point state changes, the event notification service is triggered to publish this event. 769e41f4b71Sopenharmony_ci 770e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 771e41f4b71Sopenharmony_ci 772e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.LOCATION 773e41f4b71Sopenharmony_ci 774e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.SCAN_STATE" 775e41f4b71Sopenharmony_ci 776e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_RSSI_VALUE 777e41f4b71Sopenharmony_ci 778e41f4b71Sopenharmony_ci Indicates that the Wi-Fi signal strength (RSSI) has changed. 779e41f4b71Sopenharmony_ci 780e41f4b71Sopenharmony_ci When the Wi-Fi signal strength (RSSI) changes, the event notification service is triggered to publish this event. 781e41f4b71Sopenharmony_ci 782e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 783e41f4b71Sopenharmony_ci 784e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.GET_WIFI_INFO 785e41f4b71Sopenharmony_ci 786e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.RSSI_VALUE" 787e41f4b71Sopenharmony_ci 788e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_CONN_STATE 789e41f4b71Sopenharmony_ci 790e41f4b71Sopenharmony_ci Indicates that the Wi-Fi connection state has changed. 791e41f4b71Sopenharmony_ci 792e41f4b71Sopenharmony_ci When the Wi-Fi connection state changes, the event notification service is triggered to publish this event. 793e41f4b71Sopenharmony_ci 794e41f4b71Sopenharmony_ci 795e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 796e41f4b71Sopenharmony_ci 797e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 798e41f4b71Sopenharmony_ci 799e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.CONN_STATE" 800e41f4b71Sopenharmony_ci 801e41f4b71Sopenharmony_ci 802e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_HOTSPOT_STATE 803e41f4b71Sopenharmony_ci 804e41f4b71Sopenharmony_ciIndicates that the Wi-Fi hotspot state has changed. 805e41f4b71Sopenharmony_ci 806e41f4b71Sopenharmony_ciWhen the Wi-Fi hotspot state changes, the event notification service is triggered to publish this event. 807e41f4b71Sopenharmony_ci 808e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 809e41f4b71Sopenharmony_ci 810e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 811e41f4b71Sopenharmony_ci 812e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.HOTSPOT_STATE" 813e41f4b71Sopenharmony_ci 814e41f4b71Sopenharmony_ci 815e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_AP_STA_JOIN 816e41f4b71Sopenharmony_ci 817e41f4b71Sopenharmony_ciIndicates that a client has joined the Wi-Fi hotspot of the current device. 818e41f4b71Sopenharmony_ci 819e41f4b71Sopenharmony_ciWhen a client joins the Wi-Fi hotspot of the current device, the event notification service is triggered to publish this event. 820e41f4b71Sopenharmony_ci 821e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 822e41f4b71Sopenharmony_ci 823e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.GET_WIFI_INFO 824e41f4b71Sopenharmony_ci 825e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.WIFI_HS_STA_JOIN" 826e41f4b71Sopenharmony_ci 827e41f4b71Sopenharmony_ci 828e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_AP_STA_LEAVE 829e41f4b71Sopenharmony_ci 830e41f4b71Sopenharmony_ciIndicates that the client is disconnected from the Wi-Fi hotspot of the current device. 831e41f4b71Sopenharmony_ci 832e41f4b71Sopenharmony_ciWhen a client is disconnected from the Wi-Fi hotspot of the current device, the event notification service is triggered to publish this event. 833e41f4b71Sopenharmony_ci 834e41f4b71Sopenharmony_ci 835e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 836e41f4b71Sopenharmony_ci 837e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.GET_WIFI_INFO 838e41f4b71Sopenharmony_ci 839e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.WIFI_HS_STA_LEAVE" 840e41f4b71Sopenharmony_ci 841e41f4b71Sopenharmony_ci 842e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE 843e41f4b71Sopenharmony_ci 844e41f4b71Sopenharmony_ciIndicates that the state of MPLINK (an enhanced Wi-Fi feature) has changed. 845e41f4b71Sopenharmony_ci 846e41f4b71Sopenharmony_ciWhen the state of MPLINK (an enhanced Wi-Fi feature) changes, the event notification service is triggered to publish this event. 847e41f4b71Sopenharmony_ci 848e41f4b71Sopenharmony_ci 849e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 850e41f4b71Sopenharmony_ci 851e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.MPLINK_CHANGE_STATE 852e41f4b71Sopenharmony_ci 853e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.mplink.STATE_CHANGE" 854e41f4b71Sopenharmony_ci 855e41f4b71Sopenharmony_ci 856e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_P2P_CONN_STATE 857e41f4b71Sopenharmony_ci 858e41f4b71Sopenharmony_ciIndicates that the Wi-Fi P2P connection state has changed. 859e41f4b71Sopenharmony_ci 860e41f4b71Sopenharmony_ciWhen the Wi-Fi P2P connection state changes, the event notification service is triggered to publish this event. 861e41f4b71Sopenharmony_ci 862e41f4b71Sopenharmony_ci 863e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 864e41f4b71Sopenharmony_ci 865e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION 866e41f4b71Sopenharmony_ci 867e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.p2p.CONN_STATE_CHANGE" 868e41f4b71Sopenharmony_ci 869e41f4b71Sopenharmony_ci 870e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_P2P_STATE_CHANGED 871e41f4b71Sopenharmony_ci 872e41f4b71Sopenharmony_ciIndicates that the Wi-Fi P2P state has changed. 873e41f4b71Sopenharmony_ci 874e41f4b71Sopenharmony_ciWhen the Wi-Fi P2P state changes, the event notification service is triggered to publish this event. 875e41f4b71Sopenharmony_ci 876e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 877e41f4b71Sopenharmony_ci 878e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.GET_WIFI_INFO 879e41f4b71Sopenharmony_ci 880e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.p2p.STATE_CHANGE" 881e41f4b71Sopenharmony_ci 882e41f4b71Sopenharmony_ci 883e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED 884e41f4b71Sopenharmony_ci 885e41f4b71Sopenharmony_ciIndicates that the state of the Wi-Fi P2P peer device has changed. 886e41f4b71Sopenharmony_ci 887e41f4b71Sopenharmony_ciWhen the state of the Wi-Fi P2P peer device changes, the event notification service is triggered to publish this event. 888e41f4b71Sopenharmony_ci 889e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 890e41f4b71Sopenharmony_ci 891e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.GET_WIFI_INFO 892e41f4b71Sopenharmony_ci 893e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.p2p.DEVICES_CHANGE" 894e41f4b71Sopenharmony_ci 895e41f4b71Sopenharmony_ci 896e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED 897e41f4b71Sopenharmony_ci 898e41f4b71Sopenharmony_ciIndicates that the Wi-Fi P2P discovery state has changed. 899e41f4b71Sopenharmony_ci 900e41f4b71Sopenharmony_ciWhen the Wi-Fi P2P discovery state changes, the event notification service is triggered to publish this event. 901e41f4b71Sopenharmony_ci 902e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 903e41f4b71Sopenharmony_ci 904e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.GET_WIFI_INFO 905e41f4b71Sopenharmony_ci 906e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE" 907e41f4b71Sopenharmony_ci 908e41f4b71Sopenharmony_ci 909e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED 910e41f4b71Sopenharmony_ci 911e41f4b71Sopenharmony_ciIndicates that the state of the Wi-Fi P2P local device has changed. 912e41f4b71Sopenharmony_ci 913e41f4b71Sopenharmony_ciWhen the state of the Wi-Fi P2P local device changes, the event notification service is triggered to publish this event. 914e41f4b71Sopenharmony_ci 915e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 916e41f4b71Sopenharmony_ci 917e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.GET_WIFI_INFO 918e41f4b71Sopenharmony_ci 919e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE" 920e41f4b71Sopenharmony_ci 921e41f4b71Sopenharmony_ci 922e41f4b71Sopenharmony_ci### COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED 923e41f4b71Sopenharmony_ci 924e41f4b71Sopenharmony_ciIndicates that the Wi-Fi P2P group information has changed. 925e41f4b71Sopenharmony_ci 926e41f4b71Sopenharmony_ciWhen the Wi-Fi P2P group information changes, the event notification service is triggered to publish this event. 927e41f4b71Sopenharmony_ci 928e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 929e41f4b71Sopenharmony_ci 930e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.GET_WIFI_INFO 931e41f4b71Sopenharmony_ci 932e41f4b71Sopenharmony_ci**Value:** "usual.event.wifi.p2p.GROUP_STATE_CHANGED" 933e41f4b71Sopenharmony_ci 934e41f4b71Sopenharmony_ci 935e41f4b71Sopenharmony_ci 936e41f4b71Sopenharmony_ci## Localization Kit 937e41f4b71Sopenharmony_ci 938e41f4b71Sopenharmony_ci### COMMON_EVENT_LOCALE_CHANGED 939e41f4b71Sopenharmony_ci 940e41f4b71Sopenharmony_ciIndicates the common event that the system language is set. 941e41f4b71Sopenharmony_ciWhen the system language is set, the event notification service is triggered to publish this event. 942e41f4b71Sopenharmony_ci 943e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 944e41f4b71Sopenharmony_ci 945e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 946e41f4b71Sopenharmony_ci 947e41f4b71Sopenharmony_ci**Value:** usual.event.LOCALE_CHANGED 948e41f4b71Sopenharmony_ci 949e41f4b71Sopenharmony_ci 950e41f4b71Sopenharmony_ci 951e41f4b71Sopenharmony_ci 952e41f4b71Sopenharmony_ci## Network Kit 953e41f4b71Sopenharmony_ci 954e41f4b71Sopenharmony_ci### COMMON_EVENT_CONNECTIVITY_CHANGE<sup>10+</sup> 955e41f4b71Sopenharmony_ci 956e41f4b71Sopenharmony_ciIndicates that the network connection state has changed. 957e41f4b71Sopenharmony_ci 958e41f4b71Sopenharmony_ciWhen the (Ethernet, Wi-Fi, or cellular) network connection state changes (to disconnected, connecting, or connected), the event notification service is triggered to publish this event. 959e41f4b71Sopenharmony_ciThe following table lists the enumerated values and their corresponding connection status. 960e41f4b71Sopenharmony_ci 961e41f4b71Sopenharmony_ci| Value | Connection State | 962e41f4b71Sopenharmony_ci| ------ | ---------- | 963e41f4b71Sopenharmony_ci| 2 | Connecting. | 964e41f4b71Sopenharmony_ci| 3 | Connected. | 965e41f4b71Sopenharmony_ci| 4 | Disconnecting.| 966e41f4b71Sopenharmony_ci| 5 | Disconnected. | 967e41f4b71Sopenharmony_ci 968e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 969e41f4b71Sopenharmony_ci 970e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 971e41f4b71Sopenharmony_ci 972e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 973e41f4b71Sopenharmony_ci 974e41f4b71Sopenharmony_ci**Value:** usual.event.CONNECTIVITY_CHANGE 975e41f4b71Sopenharmony_ci 976e41f4b71Sopenharmony_ci 977e41f4b71Sopenharmony_ci### COMMON_EVENT_AIRPLANE_MODE_CHANGED<sup>10+</sup> 978e41f4b71Sopenharmony_ci 979e41f4b71Sopenharmony_ciIndicates that the airplane mode state has changed. 980e41f4b71Sopenharmony_ci 981e41f4b71Sopenharmony_ciWhen the airplane mode is enabled or disabled, the event notification service is triggered to publish this event. 982e41f4b71Sopenharmony_ci 983e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 984e41f4b71Sopenharmony_ci 985e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 986e41f4b71Sopenharmony_ci 987e41f4b71Sopenharmony_ci**Value:** usual.event.AIRPLANE_MODE 988e41f4b71Sopenharmony_ci 989e41f4b71Sopenharmony_ci 990e41f4b71Sopenharmony_ci### COMMON_EVENT_HTTP_PROXY_CHANGE<sup>10+</sup> 991e41f4b71Sopenharmony_ci 992e41f4b71Sopenharmony_ciIndicates that the HTTP proxy configuration has changed. 993e41f4b71Sopenharmony_ci 994e41f4b71Sopenharmony_ciWhen the configuration information of the system global proxy or HTTP proxy on various networks (such as Ethernet, Wi-Fi, and cellular networks) changes, the event notification service is triggered to release the system common event. 995e41f4b71Sopenharmony_ci 996e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 997e41f4b71Sopenharmony_ci 998e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 999e41f4b71Sopenharmony_ci 1000e41f4b71Sopenharmony_ci**Value:** usual.event.HTTP_PROXY_CHANGE 1001e41f4b71Sopenharmony_ci 1002e41f4b71Sopenharmony_ci 1003e41f4b71Sopenharmony_ci 1004e41f4b71Sopenharmony_ci## Telephony Kit 1005e41f4b71Sopenharmony_ci 1006e41f4b71Sopenharmony_ciThis document lists the common system events provided by the telephony subsystem to applications. 1007e41f4b71Sopenharmony_ci 1008e41f4b71Sopenharmony_ci### COMMON_EVENT_SIM_STATE_CHANGED<sup>10+</sup> 1009e41f4b71Sopenharmony_ci 1010e41f4b71Sopenharmony_ciIndicates that the SIM card status has changed. 1011e41f4b71Sopenharmony_ci 1012e41f4b71Sopenharmony_ciWhen there is a change in the SIM card status of the device, the event notification service is triggered to publish this event. 1013e41f4b71Sopenharmony_ci 1014e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1015e41f4b71Sopenharmony_ci 1016e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1017e41f4b71Sopenharmony_ci 1018e41f4b71Sopenharmony_ci**Value:** usual.event.SIM_STATE_CHANGED 1019e41f4b71Sopenharmony_ci 1020e41f4b71Sopenharmony_ci### COMMON_EVENT_CALL_STATE_CHANGED<sup>10+</sup> 1021e41f4b71Sopenharmony_ci 1022e41f4b71Sopenharmony_ciIndicates that the call status has been updated. 1023e41f4b71Sopenharmony_ci 1024e41f4b71Sopenharmony_ciWhen the call status of the device is updated, the event notification service is triggered to publish this event. 1025e41f4b71Sopenharmony_ci 1026e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1027e41f4b71Sopenharmony_ci 1028e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.GET_TELEPHONY_STATE (for system apps only) 1029e41f4b71Sopenharmony_ci 1030e41f4b71Sopenharmony_ci**Value:** usual.event.CALL_STATE_CHANGED 1031e41f4b71Sopenharmony_ci 1032e41f4b71Sopenharmony_ci### COMMON_EVENT_NETWORK_STATE_CHANGED<sup>10+</sup> 1033e41f4b71Sopenharmony_ci 1034e41f4b71Sopenharmony_ciIndicates that the network status has been updated. 1035e41f4b71Sopenharmony_ci 1036e41f4b71Sopenharmony_ciWhen the network status of the device is updated, the event notification service is triggered to publish this event. 1037e41f4b71Sopenharmony_ci 1038e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1039e41f4b71Sopenharmony_ci 1040e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1041e41f4b71Sopenharmony_ci 1042e41f4b71Sopenharmony_ci**Value:** usual.event.NETWORK_STATE_CHANGED 1043e41f4b71Sopenharmony_ci 1044e41f4b71Sopenharmony_ci 1045e41f4b71Sopenharmony_ci### COMMON_EVENT_SIGNAL_INFO_CHANGED<sup>10+</sup> 1046e41f4b71Sopenharmony_ci 1047e41f4b71Sopenharmony_ciIndicates that the signal information has been updated. 1048e41f4b71Sopenharmony_ci 1049e41f4b71Sopenharmony_ciWhen the signal information of the device is updated, the event notification service is triggered to publish this event. 1050e41f4b71Sopenharmony_ci 1051e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1052e41f4b71Sopenharmony_ci 1053e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1054e41f4b71Sopenharmony_ci 1055e41f4b71Sopenharmony_ci**Value:** usual.event.SIGNAL_INFO_CHANGED 1056e41f4b71Sopenharmony_ci 1057e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1058e41f4b71Sopenharmony_ci 1059e41f4b71Sopenharmony_ci 1060e41f4b71Sopenharmony_ci 1061e41f4b71Sopenharmony_ci## Store Kit 1062e41f4b71Sopenharmony_ciThis document lists the common system events provided by the Store Kit to applications. 1063e41f4b71Sopenharmony_ci 1064e41f4b71Sopenharmony_ci### COMMON_EVENT_PRIVACY_STATE_CHANGED<sup>11+</sup> 1065e41f4b71Sopenharmony_ciIndicates the privacy signature result. 1066e41f4b71Sopenharmony_ciWhen a user clicks **Agree** in a privacy dialog box, the event notification service is triggered to publish this event. 1067e41f4b71Sopenharmony_ci 1068e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1069e41f4b71Sopenharmony_ci 1070e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1071e41f4b71Sopenharmony_ci 1072e41f4b71Sopenharmony_ci**Value:** "usual.event.PRIVACY_STATE_CHANGED" 1073e41f4b71Sopenharmony_ci 1074e41f4b71Sopenharmony_ci 1075e41f4b71Sopenharmony_ci 1076e41f4b71Sopenharmony_ci## Reserved Common Event 1077e41f4b71Sopenharmony_ci 1078e41f4b71Sopenharmony_ciBelow are reserved common events that are not supported yet. 1079e41f4b71Sopenharmony_ci 1080e41f4b71Sopenharmony_ci 1081e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGE_FIRST_LAUNCH 1082e41f4b71Sopenharmony_ci 1083e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates an initial start of an application after installation. 1084e41f4b71Sopenharmony_ci 1085e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1086e41f4b71Sopenharmony_ci 1087e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1088e41f4b71Sopenharmony_ci 1089e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGE_FIRST_LAUNCH" 1090e41f4b71Sopenharmony_ci 1091e41f4b71Sopenharmony_ci 1092e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION 1093e41f4b71Sopenharmony_ci 1094e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates that a package is sent by the system verifier when the package needs verification. 1095e41f4b71Sopenharmony_ci 1096e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1097e41f4b71Sopenharmony_ci 1098e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1099e41f4b71Sopenharmony_ci 1100e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGE_NEEDS_VERIFICATION" 1101e41f4b71Sopenharmony_ci 1102e41f4b71Sopenharmony_ci 1103e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGE_VERIFIED 1104e41f4b71Sopenharmony_ci 1105e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates that a package is sent by the system verifier when the package is verified. 1106e41f4b71Sopenharmony_ci 1107e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1108e41f4b71Sopenharmony_ci 1109e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1110e41f4b71Sopenharmony_ci 1111e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGE_VERIFIED" 1112e41f4b71Sopenharmony_ci 1113e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGE_REPLACED 1114e41f4b71Sopenharmony_ci 1115e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the action of a common event that a new version of an installed application package has replaced the previous one on the device. Data contains the name of the package. 1116e41f4b71Sopenharmony_ci 1117e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1118e41f4b71Sopenharmony_ci 1119e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1120e41f4b71Sopenharmony_ci 1121e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGE_REPLACED" 1122e41f4b71Sopenharmony_ci 1123e41f4b71Sopenharmony_ci 1124e41f4b71Sopenharmony_ci### COMMON_EVENT_MY_PACKAGE_REPLACED 1125e41f4b71Sopenharmony_ci 1126e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the action of a common event that a new version of an installed application package has replaced the previous one on the device. This event does not contain additional data and is sent only to the replaced application. 1127e41f4b71Sopenharmony_ci 1128e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1129e41f4b71Sopenharmony_ci 1130e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1131e41f4b71Sopenharmony_ci 1132e41f4b71Sopenharmony_ci**Value:** "usual.event.MY_PACKAGE_REPLACED" 1133e41f4b71Sopenharmony_ci 1134e41f4b71Sopenharmony_ci 1135e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGES_UNSUSPENDED 1136e41f4b71Sopenharmony_ci 1137e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates that the package has been unsuspended. 1138e41f4b71Sopenharmony_ci 1139e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1140e41f4b71Sopenharmony_ci 1141e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1142e41f4b71Sopenharmony_ci 1143e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGES_UNSUSPENDED" 1144e41f4b71Sopenharmony_ci 1145e41f4b71Sopenharmony_ci 1146e41f4b71Sopenharmony_ci### COMMON_EVENT_CLOSE_SYSTEM_DIALOGS 1147e41f4b71Sopenharmony_ci 1148e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that a user closes a temporary system dialog box. 1149e41f4b71Sopenharmony_ci 1150e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1151e41f4b71Sopenharmony_ci 1152e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1153e41f4b71Sopenharmony_ci 1154e41f4b71Sopenharmony_ci**Value:** "usual.event.CLOSE_SYSTEM_DIALOGS" 1155e41f4b71Sopenharmony_ci 1156e41f4b71Sopenharmony_ci### COMMON_EVENT_UID_REMOVED 1157e41f4b71Sopenharmony_ci 1158e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that a user ID has been removed from the system. 1159e41f4b71Sopenharmony_ci 1160e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1161e41f4b71Sopenharmony_ci 1162e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1163e41f4b71Sopenharmony_ci 1164e41f4b71Sopenharmony_ci**Value:** "usual.event.UID_REMOVED" 1165e41f4b71Sopenharmony_ci 1166e41f4b71Sopenharmony_ci 1167e41f4b71Sopenharmony_ci### COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE 1168e41f4b71Sopenharmony_ci 1169e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that applications installed on the external storage become available for the system. 1170e41f4b71Sopenharmony_ci 1171e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1172e41f4b71Sopenharmony_ci 1173e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1174e41f4b71Sopenharmony_ci 1175e41f4b71Sopenharmony_ci**Value:** "usual.event.EXTERNAL_APPLICATIONS_AVAILABLE" 1176e41f4b71Sopenharmony_ci 1177e41f4b71Sopenharmony_ci 1178e41f4b71Sopenharmony_ci### COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE 1179e41f4b71Sopenharmony_ci 1180e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that applications installed on the external storage become unavailable for the system. 1181e41f4b71Sopenharmony_ci 1182e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1183e41f4b71Sopenharmony_ci 1184e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1185e41f4b71Sopenharmony_ci 1186e41f4b71Sopenharmony_ci**Value:** "usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE" 1187e41f4b71Sopenharmony_ci 1188e41f4b71Sopenharmony_ci 1189e41f4b71Sopenharmony_ci### COMMON_EVENT_CONFIGURATION_CHANGED 1190e41f4b71Sopenharmony_ci 1191e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the device state (for example, orientation and locale) has changed. 1192e41f4b71Sopenharmony_ci 1193e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1194e41f4b71Sopenharmony_ci 1195e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1196e41f4b71Sopenharmony_ci 1197e41f4b71Sopenharmony_ci**Value:** "usual.event.CONFIGURATION_CHANGED" 1198e41f4b71Sopenharmony_ci 1199e41f4b71Sopenharmony_ci### COMMON_EVENT_DRIVE_MODE 1200e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the system is in driving mode. 1201e41f4b71Sopenharmony_ci 1202e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1203e41f4b71Sopenharmony_ci 1204e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1205e41f4b71Sopenharmony_ci 1206e41f4b71Sopenharmony_ci**Value:** "common.event.DRIVE_MODE" 1207e41f4b71Sopenharmony_ci 1208e41f4b71Sopenharmony_ci### COMMON_EVENT_HOME_MODE 1209e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the system is in home mode. 1210e41f4b71Sopenharmony_ci 1211e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1212e41f4b71Sopenharmony_ci 1213e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1214e41f4b71Sopenharmony_ci 1215e41f4b71Sopenharmony_ci**Value:** "common.event.HOME_MODE" 1216e41f4b71Sopenharmony_ci 1217e41f4b71Sopenharmony_ci### COMMON_EVENT_OFFICE_MODE 1218e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the system is in office mode. 1219e41f4b71Sopenharmony_ci 1220e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1221e41f4b71Sopenharmony_ci 1222e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1223e41f4b71Sopenharmony_ci 1224e41f4b71Sopenharmony_ci**Value:** "common.event.OFFICE_MODE" 1225e41f4b71Sopenharmony_ci 1226e41f4b71Sopenharmony_ci### COMMON_EVENT_USER_STARTED 1227e41f4b71Sopenharmony_ci 1228e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the user has been started. 1229e41f4b71Sopenharmony_ci 1230e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1231e41f4b71Sopenharmony_ci 1232e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1233e41f4b71Sopenharmony_ci 1234e41f4b71Sopenharmony_ci**Value:** "usual.event.USER_STARTED" 1235e41f4b71Sopenharmony_ci 1236e41f4b71Sopenharmony_ci 1237e41f4b71Sopenharmony_ci### COMMON_EVENT_USER_BACKGROUND 1238e41f4b71Sopenharmony_ci 1239e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the user has been brought to the background. 1240e41f4b71Sopenharmony_ci 1241e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1242e41f4b71Sopenharmony_ci 1243e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1244e41f4b71Sopenharmony_ci 1245e41f4b71Sopenharmony_ci**Value:** "usual.event.USER_BACKGROUND" 1246e41f4b71Sopenharmony_ci 1247e41f4b71Sopenharmony_ci 1248e41f4b71Sopenharmony_ci### COMMON_EVENT_USER_STARTING 1249e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the user is going to be started. 1250e41f4b71Sopenharmony_ci 1251e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1252e41f4b71Sopenharmony_ci 1253e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS (for system applications only) 1254e41f4b71Sopenharmony_ci 1255e41f4b71Sopenharmony_ci**Value:** "usual.event.USER_STARTING" 1256e41f4b71Sopenharmony_ci 1257e41f4b71Sopenharmony_ci### COMMON_EVENT_USER_STOPPING 1258e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the user is going to be stopped. 1259e41f4b71Sopenharmony_ci 1260e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1261e41f4b71Sopenharmony_ci 1262e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS (for system applications only) 1263e41f4b71Sopenharmony_ci 1264e41f4b71Sopenharmony_ci**Value:** "usual.event.USER_STOPPING" 1265e41f4b71Sopenharmony_ci 1266e41f4b71Sopenharmony_ci 1267e41f4b71Sopenharmony_ci### COMMON_EVENT_USER_STOPPED 1268e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the user has been stopped. 1269e41f4b71Sopenharmony_ci 1270e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1271e41f4b71Sopenharmony_ci 1272e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1273e41f4b71Sopenharmony_ci 1274e41f4b71Sopenharmony_ci**Value:** "usual.event.USER_STOPPED" 1275e41f4b71Sopenharmony_ci 1276e41f4b71Sopenharmony_ci 1277e41f4b71Sopenharmony_ci### COMMON_EVENT_DISK_REMOVED 1278e41f4b71Sopenharmony_ci 1279e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that an external storage device was removed. 1280e41f4b71Sopenharmony_ci 1281e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1282e41f4b71Sopenharmony_ci 1283e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.STORAGE_MANAGER (for system applications only) 1284e41f4b71Sopenharmony_ci 1285e41f4b71Sopenharmony_ci**Value:** "usual.event.data.DISK_BAD_REMOVAL" 1286e41f4b71Sopenharmony_ci 1287e41f4b71Sopenharmony_ci 1288e41f4b71Sopenharmony_ci### COMMON_EVENT_DISK_UNMOUNTED 1289e41f4b71Sopenharmony_ci 1290e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that an external storage device was unmounted. 1291e41f4b71Sopenharmony_ci 1292e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1293e41f4b71Sopenharmony_ci 1294e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.STORAGE_MANAGER (for system applications only) 1295e41f4b71Sopenharmony_ci 1296e41f4b71Sopenharmony_ci**Value:** "usual.event.data.DISK_UNMOUNTABLE" 1297e41f4b71Sopenharmony_ci 1298e41f4b71Sopenharmony_ci 1299e41f4b71Sopenharmony_ci### COMMON_EVENT_DISK_MOUNTED 1300e41f4b71Sopenharmony_ci 1301e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that an external storage device was mounted. 1302e41f4b71Sopenharmony_ci 1303e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1304e41f4b71Sopenharmony_ci 1305e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.STORAGE_MANAGER (for system applications only) 1306e41f4b71Sopenharmony_ci 1307e41f4b71Sopenharmony_ci**Value:** "usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED" 1308e41f4b71Sopenharmony_ci 1309e41f4b71Sopenharmony_ci### COMMON_EVENT_DISK_BAD_REMOVAL 1310e41f4b71Sopenharmony_ci 1311e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that an external storage device was removed without being unmounted. 1312e41f4b71Sopenharmony_ci 1313e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1314e41f4b71Sopenharmony_ci 1315e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.STORAGE_MANAGER (for system applications only) 1316e41f4b71Sopenharmony_ci 1317e41f4b71Sopenharmony_ci**Value:** "usual.event.data.DISK_REMOVED" 1318e41f4b71Sopenharmony_ci 1319e41f4b71Sopenharmony_ci 1320e41f4b71Sopenharmony_ci### COMMON_EVENT_DISK_UNMOUNTABLE 1321e41f4b71Sopenharmony_ci 1322e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that an external storage device becomes unmountable. 1323e41f4b71Sopenharmony_ci 1324e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1325e41f4b71Sopenharmony_ci 1326e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.STORAGE_MANAGER (for system applications only) 1327e41f4b71Sopenharmony_ci 1328e41f4b71Sopenharmony_ci**Value:** "usual.event.data.DISK_UNMOUNTED" 1329e41f4b71Sopenharmony_ci 1330e41f4b71Sopenharmony_ci 1331e41f4b71Sopenharmony_ci### COMMON_EVENT_DISK_EJECT 1332e41f4b71Sopenharmony_ci 1333e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that an external storage device was ejected. 1334e41f4b71Sopenharmony_ci 1335e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1336e41f4b71Sopenharmony_ci 1337e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.STORAGE_MANAGER (for system applications only) 1338e41f4b71Sopenharmony_ci 1339e41f4b71Sopenharmony_ci**Value:** "usual.event.data.DISK_EJECT" 1340e41f4b71Sopenharmony_ci 1341e41f4b71Sopenharmony_ci 1342e41f4b71Sopenharmony_ci### COMMON_EVENT_DATE_CHANGED 1343e41f4b71Sopenharmony_ci 1344e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the system time has changed. 1345e41f4b71Sopenharmony_ci 1346e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1347e41f4b71Sopenharmony_ci 1348e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1349e41f4b71Sopenharmony_ci 1350e41f4b71Sopenharmony_ci**Value:** usual.event.DATE_CHANGED 1351e41f4b71Sopenharmony_ci 1352e41f4b71Sopenharmony_ci### COMMON_EVENT_USB_ACCESSORY_ATTACHED 1353e41f4b71Sopenharmony_ci 1354e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates that a USB accessory was attached. 1355e41f4b71Sopenharmony_ci 1356e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1357e41f4b71Sopenharmony_ci 1358e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1359e41f4b71Sopenharmony_ci 1360e41f4b71Sopenharmony_ci**Value:** "usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED" 1361e41f4b71Sopenharmony_ci 1362e41f4b71Sopenharmony_ci 1363e41f4b71Sopenharmony_ci### COMMON_EVENT_USB_ACCESSORY_DETACHED 1364e41f4b71Sopenharmony_ci 1365e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that a USB accessory was detached. 1366e41f4b71Sopenharmony_ci 1367e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1368e41f4b71Sopenharmony_ci 1369e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1370e41f4b71Sopenharmony_ci 1371e41f4b71Sopenharmony_ci**Value:** "usual.event.data.DISK_MOUNTED" 1372e41f4b71Sopenharmony_ci 1373e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE 1374e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event about the connection state of Bluetooth handsfree communication. 1375e41f4b71Sopenharmony_ci 1376e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1377e41f4b71Sopenharmony_ci 1378e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1379e41f4b71Sopenharmony_ci 1380e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE" 1381e41f4b71Sopenharmony_ci 1382e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE 1383e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the device connected to the Bluetooth handsfree is active. 1384e41f4b71Sopenharmony_ci 1385e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1386e41f4b71Sopenharmony_ci 1387e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1388e41f4b71Sopenharmony_ci 1389e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE" 1390e41f4b71Sopenharmony_ci 1391e41f4b71Sopenharmony_ci 1392e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE 1393e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the connection state of Bluetooth A2DP has changed. 1394e41f4b71Sopenharmony_ci 1395e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1396e41f4b71Sopenharmony_ci 1397e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1398e41f4b71Sopenharmony_ci 1399e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE" 1400e41f4b71Sopenharmony_ci 1401e41f4b71Sopenharmony_ci 1402e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE 1403e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event about the connection state of Bluetooth A2DP. 1404e41f4b71Sopenharmony_ci 1405e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1406e41f4b71Sopenharmony_ci 1407e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1408e41f4b71Sopenharmony_ci 1409e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE" 1410e41f4b71Sopenharmony_ci 1411e41f4b71Sopenharmony_ci 1412e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE 1413e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the device connected using Bluetooth A2DP is active. 1414e41f4b71Sopenharmony_ci 1415e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1416e41f4b71Sopenharmony_ci 1417e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1418e41f4b71Sopenharmony_ci 1419e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE" 1420e41f4b71Sopenharmony_ci 1421e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE 1422e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the AVRCP connection state of Bluetooth A2DP has changed. 1423e41f4b71Sopenharmony_ci 1424e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1425e41f4b71Sopenharmony_ci 1426e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1427e41f4b71Sopenharmony_ci 1428e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE" 1429e41f4b71Sopenharmony_ci 1430e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE 1431e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the playing state of Bluetooth A2DP has changed. 1432e41f4b71Sopenharmony_ci 1433e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1434e41f4b71Sopenharmony_ci 1435e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1436e41f4b71Sopenharmony_ci 1437e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE" 1438e41f4b71Sopenharmony_ci 1439e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE 1440e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the audio codec state of Bluetooth A2DP has changed. 1441e41f4b71Sopenharmony_ci 1442e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1443e41f4b71Sopenharmony_ci 1444e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1445e41f4b71Sopenharmony_ci 1446e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE" 1447e41f4b71Sopenharmony_ci 1448e41f4b71Sopenharmony_ci 1449e41f4b71Sopenharmony_ci### COMMON_EVENT_USER_FOREGROUND 1450e41f4b71Sopenharmony_ci 1451e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the user has been brought to the foreground. 1452e41f4b71Sopenharmony_ci 1453e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1454e41f4b71Sopenharmony_ci 1455e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1456e41f4b71Sopenharmony_ci 1457e41f4b71Sopenharmony_ci**Value:** "usual.event.USER_FOREGROUND" 1458e41f4b71Sopenharmony_ci 1459e41f4b71Sopenharmony_ci 1460e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED 1461e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that a remote Bluetooth device is discovered. 1462e41f4b71Sopenharmony_ci 1463e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1464e41f4b71Sopenharmony_ci 1465e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.LOCATION and ohos.permission.USE_BLUETOOTH 1466e41f4b71Sopenharmony_ci 1467e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.DISCOVERED" 1468e41f4b71Sopenharmony_ci 1469e41f4b71Sopenharmony_ci 1470e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE 1471e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the Bluetooth class of a remote Bluetooth device has changed. 1472e41f4b71Sopenharmony_ci 1473e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1474e41f4b71Sopenharmony_ci 1475e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1476e41f4b71Sopenharmony_ci 1477e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE" 1478e41f4b71Sopenharmony_ci 1479e41f4b71Sopenharmony_ci 1480e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED 1481e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that a low-ACL connection has been established with a remote Bluetooth device. 1482e41f4b71Sopenharmony_ci 1483e41f4b71Sopenharmony_ci 1484e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1485e41f4b71Sopenharmony_ci 1486e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1487e41f4b71Sopenharmony_ci 1488e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.ACL_CONNECTED" 1489e41f4b71Sopenharmony_ci 1490e41f4b71Sopenharmony_ci 1491e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED 1492e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that a low-ACL connection has been disconnected from a remote Bluetooth device. 1493e41f4b71Sopenharmony_ci 1494e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1495e41f4b71Sopenharmony_ci 1496e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1497e41f4b71Sopenharmony_ci 1498e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.ACL_DISCONNECTED" 1499e41f4b71Sopenharmony_ci 1500e41f4b71Sopenharmony_ci 1501e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE 1502e41f4b71Sopenharmony_ci 1503e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the friendly name of a remote Bluetooth device is retrieved for the first time or has changed since the last retrieval. 1504e41f4b71Sopenharmony_ci 1505e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1506e41f4b71Sopenharmony_ci 1507e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.ACCESS_BLUETOOTH 1508e41f4b71Sopenharmony_ci 1509e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.NAME_UPDATE" 1510e41f4b71Sopenharmony_ci 1511e41f4b71Sopenharmony_ci 1512e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE 1513e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the connection state of a remote Bluetooth device has changed. 1514e41f4b71Sopenharmony_ci 1515e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1516e41f4b71Sopenharmony_ci 1517e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1518e41f4b71Sopenharmony_ci 1519e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.PAIR_STATE" 1520e41f4b71Sopenharmony_ci 1521e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE 1522e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the battery level of a remote Bluetooth device is retrieved for the first time or has changed since the last retrieval. 1523e41f4b71Sopenharmony_ci 1524e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1525e41f4b71Sopenharmony_ci 1526e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1527e41f4b71Sopenharmony_ci 1528e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE" 1529e41f4b71Sopenharmony_ci 1530e41f4b71Sopenharmony_ci 1531e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT 1532e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event about the SDP state of a remote Bluetooth device. 1533e41f4b71Sopenharmony_ci 1534e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1535e41f4b71Sopenharmony_ci 1536e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1537e41f4b71Sopenharmony_ci 1538e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.SDP_RESULT" 1539e41f4b71Sopenharmony_ci 1540e41f4b71Sopenharmony_ci 1541e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE 1542e41f4b71Sopenharmony_ciIndicates the action of a common event about the UUID connection state of a remote Bluetooth device. 1543e41f4b71Sopenharmony_ci 1544e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1545e41f4b71Sopenharmony_ci 1546e41f4b71Sopenharmony_ci**Required subscriber permissions: **ohos.permission.ACCESS_BLUETOOTH 1547e41f4b71Sopenharmony_ci 1548e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.UUID_VALUE" 1549e41f4b71Sopenharmony_ci 1550e41f4b71Sopenharmony_ci 1551e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ 1552e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event about the pairing request from a remote Bluetooth device. 1553e41f4b71Sopenharmony_ci 1554e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1555e41f4b71Sopenharmony_ci 1556e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.DISCOVER_BLUETOOTH 1557e41f4b71Sopenharmony_ci 1558e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.PAIRING_REQ" 1559e41f4b71Sopenharmony_ci 1560e41f4b71Sopenharmony_ci 1561e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL 1562e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that Bluetooth pairing is canceled. 1563e41f4b71Sopenharmony_ci 1564e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1565e41f4b71Sopenharmony_ci 1566e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1567e41f4b71Sopenharmony_ci 1568e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.PAIRING_CANCEL" 1569e41f4b71Sopenharmony_ci 1570e41f4b71Sopenharmony_ci 1571e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ 1572e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event about the connection request from a remote Bluetooth device. 1573e41f4b71Sopenharmony_ci 1574e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1575e41f4b71Sopenharmony_ci 1576e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1577e41f4b71Sopenharmony_ci 1578e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.CONNECT_REQ" 1579e41f4b71Sopenharmony_ci 1580e41f4b71Sopenharmony_ci 1581e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY 1582e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event about the response to the connection request from a remote Bluetooth device. 1583e41f4b71Sopenharmony_ci 1584e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1585e41f4b71Sopenharmony_ci 1586e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1587e41f4b71Sopenharmony_ci 1588e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.CONNECT_REPLY" 1589e41f4b71Sopenharmony_ci 1590e41f4b71Sopenharmony_ci 1591e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL 1592e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the connection to a remote Bluetooth device has been canceled. 1593e41f4b71Sopenharmony_ci 1594e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1595e41f4b71Sopenharmony_ci 1596e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1597e41f4b71Sopenharmony_ci 1598e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.remotedevice.CONNECT_CANCEL" 1599e41f4b71Sopenharmony_ci 1600e41f4b71Sopenharmony_ci 1601e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE 1602e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the connection state of a Bluetooth handsfree has changed. 1603e41f4b71Sopenharmony_ci 1604e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1605e41f4b71Sopenharmony_ci 1606e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1607e41f4b71Sopenharmony_ci 1608e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE" 1609e41f4b71Sopenharmony_ci 1610e41f4b71Sopenharmony_ci 1611e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE 1612e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the audio state of a Bluetooth handsfree has changed. 1613e41f4b71Sopenharmony_ci 1614e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1615e41f4b71Sopenharmony_ci 1616e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1617e41f4b71Sopenharmony_ci 1618e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE" 1619e41f4b71Sopenharmony_ci 1620e41f4b71Sopenharmony_ci 1621e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT 1622e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the audio gateway state of a Bluetooth handsfree has changed. 1623e41f4b71Sopenharmony_ci 1624e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1625e41f4b71Sopenharmony_ci 1626e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1627e41f4b71Sopenharmony_ci 1628e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT" 1629e41f4b71Sopenharmony_ci 1630e41f4b71Sopenharmony_ci 1631e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE 1632e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the calling state of a Bluetooth handsfree has changed. 1633e41f4b71Sopenharmony_ci 1634e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1635e41f4b71Sopenharmony_ci 1636e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1637e41f4b71Sopenharmony_ci 1638e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE" 1639e41f4b71Sopenharmony_ci 1640e41f4b71Sopenharmony_ci 1641e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE 1642e41f4b71Sopenharmony_ciIndicates the common event that the state of a Bluetooth adapter has been changed, for example, Bluetooth has been enabled or disabled. 1643e41f4b71Sopenharmony_ci 1644e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1645e41f4b71Sopenharmony_ci 1646e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1647e41f4b71Sopenharmony_ci 1648e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.host.STATE_UPDATE" 1649e41f4b71Sopenharmony_ci 1650e41f4b71Sopenharmony_ci 1651e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE 1652e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event about the request for the user to allow Bluetooth device scanning. 1653e41f4b71Sopenharmony_ci 1654e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1655e41f4b71Sopenharmony_ci 1656e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1657e41f4b71Sopenharmony_ci 1658e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.host.REQ_DISCOVERABLE" 1659e41f4b71Sopenharmony_ci 1660e41f4b71Sopenharmony_ci 1661e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE 1662e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event about the request for the user to enable Bluetooth. 1663e41f4b71Sopenharmony_ci 1664e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1665e41f4b71Sopenharmony_ci 1666e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1667e41f4b71Sopenharmony_ci 1668e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.host.REQ_ENABLE" 1669e41f4b71Sopenharmony_ci 1670e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE 1671e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event about the request for the user to disable Bluetooth. 1672e41f4b71Sopenharmony_ci 1673e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1674e41f4b71Sopenharmony_ci 1675e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1676e41f4b71Sopenharmony_ci 1677e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.host.REQ_DISABLE" 1678e41f4b71Sopenharmony_ci 1679e41f4b71Sopenharmony_ci 1680e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE 1681e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the Bluetooth scanning mode of a device has changed. 1682e41f4b71Sopenharmony_ci 1683e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1684e41f4b71Sopenharmony_ci 1685e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1686e41f4b71Sopenharmony_ci 1687e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.host.SCAN_MODE_UPDATE" 1688e41f4b71Sopenharmony_ci 1689e41f4b71Sopenharmony_ci 1690e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED 1691e41f4b71Sopenharmony_ciIndicates the common event that the Bluetooth scanning has been started on the device. 1692e41f4b71Sopenharmony_ci 1693e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1694e41f4b71Sopenharmony_ci 1695e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.ACCESS_BLUETOOTH 1696e41f4b71Sopenharmony_ci 1697e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.host.DISCOVERY_STARTED" 1698e41f4b71Sopenharmony_ci 1699e41f4b71Sopenharmony_ci 1700e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED 1701e41f4b71Sopenharmony_ciIndicates the common event that the Bluetooth scanning is finished on the device. 1702e41f4b71Sopenharmony_ci 1703e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1704e41f4b71Sopenharmony_ci 1705e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.ACCESS_BLUETOOTH 1706e41f4b71Sopenharmony_ci 1707e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.host.DISCOVERY_FINISHED" 1708e41f4b71Sopenharmony_ci 1709e41f4b71Sopenharmony_ci 1710e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE 1711e41f4b71Sopenharmony_ciIndicates the common event that the Bluetooth adapter name of the device has changed. 1712e41f4b71Sopenharmony_ci 1713e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1714e41f4b71Sopenharmony_ci 1715e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.ACCESS_BLUETOOTH 1716e41f4b71Sopenharmony_ci 1717e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.host.NAME_UPDATE" 1718e41f4b71Sopenharmony_ci 1719e41f4b71Sopenharmony_ci 1720e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE 1721e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the connection state of Bluetooth A2DP Sink has changed. 1722e41f4b71Sopenharmony_ci 1723e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1724e41f4b71Sopenharmony_ci 1725e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1726e41f4b71Sopenharmony_ci 1727e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE" 1728e41f4b71Sopenharmony_ci 1729e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE 1730e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the playing state of Bluetooth A2DP Sink has changed. 1731e41f4b71Sopenharmony_ci 1732e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1733e41f4b71Sopenharmony_ci 1734e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1735e41f4b71Sopenharmony_ci 1736e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE" 1737e41f4b71Sopenharmony_ci 1738e41f4b71Sopenharmony_ci 1739e41f4b71Sopenharmony_ci### COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE 1740e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the audio state of Bluetooth A2DP Sink has changed. 1741e41f4b71Sopenharmony_ci 1742e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1743e41f4b71Sopenharmony_ci 1744e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.USE_BLUETOOTH 1745e41f4b71Sopenharmony_ci 1746e41f4b71Sopenharmony_ci**Value:** "usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE" 1747e41f4b71Sopenharmony_ci 1748e41f4b71Sopenharmony_ci 1749e41f4b71Sopenharmony_ci### COMMON_EVENT_ABILITY_ADDED 1750e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that an ability has been added. 1751e41f4b71Sopenharmony_ci 1752e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1753e41f4b71Sopenharmony_ci 1754e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.LISTEN_BUNDLE_CHANGE 1755e41f4b71Sopenharmony_ci 1756e41f4b71Sopenharmony_ci**Value:** "usual.event.ABILITY_ADDED" 1757e41f4b71Sopenharmony_ci 1758e41f4b71Sopenharmony_ci 1759e41f4b71Sopenharmony_ci### COMMON_EVENT_ABILITY_REMOVED 1760e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that an ability has been removed. 1761e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1762e41f4b71Sopenharmony_ci 1763e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.LISTEN_BUNDLE_CHANGE 1764e41f4b71Sopenharmony_ci 1765e41f4b71Sopenharmony_ci**Value:** "usual.event.ABILITY_REMOVED" 1766e41f4b71Sopenharmony_ci 1767e41f4b71Sopenharmony_ci### COMMON_EVENT_ABILITY_UPDATED 1768e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that an ability has been updated. 1769e41f4b71Sopenharmony_ci 1770e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1771e41f4b71Sopenharmony_ci 1772e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.LISTEN_BUNDLE_CHANGE 1773e41f4b71Sopenharmony_ci 1774e41f4b71Sopenharmony_ci**Value:** "usual.event.ABILITY_UPDATED" 1775e41f4b71Sopenharmony_ci 1776e41f4b71Sopenharmony_ci 1777e41f4b71Sopenharmony_ci### COMMON_EVENT_LOCATION_MODE_STATE_CHANGED 1778e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the location mode of the system has changed. 1779e41f4b71Sopenharmony_ci 1780e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1781e41f4b71Sopenharmony_ci 1782e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1783e41f4b71Sopenharmony_ci 1784e41f4b71Sopenharmony_ci**Value:** "usual.event.location.MODE_STATE_CHANGED" 1785e41f4b71Sopenharmony_ci 1786e41f4b71Sopenharmony_ci 1787e41f4b71Sopenharmony_ci### COMMON_EVENT_IVI_SLEEP 1788e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the in-vehicle infotainment (IVI) system of a vehicle is sleeping. 1789e41f4b71Sopenharmony_ci 1790e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1791e41f4b71Sopenharmony_ci 1792e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1793e41f4b71Sopenharmony_ci 1794e41f4b71Sopenharmony_ci**Value:** "common.event.IVI_SLEEP" 1795e41f4b71Sopenharmony_ci 1796e41f4b71Sopenharmony_ci 1797e41f4b71Sopenharmony_ci### COMMON_EVENT_IVI_PAUSE 1798e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the IVI system of a vehicle has entered sleep mode and the playing application is instructed to stop playback. 1799e41f4b71Sopenharmony_ci 1800e41f4b71Sopenharmony_ci 1801e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1802e41f4b71Sopenharmony_ci 1803e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1804e41f4b71Sopenharmony_ci 1805e41f4b71Sopenharmony_ci**Value:** "common.event.IVI_PAUSE" 1806e41f4b71Sopenharmony_ci 1807e41f4b71Sopenharmony_ci### COMMON_EVENT_IVI_STANDBY 1808e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that a third-party application is instructed to pause the current work. 1809e41f4b71Sopenharmony_ci 1810e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1811e41f4b71Sopenharmony_ci 1812e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1813e41f4b71Sopenharmony_ci 1814e41f4b71Sopenharmony_ci**Value:** "common.event.IVI_STANDBY" 1815e41f4b71Sopenharmony_ci 1816e41f4b71Sopenharmony_ci 1817e41f4b71Sopenharmony_ci### COMMON_EVENT_IVI_LASTMODE_SAVE 1818e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that a third-party application is instructed to save its last mode. 1819e41f4b71Sopenharmony_ci 1820e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1821e41f4b71Sopenharmony_ci 1822e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1823e41f4b71Sopenharmony_ci 1824e41f4b71Sopenharmony_ci**Value:** "common.event.IVI_LASTMODE_SAVE" 1825e41f4b71Sopenharmony_ci 1826e41f4b71Sopenharmony_ci 1827e41f4b71Sopenharmony_ci### COMMON_EVENT_IVI_VOLTAGE_ABNORMAL 1828e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the voltage of the vehicle's power system is abnormal. 1829e41f4b71Sopenharmony_ci 1830e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1831e41f4b71Sopenharmony_ci 1832e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1833e41f4b71Sopenharmony_ci 1834e41f4b71Sopenharmony_ci**Value:** "common.event.IVI_VOLTAGE_ABNORMAL" 1835e41f4b71Sopenharmony_ci 1836e41f4b71Sopenharmony_ci 1837e41f4b71Sopenharmony_ci### COMMON_EVENT_IVI_HIGH_TEMPERATURE 1838e41f4b71Sopenharmony_ci 1839e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the temperature of the IVI system is high. 1840e41f4b71Sopenharmony_ci 1841e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1842e41f4b71Sopenharmony_ci 1843e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1844e41f4b71Sopenharmony_ci 1845e41f4b71Sopenharmony_ci**Value:** "common.event.IVI_HIGH_TEMPERATURE" 1846e41f4b71Sopenharmony_ci 1847e41f4b71Sopenharmony_ci 1848e41f4b71Sopenharmony_ci### COMMON_EVENT_IVI_EXTREME_TEMPERATURE 1849e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the temperature of the IVI system is extremely high. 1850e41f4b71Sopenharmony_ci 1851e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1852e41f4b71Sopenharmony_ci 1853e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1854e41f4b71Sopenharmony_ci 1855e41f4b71Sopenharmony_ci**Value:** "common.event.IVI_EXTREME_TEMPERATURE" 1856e41f4b71Sopenharmony_ci 1857e41f4b71Sopenharmony_ci### COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL 1858e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the IVI system has an extreme temperature. 1859e41f4b71Sopenharmony_ci 1860e41f4b71Sopenharmony_ci 1861e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1862e41f4b71Sopenharmony_ci 1863e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1864e41f4b71Sopenharmony_ci 1865e41f4b71Sopenharmony_ci**Value:** "common.event.IVI_TEMPERATURE_ABNORMAL" 1866e41f4b71Sopenharmony_ci 1867e41f4b71Sopenharmony_ci 1868e41f4b71Sopenharmony_ci### COMMON_EVENT_IVI_VOLTAGE_RECOVERY 1869e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the voltage of the vehicle's power system is restored to normal. 1870e41f4b71Sopenharmony_ci 1871e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1872e41f4b71Sopenharmony_ci 1873e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1874e41f4b71Sopenharmony_ci 1875e41f4b71Sopenharmony_ci**Value:** "common.event.IVI_VOLTAGE_RECOVERY" 1876e41f4b71Sopenharmony_ci 1877e41f4b71Sopenharmony_ci 1878e41f4b71Sopenharmony_ci### COMMON_EVENT_IVI_TEMPERATURE_RECOVERY 1879e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the temperature of the IVI system is restored to normal. 1880e41f4b71Sopenharmony_ci 1881e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1882e41f4b71Sopenharmony_ci 1883e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1884e41f4b71Sopenharmony_ci 1885e41f4b71Sopenharmony_ci**Value:** "common.event.IVI_TEMPERATURE_RECOVERY" 1886e41f4b71Sopenharmony_ci 1887e41f4b71Sopenharmony_ci 1888e41f4b71Sopenharmony_ci### COMMON_EVENT_IVI_ACTIVE 1889e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the battery service is active. 1890e41f4b71Sopenharmony_ci 1891e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1892e41f4b71Sopenharmony_ci 1893e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1894e41f4b71Sopenharmony_ci 1895e41f4b71Sopenharmony_ci**Value:** "common.event.IVI_ACTIVE" 1896e41f4b71Sopenharmony_ci 1897e41f4b71Sopenharmony_ci### COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED 1898e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the account visibility changed. 1899e41f4b71Sopenharmony_ci 1900e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1901e41f4b71Sopenharmony_ci 1902e41f4b71Sopenharmony_ciThe subscriber requires the ohos.permission.GET_APP_ACCOUNTS permission (for system applications only) 1903e41f4b71Sopenharmony_ci 1904e41f4b71Sopenharmony_ci**Value:** "usual.event.data.VISIBLE_ACCOUNTS_UPDATED" 1905e41f4b71Sopenharmony_ci 1906e41f4b71Sopenharmony_ci 1907e41f4b71Sopenharmony_ci### COMMON_EVENT_ACCOUNT_DELETED 1908e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the account was deleted. 1909e41f4b71Sopenharmony_ci 1910e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1911e41f4b71Sopenharmony_ci 1912e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS (for system applications only) 1913e41f4b71Sopenharmony_ci 1914e41f4b71Sopenharmony_ci**Value:** "usual.event.data.ACCOUNT_DELETED" 1915e41f4b71Sopenharmony_ci 1916e41f4b71Sopenharmony_ci### COMMON_EVENT_FOUNDATION_READY 1917e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates the common event that the foundation is ready. 1918e41f4b71Sopenharmony_ci 1919e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1920e41f4b71Sopenharmony_ci 1921e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.RECEIVER_STARTUP_COMPLETED (for system applications only) 1922e41f4b71Sopenharmony_ci 1923e41f4b71Sopenharmony_ci**Value:** "usual.event.data.FOUNDATION_READY" 1924e41f4b71Sopenharmony_ci 1925e41f4b71Sopenharmony_ci### COMMON_EVENT_SPN_INFO_CHANGED 1926e41f4b71Sopenharmony_ciIndicates the common event of that the SPN information had changed. 1927e41f4b71Sopenharmony_ci 1928e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 1929e41f4b71Sopenharmony_ci 1930e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 1931e41f4b71Sopenharmony_ci 1932e41f4b71Sopenharmony_ci**Value:** "usual.event.SPN_INFO_CHANGED" 1933e41f4b71Sopenharmony_ci<!--no_check--> 1934e41f4b71Sopenharmony_ci 1935