This document provides a list of system-defined common events.
Common event types are defined in Support enumeration of the ohos.commonEventManager module.
The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
Indicates that the user restarts an application package and terminates all its processes.
When a specified user restarts an application package and terminates all its processes on a device, the event notification service is triggered to publish this system common event.
A third-party application can only listen to the restart event of its own application.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.PACKAGE_RESTARTED"
Indicates that the user clears application package data.
When a specified user clears application package data on the device, this will trigger the event notification service to publish this system common event.
A third-party application can only listen to the data clearing event of its own application.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.PACKAGE_DATA_CLEARED"
Indicates that a quick fix is applied to an application.
When a quick fix is applied to an application by a specified user on the device, the common event service is triggered to publish this event.
A third-party application can only listen to the quick fix events of its own application.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.QUICK_FIX_APPLY_RESULT"
Indicates the revocation of a quick fix.
When a quick fix is revoked on the device, the common event service is triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.QUICK_FIX_REVOKE_RESULT"
Indicates the action of the common event that a new application package has been installed on the device.
When a new application is installed by a specified user on the device, the common event service is triggered to publish this system common event.
A third-party application, by default, can only listen to the installation event of its own application. If a third-party application needs to listen to the installation event of an InHouse application, the InHouse application that needs to be listened to must configure this application's appIdentifier in allowListenBundleChangedEvent in app.json5.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: usual.event.PACKAGE_ADDED
Indicates the operation of the common event that an installed application has been uninstalled from the device but its application data is retained.
When a specified application package is uninstalled by a specified user on the device, it will trigger the common event service to publish this system common event.
A third-party application, by default, can only listen to the uninstall event of its own application. If a third-party application needs to listen to the uninstall event of an InHouse application, the InHouse application to be listened to needs to configure its appIdentifier in allowListenBundleChangedEvent in app.json5.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: usual.event.PACKAGE_REMOVED
(Reserved event, not yet supported) Indicates the event that an existing application package is removed from the device.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.BUNDLE_REMOVED"
Indicates the event that an existing application program is completely removed from the device.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.PACKAGE_FULLY_REMOVED"
Indicates the action of the common event that an application package has changed (for example, a component in the package has been enabled or disabled).
When an installed application program package on the device is updated or a component in the package is enabled or disabled, the event notification service publishing will be triggered to publish this system common event.
By default, a third-party application can only listen to change events of its own application. If a third-party application needs to listen to update events of an InHouse application, the InHouse application that needs to be listened to must configure the appIdentifier of this application in allowListenBundleChangedEvent in app.json5.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.PACKAGE_CHANGED"
Indicates the action of the common event for a user to clear the cache data of an application package.
When the cache of an application package installed on the device is cleared, the event notification service will be triggered to publish this system common event.
A third-party application, by default, can only listen to the cache clearing events of its own application. If a third-party application needs to listen to the cache clearing events of an InHouse application, the InHouse application that needs to be listened to must configure its appIdentifier in allowListenBundleChangedEvent in app.json5.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.PACKAGE_CACHE_CLEARED"
(Reserved event, not yet supported) Indicates that the package has been suspended.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.PACKAGES_SUSPENDED"
(Reserved event, not yet supported) Sent to a package that has been suspended by the system.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.MY_PACKAGE_SUSPENDED"
(Reserved event, not yet supported) Sent to a package that has been unsuspended by the system.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.MY_PACKAGE_UNSUSPENDED"
Notifies the user of the low memory status and that package management should be started.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.MANAGE_PACKAGE_STORAGE"
Indicates a common event that the skill of an application on the device changes.
When an application program containing a skill is installed, updated, or uninstalled for a specified user on the device, the event notification service publishing will trigger this system common event.
By default, an application can only receive the skill change event of its own application.
After applying for the ohos.permission.MANAGE_SKILL_PRIVILEGE permission, an application can receive the skill change events of its own application and other applications.
Since: 26.0.0
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.SKILL_CHANGED"
Indicates that the user enables minor mode.
When the youth mode is enabled on a device, the event notification service is triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Atomic service API: This API can be used in atomic services since API version 12.
Value: "usual.event.MINORSMODE_ON"
Indicates that the user turns off minor mode.
When minor mode is turned off on the device, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Atomic service API: This API can be used in atomic services since API version 12.
Value: "usual.event.MINORSMODE_OFF"
A common event that indicates split-screen behavior.
When any of the following actions is performed, the event notification service is triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Atomic service API: This API can be used in atomic services since API version 11.
Value: "common.event.SPLIT_SCREEN"
Indicates that the notification slot or notification switch settings have changed.
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 system common event.
System capability: SystemCapability.Notification.CommonEvent
Subscriber permission: ohos.permission.NOTIFICATION_CONTROLLER
Value: "usual.event.SLOT_CHANGE"
Indicates that the device standby state changes, which triggers the action of publishing a common event.
If the user has not used the device for a period of time and the screen is turned off, the system delays the CPU and network access by background applications, and the common event service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.DEVICE_IDLE_MODE_CHANGED"
Indicates that the USB device status changes.
When a USB device is connected to or disconnected from the device, the event notification service is triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.hardware.usb.action.USB_STATE"
Prompts the user that the USB port status of the device has changed.
When the USB port status changes, the event notification service publishing will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.hardware.usb.action.USB_PORT_CHANGED"
Indicates that a USB device has been attached when the user device acts as a USB host.
When the USB connection state changes, this will trigger the event notification service publishing this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.hardware.usb.action.USB_DEVICE_ATTACHED"
Indicates that a USB device is detached when the user device acts as a USB host.
When the USB connection is disconnected and the state changes, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.hardware.usb.action.USB_DEVICE_DETACHED"
Action of the common event for setting the system time.
When the system time is set, this will trigger the event notification service publishing this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.TIME_CHANGED"
Action of the common event that indicates the system time changes.
When the system time changes in units of a whole minute, the event notification service publishing will trigger this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.TIME_TICK"
Indicates the action of the common event for a system time zone change.
When the system time zone changes, the common event service is triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.TIMEZONE_CHANGED"
Indicates that the user information has been updated.
A change in the distributed account information, a change in the system account profile photo, or a change in the system account name will trigger the event notification service to publish this system common event. The event carries the system account ID.
APIs related to this event: setOsAccountName, setOsAccountProfilePhoto, and setOsAccountDistributedInfo. The first two are system APIs, and the last is a public API. For details, see @ohos.account.osAccount (OS Account Management) and @ohos.account.distributedAccount (Distributed Account Management).
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.USER_INFO_UPDATED"
Indicates the action of the common event that the credential-encrypted storage of the current user has been unlocked when the device is unlocked after restart.
Switching to a user with a lock screen password and unlocking for the first time will trigger the event notification service publishing this system common event. The event carries the system account ID that identifies the user.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: usual.event.USER_UNLOCKED
Indicates the action of a successful distributed account login.
When a distributed account login succeeds, the event notification service publishing will trigger this system common event, and the event carries the system account ID and sub-identity ID.
APIs associated with this common event: setOsAccountDistributedInfo and updateOsAccountDistributedInfo (deprecated), which are public APIs, and setOsAccountDistributedInfoByLocalId, which is a system API. For details, see Distributed Account API Reference.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Atomic service API: This API can be used in atomic services since API version 12.
Value: "common.event.DISTRIBUTED_ACCOUNT_LOGIN"
Indicates the action of a successful distributed account logout.
When a distributed account logs out, the event notification service publishing will trigger this system common event. The event carries the system account ID and the sub-identity ID.
APIs associated with this common event: setOsAccountDistributedInfo and updateOsAccountDistributedInfo (deprecated), which are public APIs, and setOsAccountDistributedInfoByLocalId, which is a system API. For details, see Distributed Account API Reference.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Atomic service API: This API can be used in atomic services since API version 12.
Value: "common.event.DISTRIBUTED_ACCOUNT_LOGOUT"
Indicates the action that the distributed account token is invalid.
When the token of a distributed account is invalid, the event notification service will trigger the publishing of this system common event. The event carries the system account ID and the sub-identity ID.
APIs associated with this common event: setOsAccountDistributedInfo and updateOsAccountDistributedInfo (deprecated), which are public APIs, and setOsAccountDistributedInfoByLocalId, which is a system API. For details, see Distributed Account API Reference.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Atomic service API: This API can be used in atomic services since API version 12.
Value: "common.event.DISTRIBUTED_ACCOUNT_TOKEN_INVALID"
Indicates the action of logging off a distributed account.
A successful distributed account logoff will trigger the event notification service publishing of this system common event. The event carries the system account ID and the sub-identity ID.
APIs associated with this common event: setOsAccountDistributedInfo and updateOsAccountDistributedInfo (deprecated), which are public APIs, and setOsAccountDistributedInfoByLocalId, which is a system API. For details, see Distributed Account API Reference.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Atomic service API: This API can be used in atomic services since API version 12.
Value: "common.event.DISTRIBUTED_ACCOUNT_LOGOFF"
Indicates the common event of screen locking.
When the screen is locked, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Atomic service API: This API can be used in atomic services since API version 11.
Value: usual.event.SCREEN_LOCKED
Indicates the common event of screen unlocking.
When the lock screen is unlocked, this will trigger the event notification service publishing of this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Atomic service API: This API can be used in atomic services since API version 11.
Value: usual.event.SCREEN_UNLOCKED
Action of the common event indicating that the user unlocks the device.
This event is supported since API version 9 and deprecated since API version 10. You are advised to use COMMON_EVENT_SCREEN_UNLOCKED instead.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.USER_PRESENT"
Indicates the action of the common event that the battery charging status, level, and other information have changed.
When the battery level, battery temperature, battery health status, type of charger connected to the device, maximum current of the charger, maximum voltage of the charger, battery charging status, number of charging cycles, total battery capacity, remaining battery capacity, battery technical model, or battery charging type changes, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.BATTERY_CHANGED"
Indicates the action of the common event for low battery level.
When the battery level falls below the low battery percentage configured on the device, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.BATTERY_LOW"
Indicates the action of the common event that the battery exits the low battery state.
When the battery level rises from the low battery level to above the low battery level, it will trigger the event notification service to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.BATTERY_OKAY"
Indicates the action of the common event that the device is connected to an external power source.
When the device is connected to an external recognizable charger type for charging, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.POWER_CONNECTED"
Indicates the action of the common event that the device is disconnected from the external power supply.
When the device is disconnected from the external power supply, the event notification service publishing will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.POWER_DISCONNECTED"
Indicates the action of the common event that the system stops charging the battery.
When the system stops charging the battery, this will trigger the event notification service to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.DISCHARGING"
Indicates the action of the common event that the system starts charging the battery.
When the system starts charging the battery, it will trigger the event notification service to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.CHARGING"
Indicates the action of the common event that the device enters the charging idle mode.
When the device is in a state of being idle, charging, and with an acceptable temperature rise, the event notification service publishing will trigger this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: usual.event.CHARGE_IDLE_MODE_CHANGED
Indicates the action of the common event that the device is being shut down and will continue to shut down completely.
When the device is being shut down and will continue to shut down completely, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.SHUTDOWN"
Indicates the action of the common event that the device screen-off initiated by the power service is complete.
When the device screen-off initiated by the power service is complete, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: usual.event.SCREEN_OFF
Indicates the action of the common event that the screen is turned on by the power service.
When the screen is turned on by the power service, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: usual.event.SCREEN_ON
Indicates the action of the common event that the system power save mode changes.
When the system power save mode changes, the common event service is triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.POWER_SAVE_MODE_CHANGED"
Action of the common event that indicates the thermal status of the device.
When the thermal level of the device changes, this system common event will be triggered and published by the event notification service.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.THERMAL_LEVEL_CHANGED"
Indicates the action of the common event that the device is about to enter the forced sleep mode.
When the device is about to enter the forced sleep mode, the event notification service publishing will trigger this system common event. All subscribers must process this event within 1 second.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.ENTER_FORCE_SLEEP"
Indicates the action of the common event that the device exits the forced sleep mode.
When the device exits the forced sleep mode, it will trigger the event notification service to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.EXIT_FORCE_SLEEP"
Indicates the action of the common event that the device is about to enter hibernation mode.
When the device is about to enter hibernation mode, the event notification service will trigger the publishing of this system common event. All subscribers must process this event within 1 second.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.ENTER_HIBERNATE"
Indicates the action of the common event that the device exits hibernate mode.
When the device exits hibernate mode, the event notification service will trigger the publishing of this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.EXIT_HIBERNATE"
Indicates that a specific volume on the device has been decrypted.
When a specific volume on the device is decrypted, the event notification service will be triggered to publish this system common event.
Since: 26.0.0
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.VOLUME_DECRYPTED"
Indicates that a specific volume on the device has been encrypted.
When a specific volume on the device is encrypted, the event notification service publishing will be triggered to publish this system common event.
Since: 26.0.0
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.VOLUME_ENCRYPTED"
Indicates that the encryption policy has been set for a specific volume on the device.
When the encryption policy is set for a specific volume on the device, the event notification service publishing will be triggered to publish this system common event.
Since: 26.0.0
System capability: SystemCapability.Notification.CommonEvent
Subscriber permission: ohos.permission.QUERY_VOLUME_ENCRYPTION_STATUS
Value: "usual.event.VOLUME_ENCRYPTION_POLICY_SET"
Indicates the operation of the common event for the Bluetooth HFP AG connection state change.
When the Bluetooth HFP AG connection state changes, the event notification service is triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.handsfree.ag.CONNECT_STATE_CHANGE"
Indicates the operation of the common event for the Bluetooth A2DP Source connection state change.
When the Bluetooth A2DP Source connection state changes, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.a2dpsource.CONNECT_STATE_CHANGE"
Indicates the operation of the common event for a Bluetooth AVRCP connection state change.
When the Bluetooth AVRCP connection state changes, the event notification service publishing will trigger this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_CHANGE"
Indicates the operation of the common event for a change in the Bluetooth media codec.
When the Bluetooth media codec changes, this will trigger the event notification service to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.a2dpsource.CODEC_VALUE_CHANGE"
Indicates the action of the common event for the Bluetooth media A2DP playback state change.
When the Bluetooth media A2DP playback state changes, the event notification service publishing will trigger this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.a2dpsource.PLAY_STATE_CHANGE"
Indicates the operation of the common event for Bluetooth SCO state changes.
When the Bluetooth SCO state changes, this will trigger the event notification service to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.SCO_CONNECT_STATE_CHANGE"
Indicates the action of the common event for the ACL connection state change of a Bluetooth remote device.
When the ACL connection state of a Bluetooth remote device changes, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.remotedevice.ACL_STATE_CHANGE"
Indicates the operation of the common event for Bluetooth pairing state changes.
When the Bluetooth pairing state changes, this will trigger the event notification service publishing this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.remotedevice.PAIR_STATE_CHANGE"
Indicates the action of the event that the Bluetooth scan mode changes.
When the Bluetooth scan mode changes, the event notification service publishing will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.host.SCAN_MODE_CHANGE"
Indicates the action of the common event that the device NFC state has changed.
Indicates that when the device NFC state changes, the event notification service publishing will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.nfc.action.ADAPTER_STATE_CHANGED"
Common event indicating that an NFC RF field is detected.
When an NFC RF field is detected, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.nfc.action.RF_FIELD_ON_DETECTED"
Common event indicating that the NFC field is detected to have left.
When the NFC field is detected to have left, the event notification service publishing will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.nfc.action.RF_FIELD_OFF_DETECTED"
Indicates the Wi-Fi state changes.
When the Wi-Fi state changes (for example, Wi-Fi is enabled or disabled), the event notification service publishing will be triggered to publish this system common event.
Status values: 0: WLAN is being disabled, 1: WLAN is disabled, 2: WLAN is being enabled, 3: WLAN is enabled.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.wifi.POWER_STATE"
Indicates the action that a Wi-Fi access point has been scanned and proven available.
When a Wi-Fi access point has been scanned and proven available, the event notification service publishing will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.LOCATION
Value: "usual.event.wifi.SCAN_FINISHED"
Indicates that the Wi-Fi signal strength (RSSI) changes.
When the Wi-Fi signal strength (RSSI) changes, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.GET_WIFI_INFO
Value: "usual.event.wifi.RSSI_VALUE"
The Wi-Fi connection state changes.
When the Wi-Fi connection state changes, the event notification service publishing will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.wifi.CONN_STATE"
Indicates the Wi-Fi hotspot state changes.
When the Wi-Fi hotspot state changes, the event notification service will be triggered to publish this system common event.
Status values: 2: AP is being enabled, 3: AP has been enabled, 4: AP is being disabled, 5: AP has been disabled.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.wifi.HOTSPOT_STATE"
Indicates that a client joins the Wi-Fi hotspot of the current device.
When a client joins the Wi-Fi hotspot of the current device, it will trigger the event notification service to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.GET_WIFI_INFO
Value: "usual.event.wifi.WIFI_HS_STA_JOIN"
Indicates that a client has disconnected from the Wi-Fi hotspot of the current device.
When a client has disconnected from the Wi-Fi hotspot of the current device, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.GET_WIFI_INFO
Value: "usual.event.wifi.WIFI_HS_STA_LEAVE"
Indicates that the MPLink (enhanced Wi-Fi) state has changed.
When the MPLink (enhanced Wi-Fi) state changes, the event notification service publishing will be triggered to publish this system common event (not yet supported).
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.wifi.mplink.STATE_CHANGE"
Indicates that the Wi-Fi P2P connection state changes.
When the Wi-Fi P2P connection state changes, the event notification service publishing will trigger this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION
Value: "usual.event.wifi.p2p.CONN_STATE_CHANGE"
Indicates the Wi-Fi P2P state change.
When the Wi-Fi P2P state changes, the event notification service publishing will trigger this system common event.
State values: 2: P2P is being enabled, 3: P2P is enabled, 4: P2P is being disabled, 5: P2P is disabled.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.GET_WIFI_INFO
Value: "usual.event.wifi.p2p.STATE_CHANGE"
Indicates that the Wi-Fi P2P peer state changes.
When the Wi-Fi P2P peer state changes, the event notification service publishing will trigger this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.GET_WIFI_INFO
Value: "usual.event.wifi.p2p.DEVICES_CHANGE"
Indicates the Wi-Fi P2P discovery state change.
When the Wi-Fi P2P discovery state changes, the event notification service publishing will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.GET_WIFI_INFO
Value: "usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE"
Indicates the change of the current device state of Wi-Fi P2P.
When the current device state of Wi-Fi P2P changes, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.GET_WIFI_INFO
Value: "usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE"
Indicates that the Wi-Fi P2P group information has changed.
When the Wi-Fi P2P group information changes, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.GET_WIFI_INFO
Value: "usual.event.wifi.p2p.GROUP_STATE_CHANGED"
Indicates that an external storage device was removed.
This common event is triggered when an external storage device is removed.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
Value: usual.event.data.VOLUME_REMOVED
Indicates that an external storage device was unmounted.
This common event is triggered when an external storage device is successfully unmounted by calling the unmount API or by removing the device.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
Value: usual.event.data.VOLUME_UNMOUNTED
Indicates that an external storage device was mounted.
This common event is triggered when an external storage device is successfully mounted by calling the mount API or by inserting the device.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
Value: usual.event.data.VOLUME_MOUNTED
Indicates that an external storage device was removed without being unmounted.
This common event is triggered when an external storage device is directly removed without being unmounted.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
Value: usual.event.data.VOLUME_BAD_REMOVAL
Indicates that an external storage device is about to be ejected.
This common event is triggered when the user calls the unmount API on a mounted external storage device or removes the device.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
Value: usual.event.data.VOLUME_EJECT
Indicates that the browser managed policy has changed.
When the browser hosting policy changes, the event notification service is triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.MANAGED_BROWSER_POLICY_CHANGED"
Indicates that the system language is set.
When the system language is set, the event notification service is triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.LOCALE_CHANGED"
Indicates that the network connection status changes.
When the (Ethernet, Wi-Fi, or cellular) network connection state changes (disconnected, connecting, or connected), the event notification service is triggered to publish this system common event.
The following table lists the enum values and their corresponding connection status.
| Enumeration Value | Connection Status |
|---|---|
| 2 | Connecting |
| 3 | Connected |
| 4 | Disconnecting |
| 5 | Disconnected |
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Atomic service API: This API can be used in atomic services since API version 11.
Value: "usual.event.CONNECTIVITY_CHANGE"
Indicates that the airplane mode state changes.
After the system airplane mode is enabled or disabled, this will trigger the event notification service to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.AIRPLANE_MODE"
Indicates that the network HTTP proxy configuration information is updated.
When the HTTP proxy configuration information of the system global proxy or various networks (Ethernet, Wi-Fi, cellular, etc.) changes, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.HTTP_PROXY_CHANGE"
This topic lists the system common events provided by the telephony subsystem to applications.
Indicates that the SIM card state is updated.
When the SIM card state on the device changes, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.SIM_STATE_CHANGED"
Indicates a call state update.
When the call state of the device is updated, the common event service is triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.GET_TELEPHONY_STATE (for system applications only)
Value: "usual.event.CALL_STATE_CHANGED"
Indicates that the network state is updated.
When the network state of the device is updated, the common event service is triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: usual.event.NETWORK_STATE_CHANGED
Indicates that the signal information is updated.
When the signal information of the device is updated, the common event service is triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.SIGNAL_INFO_CHANGED"
This topic lists the system common events provided by the AppGallery Kit to applications.
Common event that indicates the privacy signing result.
In a privacy dialog box scenario, when the user taps Agree, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.PRIVACY_STATE_CHANGED"
This topic lists the system common events provided by the Multimodalinput Kit to applications.
Indicates a device that can sense the opening and closing of its stand, for example, a tablet with a stand. When the stand open/close state changes, the event notification service will be triggered to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Value: "usual.event.TABLET_MODE_CHANGED"
Indicates a device that can sense the opening and closing of its lid, for example, a laptop with an openable and closable lid. When the lid state changes, it will trigger the event notification service to publish this system common event.
System capability: SystemCapability.Notification.CommonEvent
Value: usual.event.LID_STATE_CHANGED
(Reserved event, not yet supported) Indicates that the user has completed boot, the system has been loaded, but the screen is still locked.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.LOCKED_BOOT_COMPLETED"
(Reserved event, not yet supported) The application program is launched for the first time after installation.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.PACKAGE_FIRST_LAUNCH"
(Reserved event, not yet supported) Sent by the system package verifier when a package needs to be verified.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.PACKAGE_NEEDS_VERIFICATION"
(Reserved event, not yet supported) Sent by the system package verifier when a package is verified.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.PACKAGE_VERIFIED"
(Reserved event, not yet supported) Indicates the action of installing a new version of an application package on the device and replacing the old version. The data contains the package name.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.PACKAGE_REPLACED"
(Reserved event, not yet supported) Indicates the action of installing a new version of an application package on the device and replacing the old version. It does not contain extra data and is sent only to the replaced application.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.MY_PACKAGE_REPLACED"
(Reserved event, not yet supported) Indicates that the package has been unsuspended.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.PACKAGES_UNSUSPENDED"
(Reserved event, not yet supported) Indicates the action of the common event that a user closes a temporary system dialog box.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.CLOSE_SYSTEM_DIALOGS"
(Reserved event, not yet supported) Indicates the action of the common event that the user ID has been removed from the system.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: usual.event.UID_REMOVED
(Reserved event, not yet supported) Indicates the operation of the common event that makes applications installed on external storage available to the system.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.EXTERNAL_APPLICATIONS_AVAILABLE"
(Reserved event, not yet supported) Indicates the action of the common event that the device status (for example, orientation and locale) has changed.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.CONFIGURATION_CHANGED"
(Reserved event, not yet supported) Indicates the action of the common event that the system is in drive mode.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.DRIVE_MODE"
(Reserved event, not yet supported) Indicates the action of the common event that the system is in HOME mode.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.HOME_MODE"
(Reserved event, not yet supported) Indicates the action of the common event indicating that the system is in office mode.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.OFFICE_MODE"
(Reserved event, not yet supported) Indicates the action of the common event that the user has started.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: usual.event.USER_STARTED
(Reserved event, not yet supported) Indicates the action of the common event that the user has been brought to the background.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: usual.event.USER_BACKGROUND
(Reserved event, not yet supported) Indicates the action of the common event for starting a user.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS (for system applications only)
Value: usual.event.USER_STARTING
(Reserved event, not yet supported) Indicates the action of the common event for stopping a user.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS (for system applications only)
Value: usual.event.USER_STOPPING
(Reserved event, not yet supported) Indicates the action of the common event that the user has stopped.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: usual.event.USER_STOPPED
(Reserved event, not yet supported) Sent when the external storage device status changes to removed.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
Value: usual.event.data.DISK_REMOVED
(Reserved event, not yet supported) This common event is sent when the status of an external storage device changes to unmounted.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
Value: "usual.event.data.DISK_UNMOUNTED"
(Reserved event, not yet supported) This common event is sent when the status of an external storage device changes to mounted.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
Value: usual.event.data.DISK_MOUNTED
(Reserved event, not yet supported) This common event is published when the external storage device is removed while in the mounted state.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
Value: usual.event.data.DISK_BAD_REMOVAL
(Reserved event, not yet supported) This common event is sent when the external storage device status changes to a state where it cannot be mounted while a card is inserted.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
Value: "usual.event.data.DISK_UNMOUNTABLE"
(Reserved event, not yet supported) This common event is sent when the user has indicated the desire to remove the external storage medium.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
Value: usual.event.data.DISK_EJECT
(Reserved event, not yet supported) Indicates the action of the common event that the system date has changed.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.DATE_CHANGED"
Indicates the action of the common event that a USB accessory is attached.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED"
Indicates the action of the common event that a USB accessory is detached.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED"
(Reserved event, not yet supported) Action of the common event for the Bluetooth hands-free communication connection state.
This event is supported since API version 9 and deprecated since API version 20. You are advised to use COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_CHANGE instead.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE"
(Reserved event, not yet supported) Indicates the action of the common event that a device connected to the Bluetooth handsfree is in the active state.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE"
(Reserved event, not yet supported) Indicates the action of the common event that the Bluetooth A2DP connection state has changed.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE"
(Reserved event, not yet supported) Action of the Bluetooth A2DP connection state common event.
This interface supports since API version 9 and is deprecated since API version 20. You are advised to use COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_CHANGE instead.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE"
(Reserved event, not yet supported) Indicates the action of the common event that a device connected via Bluetooth A2DP is in the active state.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE"
(Reserved event, not yet supported) Indicates the action of the common event that the AVRCP connection state of Bluetooth A2DP has changed.
This interface is supported since API version 9 and deprecated since API version 20. You are advised to use COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_CHANGE instead.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE"
(Reserved event, not yet supported) Action of the common event indicating that the Bluetooth A2DP playing state changes.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE"
(Reserved event, not yet supported) Indicates the action of the common event for Bluetooth A2DP audio codec state changes.
This event is supported since API version 9 and deprecated since API version 20. You are advised to use COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_CHANGE instead.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE"
(Reserved event, not yet supported) Action of the common event indicating that the user has been brought to the foreground.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: usual.event.USER_FOREGROUND
(Reserved event, not yet supported) Indicates the action of the common event for discovering a remote Bluetooth device.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.LOCATION and ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.remotedevice.DISCOVERED"
(Reserved event, not yet supported) Indicates the action of the common event that the Bluetooth class of a remote Bluetooth device has changed.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE"
(Reserved event, not yet supported) Indicates the action of the common event that a low-level (ACL) connection has been established with a remote Bluetooth device.
This interface is supported since API version 9 and deprecated since API version 20. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_STATE_CHANGE instead.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.bluetooth.remotedevice.ACL_CONNECTED"
(Reserved event, not yet supported) Indicates the action of the common event that the low-level (ACL) connection has been disconnected from the remote Bluetooth device.
This interface is supported since API version 9 and deprecated since API version 20. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_STATE_CHANGE instead.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.remotedevice.ACL_DISCONNECTED"
(Reserved event, not yet supported) Indicates the operation of the common event that the friendly name of a remote Bluetooth device is retrieved for the first time or has been changed since the last retrieval.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.remotedevice.NAME_UPDATE"
(Reserved event, not yet supported) Action of the common event indicating that the connection state of a remote Bluetooth device changes.
This event is supported since API version 9 and deprecated since API version 20. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE_CHANGE instead.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.remotedevice.PAIR_STATE"
(Reserved event, not yet supported) Indicates the action of 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.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE
(Reserved event, not yet supported) Action of the common event for the SDP status of a remote Bluetooth device.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.bluetooth.remotedevice.SDP_RESULT"
Action of the common event for the UUID connection status of a remote Bluetooth device.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.remotedevice.UUID_VALUE"
(Reserved event, not yet supported) Indicates the action of the common event for a remote Bluetooth device pairing request.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.DISCOVER_BLUETOOTH
Value: "usual.event.bluetooth.remotedevice.PAIRING_REQ"
(Reserved event, not yet supported) Action of the common event for canceling Bluetooth pairing.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.bluetooth.remotedevice.PAIRING_CANCEL"
(Reserved event, not yet supported) Indicates the action of the common event for a remote Bluetooth device connection request.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.bluetooth.remotedevice.CONNECT_REQ"
(Reserved event, not yet supported) Indicates the action of the common event for the remote Bluetooth device connection request response.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.bluetooth.remotedevice.CONNECT_REPLY"
(Reserved event, not yet supported) Indicates the action of the common event for canceling the connection to a remote Bluetooth device.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.bluetooth.remotedevice.CONNECT_CANCEL"
(Reserved event, not yet supported) Indicates the action of the common event that the Bluetooth hands-free unit connection state has changed.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE"
(Reserved event, not yet supported) Indicates the action of the common event that the Bluetooth hands-free audio state has changed.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE"
(Reserved event, not yet supported) Indicates the action of the common event that the Bluetooth handsfree audio gateway state has changed.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT"
(Reserved event, not yet supported) Indicates the action of the common event that the Bluetooth hands-free call state has changed.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE"
Indicates the action of the common event that the Bluetooth adapter state has changed, for example, Bluetooth is turned on or off.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.bluetooth.host.STATE_UPDATE"
This API is supported since API version 9 and deprecated since API version 20.
(Reserved event, not yet supported) Indicates the action of the common event that a user allows a Bluetooth scan request.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.bluetooth.host.REQ_DISCOVERABLE"
(Reserved event, not yet supported) Indicates the action of the common event for a user request to enable Bluetooth.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.host.REQ_ENABLE"
(Reserved event, not yet supported) Indicates the action of the common event for a user request to disable Bluetooth.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.host.REQ_DISABLE"
(Reserved event, not yet supported) Action of the common event indicating that the device Bluetooth scan mode changes.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.host.SCAN_MODE_UPDATE"
Action of the common event indicating that Bluetooth scanning has started on the device.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.host.DISCOVERY_STARTED"
Action of the common event indicating that Bluetooth scanning is finished on the device.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.host.DISCOVERY_FINISHED"
Indicates the operation of the common event that the name of the device Bluetooth adapter has changed.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions for subscribers: ohos.permission.ACCESS_BLUETOOTH
Value: "usual.event.bluetooth.host.NAME_UPDATE"
(Reserved event, not yet supported) Indicates the action of the common event that the Bluetooth A2DP connection state has changed.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE"
(Reserved event, not yet supported) Action of the common event indicating that the Bluetooth A2DP playing state changes.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE"
(Reserved event, not yet supported) Indicates the action of the common event that the audio state of the Bluetooth A2DP sink has changed.
This API is supported since API version 9 and deprecated since API version 20.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.USE_BLUETOOTH
Value: "usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE"
(Reserved event, not yet supported) Indicates the action of the common event for an added ability.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.LISTEN_BUNDLE_CHANGE
Value: usual.event.ABILITY_ADDED
(Reserved event, not yet supported) Indicates the action of the common event for a removed ability.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.LISTEN_BUNDLE_CHANGE
Value: usual.event.ABILITY_REMOVED
(Reserved event, not yet supported) Indicates the action of the common event that the ability has been updated.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.LISTEN_BUNDLE_CHANGE
Value: "usual.event.ABILITY_UPDATED"
(Reserved event, not yet supported) Action of the common event indicating that the system location mode has changed.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "usual.event.location.MODE_STATE_CHANGED"
(Reserved event, not yet supported) Indicates the action of the common event that the in-vehicle infotainment (IVI) system of the vehicle is sleeping.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.IVI_SLEEP"
(Reserved event, not yet supported) Indicates that the IVI has entered sleep mode and notifies the application program to stop playing.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.IVI_PAUSE"
(Reserved event, not yet supported) Indicates the action of the common event that a third-party application pauses the current work.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.IVI_STANDBY"
(Reserved event, not yet supported) Indicates the action of the common event for a third-party application to save its last mode.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.IVI_LASTMODE_SAVE"
(Reserved event, not yet supported) Indicates the action of the common event that the vehicle power system voltage is abnormal.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.IVI_VOLTAGE_ABNORMAL"
(Reserved event, not yet supported) Indicates that the IVI temperature is too high.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.IVI_HIGH_TEMPERATURE"
(Reserved event, not yet supported) Indicates that the IVI temperature is extremely high.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.IVI_EXTREME_TEMPERATURE"
(Reserved event, not yet supported) Indicates the action of the common event that the in-vehicle system has an extreme temperature.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.IVI_TEMPERATURE_ABNORMAL"
(Reserved event, not yet supported) Indicates the action of the common event that the voltage of the vehicle power system recovers to normal.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.IVI_VOLTAGE_RECOVERY"
(Reserved event, not yet supported) Indicates the action of the common event that the in-vehicle system temperature returns to normal.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.IVI_TEMPERATURE_RECOVERY"
(Reserved event, not yet supported) Indicates the action of the common event that the battery service is in the active state.
System capability: SystemCapability.Notification.CommonEvent
Required Permissions: none
Value: "common.event.IVI_ACTIVE"
(Reserved event, not yet supported) Indicates the action of the common event for visible account changes.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.GET_APP_ACCOUNTS (for system applications only)
Value: "usual.event.data.VISIBLE_ACCOUNTS_UPDATED"
(Reserved event, not yet supported) Action of the common event for deleting an account.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS (for system applications only)
Value: usual.event.data.ACCOUNT_DELETED
(Reserved event, not yet supported) Indicates the action of the common event that the foundation is ready.
System capability: SystemCapability.Notification.CommonEvent
Required permissions: ohos.permission.RECEIVER_STARTUP_COMPLETED (for system applications only)
Value: "usual.event.data.FOUNDATION_READY"