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