System Common Events (Deprecated)

This document provides indexes for predefined system common events.

Common event types are defined in Support of the ohos.commonEventManager module.

NOTE

This type is supported since API version 7 and deprecated since API version 9. You are advised to use System Common Events instead.

System capability: SystemCapability.Notification.CommonEvent

  • COMMON_EVENT_BOOT_COMPLETED(deprecated) indicates that the boot is complete and the system is loaded.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BOOT_COMPLETED instead.

    • Value: usual.event.BOOT_COMPLETED
    • Required permissions: ohos.permission.RECEIVER_STARTUP_COMPLETED (for system applications only)
  • COMMON_EVENT_LOCKED_BOOT_COMPLETED(deprecated) (reserved, not supported yet) indicates that the guidance is complete and the system is loaded, but the screen is still locked.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_LOCKED_BOOT_COMPLETED instead.

    • Value: usual.event.LOCKED_BOOT_COMPLETED
    • Required permissions: none
  • COMMON_EVENT_SHUTDOWN(deprecated) indicates that the device is being shut down and will continue until it is finally shut down.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_SHUTDOWN instead.

    • Value: usual.event.SHUTDOWN
    • Required permissions: none
  • COMMON_EVENT_BATTERY_CHANGED(deprecated) indicates that the battery charging status, battery level, and other information has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BATTERY_CHANGED instead.

    • Value: usual.event.BATTERY_CHANGED
    • Required permissions: none
  • COMMON_EVENT_BATTERY_LOW(deprecated) indicates that the battery level is low.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BATTERY_LOW instead.

    • Value: usual.event.BATTERY_LOW
    • Required permissions: none
  • COMMON_EVENT_BATTERY_OKAY(deprecated) indicates that the battery level is normal.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BATTERY_OKAY instead.

    • Value: usual.event.BATTERY_OKAY
    • Required permissions: none
  • COMMON_EVENT_POWER_CONNECTED(deprecated) indicates that the device is connected to an external power supply.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_POWER_CONNECTED instead.

    • Value: usual.event.POWER_CONNECTED
    • Required permissions: none
  • COMMON_EVENT_POWER_DISCONNECTED(deprecated) indicates that the device is disconnected from the external power supply.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_POWER_DISCONNECTED instead.

    • Value: usual.event.POWER_DISCONNECTED
    • Required permissions: none
  • COMMON_EVENT_SCREEN_OFF(deprecated) indicates that the device screen is off and the device is in sleep mode.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_SCREEN_OFF instead.

    • Value: usual.event.SCREEN_OFF
    • Required permissions: none
  • COMMON_EVENT_SCREEN_ON(deprecated) indicates that the device screen is on and the device is in interactive state.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_SCREEN_ON instead.

    • Value: usual.event.SCREEN_ON
    • Required permissions: none
  • COMMON_EVENT_THERMAL_LEVEL_CHANGED(deprecated) indicates that the device thermal level has changed.

    NOTE

    This type is supported since API version 8 and deprecated since API version 9. You are advised to use COMMON_EVENT_THERMAL_LEVEL_CHANGED instead.

    • Value: usual.event.THERMAL_LEVEL_CHANGED
    • Required permissions: none
  • COMMON_EVENT_USER_PRESENT(deprecated) (reserved, not supported yet) indicates that the user unlocks the device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USER_PRESENT instead.

    • Value: usual.event.USER_PRESENT
    • Required permissions: none
  • COMMON_EVENT_TIME_TICK(deprecated) indicates that the system time has changed as time ticks by.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_TIME_TICK instead.

    • Value: usual.event.TIME_TICK
    • Required permissions: none
  • COMMON_EVENT_TIME_CHANGED(deprecated) indicates that the system time is set.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_TIME_CHANGED instead.

    • Value: usual.event.TIME_CHANGED
    • Required permissions: none
  • COMMON_EVENT_DATE_CHANGED(deprecated) (reserved, not supported yet) indicates that the system date has been changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_DATE_CHANGED instead.

    • Value: usual.event.DATE_CHANGED
    • Required permissions: none
  • COMMON_EVENT_TIMEZONE_CHANGED(deprecated) indicates that the system time zone is changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_TIMEZONE_CHANGED instead.

    • Value: usual.event.TIMEZONE_CHANGED
    • Required permissions: none
  • COMMON_EVENT_CLOSE_SYSTEM_DIALOGS(deprecated) (reserved, not supported yet) indicates that the user closes a temporary system dialog box.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_CLOSE_SYSTEM_DIALOGS instead.

    • Value: usual.event.CLOSE_SYSTEM_DIALOGS
    • Required permissions: none
  • COMMON_EVENT_PACKAGE_ADDED(deprecated) indicates that a new application package has been installed on the device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_PACKAGE_ADDED instead.

    • Value: usual.event.PACKAGE_ADDED
    • Required permissions: none
  • COMMON_EVENT_PACKAGE_REPLACED(deprecated) (reserved, not supported yet) indicates that a later version of an installed application package has replaced the previous one on the device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_PACKAGE_REPLACED instead.

    • Value: usual.event.PACKAGE_REPLACED
    • Required permissions: none
  • COMMON_EVENT_MY_PACKAGE_REPLACED(deprecated) (reserved, not supported yet) indicates that the new version of the application package has replaced the previous version.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_MY_PACKAGE_REPLACED instead.

    • Value: usual.event.MY_PACKAGE_REPLACED
    • Required permissions: none
  • COMMON_EVENT_PACKAGE_REMOVED(deprecated) indicates that an installed application has been uninstalled from the device with the application data retained.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_PACKAGE_REMOVED instead.

    • Value: usual.event.PACKAGE_REMOVED
    • Required permissions: none
  • COMMON_EVENT_BUNDLE_REMOVED(deprecated) (reserved, not supported yet) indicates that an installed bundle has been uninstalled from the device with the application data retained.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BUNDLE_REMOVED instead.

    • Value: usual.event.BUNDLE_REMOVED
    • Required permissions: none
  • COMMON_EVENT_PACKAGE_FULLY_REMOVED(deprecated) (reserved, not supported yet) indicates that an installed application, including both the application data and code, has been completely uninstalled from the device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_PACKAGE_FULLY_REMOVED instead.

    • Value: usual.event.PACKAGE_FULLY_REMOVED
    • Required permissions: none
  • COMMON_EVENT_PACKAGE_CHANGED(deprecated) indicates that an application package has been changed (for example, an ability in the package has been enabled or disabled).

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_PACKAGE_CHANGED instead.

    • Value: usual.event.PACKAGE_CHANGED
    • Required permissions: none
  • COMMON_EVENT_PACKAGE_RESTARTED(deprecated) indicates that the user closed all processes of the application and restarted the application.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_PACKAGE_RESTARTED instead.

    • Value: usual.event.PACKAGE_RESTARTED
    • Required permissions: none
  • COMMON_EVENT_PACKAGE_DATA_CLEARED(deprecated) indicates that the user cleared the application package data.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_PACKAGE_DATA_CLEARED instead.

    • Value: usual.event.PACKAGE_DATA_CLEARED
    • Required permissions: none
  • COMMON_EVENT_PACKAGES_SUSPENDED(deprecated) (reserved, not supported yet) indicates that application packages have been suspended.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_PACKAGES_SUSPENDED instead.

    • Value: usual.event.PACKAGES_SUSPENDED
    • Required permissions: none
  • COMMON_EVENT_PACKAGES_UNSUSPENDED(deprecated) (reserved, not supported yet) indicates that the application HAP package is not suspended (resumed from the suspended state).

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_PACKAGES_UNSUSPENDED instead.

    • Value: usual.event.PACKAGES_UNSUSPENDED
    • Required permissions: none
  • COMMON_EVENT_MY_PACKAGE_SUSPENDED(deprecated) indicates that the application HAP package is suspended.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_MY_PACKAGE_SUSPENDED instead.

    • Value: usual.event.MY_PACKAGE_SUSPENDED
    • Required permissions: none
  • COMMON_EVENT_MY_PACKAGE_UNSUSPENDED(deprecated) indicates that the application package is not suspended.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_MY_PACKAGE_UNSUSPENDED instead.

    • Value: usual.event.MY_PACKAGE_UNSUSPENDED
    • Required permissions: none
  • COMMON_EVENT_UID_REMOVED(deprecated) (reserved, not supported yet) indicates that a user ID has been removed from the system.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_UID_REMOVED instead.

    • Value: usual.event.UID_REMOVED
    • Required permissions: none
  • COMMON_EVENT_PACKAGE_FIRST_LAUNCH(deprecated) (reserved, not supported yet) indicates that an installed application is started for the first time.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_PACKAGE_FIRST_LAUNCH instead.

    • Value: usual.event.PACKAGE_FIRST_LAUNCH
    • Required permissions: none
  • COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION(deprecated) (reserved, not supported yet) indicates that an application requires system verification.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION instead.

    • Value: usual.event.PACKAGE_NEEDS_VERIFICATION
    • Required permissions: none
  • COMMON_EVENT_PACKAGE_VERIFIED(deprecated) (reserved, not supported yet) indicates that an application has been verified by the system.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_PACKAGE_VERIFIED instead.

    • Value: usual.event.PACKAGE_VERIFIED
    • Required permissions: none
  • COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE(deprecated) (reserved, not supported yet) indicates that applications installed on the external storage are available for the system.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE instead.

    • Value: usual.event.EXTERNAL_APPLICATIONS_AVAILABLE
    • Required permissions: none
  • COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE(deprecated) (reserved, not supported yet) indicates that applications installed on the external storage are not available for the system.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE instead.

    • Value: usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE
    • Required permissions: none
  • COMMON_EVENT_CONFIGURATION_CHANGED(deprecated) (reserved, not supported yet) indicates that the device state (for example, orientation and locale) has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_CONFIGURATION_CHANGED instead.

    • Value: usual.event.CONFIGURATION_CHANGED
    • Required permissions: none
  • COMMON_EVENT_LOCALE_CHANGED(deprecated) (reserved, not supported yet) indicates that the device locale has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_LOCALE_CHANGED instead.

    • Value: usual.event.LOCALE_CHANGED
    • Required permissions: none
  • COMMON_EVENT_MANAGE_PACKAGE_STORAGE(deprecated) (reserved, not supported yet) indicates that the device storage is insufficient.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_MANAGE_PACKAGE_STORAGE instead.

    • Value: usual.event.MANAGE_PACKAGE_STORAGE
    • Required permissions: none
  • COMMON_EVENT_DRIVE_MODE(deprecated) (reserved, not supported yet) indicates that the system is in driving mode.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_DRIVE_MODE instead.

    • Value: common.event.DRIVE_MODE
    • Required permissions: none
  • COMMON_EVENT_HOME_MODE(deprecated) (reserved, not supported yet) indicates that the system is in home mode.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_HOME_MODE instead.

    • Value: common.event.HOME_MODE
    • Required permissions: none
  • COMMON_EVENT_OFFICE_MODE(deprecated) (reserved, not supported yet) indicates that the system is in office mode.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_OFFICE_MODE instead.

    • Value: common.event.OFFICE_MODE
    • Required permissions: none
  • COMMON_EVENT_USER_STARTED(deprecated) (reserved, not supported yet) indicates that the user has been started.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USER_STARTED instead.

    • Value: usual.event.USER_STARTED
    • Required permissions: none
  • COMMON_EVENT_USER_BACKGROUND(deprecated) (reserved, not supported yet) indicates that the user has been brought to the background.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USER_BACKGROUND instead.

    • Value: usual.event.USER_BACKGROUND
    • Required permissions: none
  • COMMON_EVENT_USER_FOREGROUND(deprecated) (reserved, not supported yet) indicates that the user has been brought to the foreground.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USER_FOREGROUND instead.

    • Value: usual.event.USER_FOREGROUND
    • Required permissions: none
  • COMMON_EVENT_USER_SWITCHED(deprecated) indicates that user switching is in progress.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USER_SWITCHED instead.

    • Value: usual.event.USER_SWITCHED
    • Required permissions: ohos.permission.MANAGE_LOCAL_ACCOUNTS (for system applications only)
  • COMMON_EVENT_USER_STARTING(deprecated) (reserved, not supported yet) indicates that user starting is in progress.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USER_STARTING instead.

    • Value: usual.event.USER_STARTING
    • Required permissions: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS (for system applications only)
  • COMMON_EVENT_USER_UNLOCKED(deprecated) (reserved, not supported yet) indicates that the credential encryption storage of the current user has been unlocked upon restart.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USER_UNLOCKED instead.

    • Value: usual.event.USER_UNLOCKED
    • Required permissions: none
  • COMMON_EVENT_USER_STOPPING(deprecated) (reserved, not supported yet) indicates the user to be stopped.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USER_STOPPING instead.

    • Value: usual.event.USER_STOPPING
    • Required permissions: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS (for system applications only)
  • COMMON_EVENT_USER_STOPPED(deprecated) (reserved, not supported yet) indicates that the user has been stopped.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USER_STOPPED instead.

    • Value: usual.event.USER_STOPPED
    • Required permissions: none
  • COMMON_EVENT_WIFI_POWER_STATE(deprecated) indicates a change in the Wi-Fi state (enabled or disabled).

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_POWER_STATE instead.

    • Value: usual.event.wifi.POWER_STATE
    • Required permissions: none
  • COMMON_EVENT_WIFI_SCAN_FINISHED(deprecated) indicates that the Wi-Fi access point has been scanned and proved available.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_SCAN_FINISHED instead.

    • Value: usual.event.wifi.SCAN_FINISHED
    • Required permissions: ohos.permission.LOCATION
  • COMMON_EVENT_WIFI_RSSI_VALUE(deprecated) indicates that the Wi-Fi signal strength (RSSI) has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_RSSI_VALUE instead.

    • Value: usual.event.wifi.RSSI_VALUE
    • Required permissions: ohos.permission.GET_WIFI_INFO
  • COMMON_EVENT_WIFI_CONN_STATE(deprecated) indicates that the Wi-Fi connection state has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_CONN_STATE instead.

    • Value: usual.event.wifi.CONN_STATE
    • Required permissions: none
  • COMMON_EVENT_WIFI_HOTSPOT_STATE(deprecated) indicates a change in the Wi-Fi hotspot state (enabled or disabled).

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_HOTSPOT_STATE instead.

    • Value: usual.event.wifi.HOTSPOT_STATE
    • Required permissions: none
  • COMMON_EVENT_WIFI_AP_STA_JOIN(deprecated) indicates that a client has joined the Wi-Fi hotspot of the current device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_AP_STA_JOIN instead.

    • Value: usual.event.wifi.WIFI_HS_STA_JOIN
    • Required permissions: ohos.permission.GET_WIFI_INFO
  • COMMON_EVENT_WIFI_AP_STA_LEAVE(deprecated) indicates that the client is disconnected from the Wi-Fi hotspot of the current device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_AP_STA_LEAVE instead.

    • Value: usual.event.wifi.WIFI_HS_STA_LEAVE
    • Required permissions: ohos.permission.GET_WIFI_INFO
  • COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE(deprecated) (not supported yet) indicates that the state of MPLINK (an enhanced Wi-Fi feature) has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE instead.

    • Value: usual.event.wifi.mplink.STATE_CHANGE
    • Required permissions: none
  • COMMON_EVENT_WIFI_P2P_CONN_STATE(deprecated) indicates that the Wi-Fi P2P connection state has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_P2P_CONN_STATE instead.

    • Value: usual.event.wifi.p2p.CONN_STATE_CHANGE
    • Required permissions: ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION
  • COMMON_EVENT_WIFI_P2P_STATE_CHANGED(deprecated) indicates a change in the Wi-Fi P2P state (enabled or disabled).

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_P2P_STATE_CHANGED instead.

    • Value: usual.event.wifi.p2p.STATE_CHANGE
    • Required permissions: ohos.permission.GET_WIFI_INFO
  • COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED(deprecated) indicates that the state of the Wi-Fi P2P peer device has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED instead.

    • Value: usual.event.wifi.p2p.DEVICES_CHANGE
    • Required permissions: ohos.permission.GET_WIFI_INFO
  • COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED(deprecated) indicates that the Wi-Fi P2P discovery state has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED instead.

    • Value: usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE
    • Required permissions: ohos.permission.GET_WIFI_INFO
  • COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED(deprecated) indicates that the state of the Wi-Fi P2P local device has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED instead.

    • Value: usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE
    • Required permissions: ohos.permission.GET_WIFI_INFO
  • COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED(deprecated) indicates that the Wi-Fi P2P group information has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED instead.

    • Value: usual.event.wifi.p2p.GROUP_STATE_CHANGED
    • Required permissions: ohos.permission.GET_WIFI_INFO
  • COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE(deprecated) (reserved, not supported yet) indicates the connection state of Bluetooth handsfree communication.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE instead.

    • Value: usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE(deprecated) (reserved, not supported yet) indicates that the device connected to the Bluetooth handsfree function is active.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE instead.

    • Value: usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE(deprecated) (reserved, not supported yet) indicates that the connection state of Bluetooth A2DP has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE instead.

    • Value: usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE(deprecated) (reserved, not supported yet) indicates the connection state of Bluetooth A2DP.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE instead.

    • Value: usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE(deprecated) (reserved, not supported yet) indicates that the device connected using Bluetooth A2DP is active.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE instead.

    • Value: usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE(deprecated) (reserved, not supported yet) indicates that the playing state of Bluetooth A2DP has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE instead.

    • Value: usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE(deprecated) (reserved, not supported yet) indicates that the AVRCP connection state of Bluetooth A2DP has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE instead.

    • Value: usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE(deprecated) (reserved, not supported yet) indicates that the audio codec state of Bluetooth A2DP has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE instead.

    • Value: usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED(deprecated) (reserved, not supported yet) indicates that a remote Bluetooth device is discovered.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED instead.

    • Value: usual.event.bluetooth.remotedevice.DISCOVERED
    • Required permissions: ohos.permission.LOCATION and ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE(deprecated) (reserved, not supported yet) indicates that the Bluetooth class of a remote Bluetooth device has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE instead.

    • Value: usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED(deprecated) (reserved, not supported yet) indicates that a low-level (ACL) connection has been established with the remote Bluetooth device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED instead.

    • Value: usual.event.bluetooth.remotedevice.ACL_CONNECTED
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED(deprecated) (reserved, not supported yet) indicates that the low-level (ACL) connection has been disconnected from the remote Bluetooth device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED instead.

    • Value: usual.event.bluetooth.remotedevice.ACL_DISCONNECTED
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE(deprecated) (reserved, not supported yet) indicates that the friendly name of a remote Bluetooth device is retrieved for the first time or has changed since the last retrieval.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE instead.

    • Value: usual.event.bluetooth.remotedevice.NAME_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE(deprecated) (reserved, not supported yet) indicates the connection state with a remote Bluetooth device is changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE instead.

    • Value: usual.event.bluetooth.remotedevice.PAIR_STATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE(deprecated) (reserved, not supported yet) indicates that the battery level of a remote Bluetooth device is retrieved for the first time or has changed since the last retrieval.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE instead.

    • Value: usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT(deprecated) (reserved, not supported yet) indicates the SDP state of a remote Bluetooth device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT instead.

    • Value: usual.event.bluetooth.remotedevice.SDP_RESULT
    • Required permissions: none
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE(deprecated) (reserved, not supported yet) indicates the UUID connection state with a remote Bluetooth device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE instead.

    • Value: usual.event.bluetooth.remotedevice.UUID_VALUE
    • Required permissions: ohos.permission.DISCOVER_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ(deprecated) (reserved, not supported yet) indicates the pairing request from a remote Bluetooth device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ instead.

    • Value: usual.event.bluetooth.remotedevice.PAIRING_REQ
    • Required permissions: ohos.permission.DISCOVER_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL(deprecated) (reserved, not supported yet) indicates that Bluetooth pairing has been canceled.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL instead.

    • Value: usual.event.bluetooth.remotedevice.PAIRING_CANCEL
    • Required permissions: none
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ(deprecated) (reserved, not supported yet) indicates the connection request from a remote Bluetooth device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ instead.

    • Value: usual.event.bluetooth.remotedevice.CONNECT_REQ
    • Required permissions: none
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY(deprecated) (reserved, not supported yet) indicates the response to the connection request from a remote Bluetooth device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY instead.

    • Value: usual.event.bluetooth.remotedevice.CONNECT_REPLY
    • Required permissions: none
  • COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL(deprecated) (reserved, not supported yet) indicates that the connection to a remote Bluetooth device has been canceled.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL instead.

    • Value: usual.event.bluetooth.remotedevice.CONNECT_CANCEL
    • Required permissions: none
  • COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE(deprecated) (reserved, not supported yet) indicates that the connection state with a Bluetooth handsfree has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE instead.

    • Value: usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE
    • Required permissions: none
  • COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE(deprecated) (reserved, not supported yet) indicates that the audio state of a Bluetooth handsfree has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE instead.

    • Value: usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE
    • Required permissions: none
  • COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT(deprecated) (reserved, not supported yet) indicates that the audio gateway state of a Bluetooth handsfree has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT instead.

    • Value: usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT
    • Required permissions: none
  • COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE(deprecated) (reserved, not supported yet) indicates that the calling state of a Bluetooth handsfree has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE instead.

    • Value: usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE
    • Required permissions: none
  • COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE(deprecated) (reserved, not supported yet) indicates a change in the Bluetooth adapter state (enabled or disabled).

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE instead.

    • Value: usual.event.bluetooth.host.STATE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE(deprecated) (reserved, not supported yet) indicates that Bluetooth is discoverable.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE instead.

    • Value: usual.event.bluetooth.host.REQ_DISCOVERABLE
    • Required permissions: none
  • COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE(deprecated) (reserved, not supported yet) indicates that Bluetooth is enabled.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE instead.

    • Value: usual.event.bluetooth.host.REQ_ENABLE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE(deprecated) (reserved, not supported yet) indicates that Bluetooth is disabled.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE instead.

    • Value: usual.event.bluetooth.host.REQ_DISABLE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE(deprecated) (reserved, not supported yet) indicates that the Bluetooth scan mode of the device is changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE instead.

    • Value: usual.event.bluetooth.host.SCAN_MODE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED(deprecated) (reserved, not supported yet) indicates that Bluetooth discovery is started on the device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED instead.

    • Value: usual.event.bluetooth.host.DISCOVERY_STARTED
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED(deprecated) (reserved, not supported yet) indicates that Bluetooth discovery is finished on the device.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED instead.

    • Value: usual.event.bluetooth.host.DISCOVERY_FINISHED
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE(deprecated) (reserved, not supported yet) indicates that the name of the device Bluetooth adapter has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE instead.

    • Value: usual.event.bluetooth.host.NAME_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE(deprecated) (reserved, not supported yet) indicates that the connection state of Bluetooth A2DP Sink has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE instead.

    • Value: usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE(deprecated) (reserved, not supported yet) indicates that the playing state of Bluetooth A2DP Sink has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE instead.

    • Value: usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE(deprecated) (reserved, not supported yet) indicates that the audio state of Bluetooth A2DP Sink has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE instead.

    • Value: usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE
    • Required permissions: ohos.permission.USE_BLUETOOTH
  • COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED(deprecated) (reserved, not supported yet) indicates that the state of the device NFC adapter has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED instead.

    • Value: usual.event.nfc.action.ADAPTER_STATE_CHANGED
    • Required permissions: none
  • COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED(deprecated) (reserved, not supported yet) indicates that the NFC RF field is detected to be in the enabled state.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED instead.

    • Value: usual.event.nfc.action.RF_FIELD_ON_DETECTED
    • Required permissions: ohos.permission.MANAGE_SECURE_SETTINGS (for system applications only)
  • COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED(deprecated) (reserved, not supported yet) indicates that the NFC RF field is detected to be in the disabled state.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED instead.

    • Value: usual.event.nfc.action.RF_FIELD_OFF_DETECTED
    • Required permissions: ohos.permission.MANAGE_SECURE_SETTINGS (for system applications only)
  • COMMON_EVENT_DISCHARGING(deprecated) indicates that the system stops charging the battery.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_DISCHARGING instead.

    • Value: usual.event.DISCHARGING
    • Required permissions: none
  • COMMON_EVENT_CHARGING(deprecated) indicates that the system starts charging the battery.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_CHARGING instead.

    • Value: usual.event.CHARGING
    • Required permissions: none
  • COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED(deprecated) (reserved, not supported yet) indicates that the system idle mode has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED instead.

    • Value: usual.event.DEVICE_IDLE_MODE_CHANGED
    • Required permissions: none
  • COMMON_EVENT_POWER_SAVE_MODE_CHANGED(deprecated) indicates that the system power-saving mode has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_POWER_SAVE_MODE_CHANGED instead.

    • Value: usual.event.POWER_SAVE_MODE_CHANGED
    • Required permissions: none
  • COMMON_EVENT_USER_ADDED(deprecated) indicates that a user has been added to the system.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USER_ADDED instead.

    • Value: usual.event.USER_ADDED
    • Required permissions: ohos.permission.MANAGE_LOCAL_ACCOUNTS (for system applications only)
  • COMMON_EVENT_USER_REMOVED(deprecated) indicates that a user has been removed from the system.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USER_REMOVED instead.

    • Value: usual.event.USER_REMOVED
    • Required permissions: ohos.permission.MANAGE_LOCAL_ACCOUNTS (for system applications only)
  • COMMON_EVENT_ABILITY_ADDED(deprecated) (reserved, not supported yet) indicates that an ability has been added.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_ABILITY_ADDED instead.

    • Value: usual.event.ABILITY_ADDED
    • Required permissions: ohos.permission.LISTEN_BUNDLE_CHANGE
  • COMMON_EVENT_ABILITY_REMOVED(deprecated) (reserved, not supported yet) indicates that an ability has been removed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_ABILITY_REMOVED instead.

    • Value: usual.event.ABILITY_REMOVED
    • Required permissions: ohos.permission.LISTEN_BUNDLE_CHANGE
  • COMMON_EVENT_ABILITY_UPDATED(deprecated) (reserved, not supported yet) indicates that an ability has been updated.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_ABILITY_UPDATED instead.

    • Value: usual.event.ABILITY_UPDATED
    • Required permissions: ohos.permission.LISTEN_BUNDLE_CHANGE
  • COMMON_EVENT_LOCATION_MODE_STATE_CHANGED(deprecated) (reserved, not supported yet) indicates that the location mode of the system has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_LOCATION_MODE_STATE_CHANGED instead.

    • Value: usual.event.location.MODE_STATE_CHANGED
    • Required permissions: none
  • COMMON_EVENT_IVI_SLEEP(deprecated) (reserved, not supported yet) indicates that the in-vehicle infotainment (IVI) system of the vehicle is sleeping.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_IVI_SLEEP instead.

    • Value: common.event.IVI_SLEEP
    • Required permissions: none
  • COMMON_EVENT_IVI_PAUSE(deprecated) (reserved, not supported yet) indicates that the IVI system of the vehicle is in sleep mode and notifies the application to stop playing.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_IVI_PAUSE instead.

    • Value: common.event.IVI_PAUSE
    • Required permissions: none
  • COMMON_EVENT_IVI_STANDBY(deprecated) (reserved, not supported yet) indicates that a third-party application in the IVI system of a vehicle is suspended.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_IVI_STANDBY instead.

    • Value: common.event.IVI_STANDBY
    • Required permissions: none
  • COMMON_EVENT_IVI_LASTMODE_SAVE(deprecated) (reserved, not supported yet) indicates that the third-party application in the IVI system of the vehicle saves the last mode.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_IVI_LASTMODE_SAVE instead.

    • Value: common.event.IVI_LASTMODE_SAVE
    • Required permissions: none
  • COMMON_EVENT_IVI_VOLTAGE_ABNORMAL(deprecated) (reserved, not supported yet) indicates that the voltage of the vehicle's power system is abnormal.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_IVI_VOLTAGE_ABNORMAL instead.

    • Value: common.event.IVI_VOLTAGE_ABNORMAL
    • Required permissions: none
  • COMMON_EVENT_IVI_HIGH_TEMPERATURE(deprecated) (reserved, not supported yet) indicates that the temperature of the IVI system of the vehicle is too high.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_IVI_HIGH_TEMPERATURE instead.

    • Value: common.event.IVI_HIGH_TEMPERATURE
    • Required permissions: none
  • COMMON_EVENT_IVI_EXTREME_TEMPERATURE(deprecated) (reserved, not supported yet) indicates that the temperature of the IVI system of the vehicle is extremely high.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_IVI_EXTREME_TEMPERATURE instead.

    • Value: common.event.IVI_EXTREME_TEMPERATURE
    • Required permissions: none
  • COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL(deprecated) (reserved, not supported yet) indicates that the IVI system of the vehicle has an extreme temperature.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL instead.

    • Value: common.event.IVI_TEMPERATURE_ABNORMAL
    • Required permissions: none
  • COMMON_EVENT_IVI_VOLTAGE_RECOVERY(deprecated) (reserved, not supported yet) indicates that the voltage of the vehicle's power system is restored to normal.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_IVI_VOLTAGE_RECOVERY instead.

    • Value: common.event.IVI_VOLTAGE_RECOVERY
    • Required permissions: none
  • COMMON_EVENT_IVI_TEMPERATURE_RECOVERY(deprecated) (reserved, not supported yet) indicates that the temperature of the IVI system is restored to normal.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_IVI_TEMPERATURE_RECOVERY instead.

    • Value: common.event.IVI_TEMPERATURE_RECOVERY
    • Required permissions: none
  • COMMON_EVENT_IVI_ACTIVE(deprecated) (reserved, not supported yet) indicates that the battery service of the vehicle-mounted system is active.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_IVI_ACTIVE instead.

    • Value: common.event.IVI_ACTIVE
    • Required permissions: none
  • COMMON_EVENT_USB_DEVICE_ATTACHED(deprecated) indicates that a USB device has been attached to the device functioning as a USB host.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USB_DEVICE_ATTACHED instead.

    • Value: usual.event.hardware.usb.action.USB_DEVICE_ATTACHED
    • Required permissions: none
  • COMMON_EVENT_USB_DEVICE_DETACHED(deprecated) indicates that a USB device has been detached from the device functioning as a USB host.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USB_DEVICE_DETACHED instead.

    • Value: usual.event.hardware.usb.action.USB_DEVICE_DETACHED
    • Required permissions: none
  • COMMON_EVENT_USB_ACCESSORY_ATTACHED(deprecated) (reserved, not supported yet) indicates that a USB accessory was attached.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USB_ACCESSORY_ATTACHED instead.

    • Value: usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED
    • Required permissions: none
  • COMMON_EVENT_USB_ACCESSORY_DETACHED(deprecated) (reserved, not supported yet) indicates that the USB attachment is uninstalled.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_USB_ACCESSORY_DETACHED instead.

    • Value: usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED
    • Required permissions: none
  • COMMON_EVENT_DISK_REMOVED(deprecated) (reserved, not supported yet) indicates that an external storage device was removed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_DISK_REMOVED instead.

    • Value: usual.event.data.DISK_REMOVED
    • Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
  • COMMON_EVENT_DISK_UNMOUNTED(deprecated) (reserved, not supported yet) indicates that an external storage device was unmounted.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_DISK_UNMOUNTED instead.

    • Value: usual.event.data.DISK_UNMOUNTED
    • Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
  • COMMON_EVENT_DISK_MOUNTED(deprecated) (reserved, not supported yet) indicates that an external storage device was mounted.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_DISK_MOUNTED instead.

    • Value: usual.event.data.DISK_MOUNTED
    • Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
  • COMMON_EVENT_DISK_BAD_REMOVAL(deprecated) (reserved, not supported yet) indicates that an external storage device was removed without being unmounted.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_DISK_BAD_REMOVAL instead.

    • Value: usual.event.data.DISK_BAD_REMOVAL
    • Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
  • COMMON_EVENT_DISK_UNMOUNTABLE(deprecated) (reserved, not supported yet) indicates that the external storage device cannot be mounted when a card is inserted.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_DISK_UNMOUNTABLE instead.

    • Value: usual.event.data.DISK_UNMOUNTABLE
    • Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
  • COMMON_EVENT_DISK_EJECT(deprecated) (reserved, not supported yet) indicates that the external storage medium has been ejected (interactive operation at the system software layer, not directly ejected physically).

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_DISK_EJECT instead.

    • Value: usual.event.data.DISK_EJECT
    • Required permissions: ohos.permission.STORAGE_MANAGER (for system applications only)
  • COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED(deprecated) (reserved, not supported yet) indicates that the account visibility changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED instead.

    • Value: usual.event.data.VISIBLE_ACCOUNTS_UPDATED
    • Required permissions: ohos.permission.GET_APP_ACCOUNTS (for system applications only)
  • COMMON_EVENT_ACCOUNT_DELETED(deprecated) (reserved, not supported yet) indicates that an account was deleted.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_ACCOUNT_DELETED instead.

    • Value: usual.event.data.ACCOUNT_DELETED
    • Required permissions: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS (for system applications only)
  • COMMON_EVENT_FOUNDATION_READY(deprecated) (reserved, not supported yet) indicates that the foundation is ready.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_FOUNDATION_READY instead.

    • Value: usual.event.data.FOUNDATION_READY
    • Required permissions: ohos.permission.RECEIVER_STARTUP_COMPLETED (for system applications only)
  • COMMON_EVENT_AIRPLANE_MODE_CHANGED(deprecated) indicates that the airplane mode of the device has changed.

    NOTE

    This type is supported since API version 7 and deprecated since API version 9. You are advised to use COMMON_EVENT_AIRPLANE_MODE_CHANGED instead.

    • Value: usual.event.AIRPLANE_MODE
    • Required permissions: none
  • COMMON_EVENT_SPLIT_SCREEN(deprecated) indicates that the screen has been split.

    NOTE

    This type is supported since API version 8 and deprecated since API version 9. You are advised to use COMMON_EVENT_SPLIT_SCREEN instead.