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