• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
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
378APIs related to this event: **auth**. This API is a system API. For details, see [@ohos.account.osAccount (OS Account Management)](../js-apis-osAccount.md).
379
380**System capability**: SystemCapability.Notification.CommonEvent
381
382**Required subscriber permissions**: none
383
384**System capability**: SystemCapability.Notification.CommonEvent
385
386**Value**: "usual.event.USER_UNLOCKED"
387
388
389### COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGIN
390
391Indicates a successful login from a distributed account.
392
393When a distributed account is successfully logged in, the event notification service is triggered to publish this event carrying the system account ID.
394
395APIs 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).
396
397**System capability**: SystemCapability.Notification.CommonEvent
398
399**Required subscriber permissions**: none
400
401**Atomic service API**: This API can be used in atomic services since API version 12.
402
403**Value**: "common.event.DISTRIBUTED_ACCOUNT_LOGIN"
404
405
406### COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOUT
407
408Indicates a successful logout from a distributed account.
409
410When a distributed account is successfully logged out, the event notification service is triggered to publish this event carrying the system account ID.
411
412APIs 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).
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**: "common.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** 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).
430
431**Required subscriber permissions**: none
432
433**System capability**: SystemCapability.Notification.CommonEvent
434
435**Atomic service API**: This API can be used in atomic services since API version 12.
436
437**Value**: "common.event.DISTRIBUTED_ACCOUNT_TOKEN_INVALID"
438
439### COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOFF
440
441Indicates that a distributed account is deregistered.
442
443When a distributed account is deregistered, the event notification service is triggered to publish this event carrying the system account ID.
444
445APIs 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).
446
447**System capability**: SystemCapability.Notification.CommonEvent
448
449**Required subscriber permissions**: none
450
451**Atomic service API**: This API can be used in atomic services since API version 12.
452
453**Value**: "common.event.DISTRIBUTED_ACCOUNT_LOGOFF"
454
455### COMMON_EVENT_SCREEN_LOCKED
456
457Indicates that the screen has been locked.
458When the screen is locked, the event notification service is triggered to publish this event.
459
460**System capability**: SystemCapability.Notification.CommonEvent
461
462**Required subscriber permissions**: none
463
464**Atomic service API**: This API can be used in atomic services since API version 11.
465
466**Value**: usual.event.SCREEN_LOCKED
467
468### COMMON_EVENT_SCREEN_UNLOCKED
469
470Indicates that the screen has been unlocked.
471When the screen is unlocked, the event notification service is triggered to publish this event.
472
473**System capability**: SystemCapability.Notification.CommonEvent
474
475**Required subscriber permissions**: none
476
477**Atomic service API**: This API can be used in atomic services since API version 11.
478
479**Value**: usual.event.SCREEN_UNLOCKED
480
481
482### COMMON_EVENT_USER_PRESENT<sup>(deprecated)</sup>
483Indicates the action of a common event that the user unlocks the device.
484
485  > Notes:
486  >
487  > This API is deprecated since API Version 10 and replaced by [COMMON_EVENT_SCREEN_UNLOCKED](#common_event_screen_unlocked).
488
489**System capability**: SystemCapability.Notification.CommonEvent
490
491**Required subscriber permissions**: none
492
493**Value**: usual.event.USER_PRESENT
494
495
496### COMMON_EVENT_BATTERY_CHANGED
497
498Indicates that the charging state, level, and other information about the battery have changed.
499
500When 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.
501
502**System capability**: SystemCapability.Notification.CommonEvent
503
504**Required subscriber permissions**: none
505
506**Value**: "usual.event.BATTERY_CHANGED"
507
508
509### COMMON_EVENT_BATTERY_LOW
510
511Indicates that the battery level is low.
512
513When 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-->
514
515**System capability**: SystemCapability.Notification.CommonEvent
516
517**Required subscriber permissions**: none
518
519**Value**: "usual.event.BATTERY_LOW"
520
521
522### COMMON_EVENT_BATTERY_OKAY
523
524Indicates that the battery level is normal.
525
526When the battery level changes from the low level to normal level, the event notification service is triggered to publish this event.
527
528
529**System capability**: SystemCapability.Notification.CommonEvent
530
531**Required subscriber permissions**: none
532
533**Value**: "usual.event.BATTERY_OKAY"
534
535
536### COMMON_EVENT_POWER_CONNECTED
537
538Indicates that the device is connected to an external power supply.
539
540When the device connects to an external charger, the event notification service is triggered to publish this event.
541
542**System capability**: SystemCapability.Notification.CommonEvent
543
544**Required subscriber permissions**: none
545
546**Value**: "usual.event.POWER_CONNECTED"
547
548
549### COMMON_EVENT_POWER_DISCONNECTED
550
551Indicates that the device is disconnected from the external power supply.
552
553When the device is disconnected from the external power supply, the event notification service is triggered to publish this event.
554
555**System capability**: SystemCapability.Notification.CommonEvent
556
557**Required subscriber permissions**: none
558
559**Value**: "usual.event.POWER_DISCONNECTED"
560
561
562### COMMON_EVENT_DISCHARGING
563
564Indicates the common event that the system stops charging the battery.
565
566When the system stops charging the battery, the event notification service is triggered to publish this event.
567
568**System capability**: SystemCapability.Notification.CommonEvent
569
570**Required subscriber permissions**: none
571
572**Value**: "usual.event.DISCHARGING"
573
574
575### COMMON_EVENT_CHARGING
576
577Indicates the common event that the system starts charging the battery.
578
579When the system starts charging the battery, the event notification service is triggered to publish this event.
580
581**System capability**: SystemCapability.Notification.CommonEvent
582
583**Required subscriber permissions**: none
584
585**Value**: "usual.event.CHARGING"
586
587### COMMON_EVENT_CHARGE_IDLE_MODE_CHANGED<sup>10+</sup>
588
589Indicates the common event that the device enters the charging idle mode.
590
591When the device starts charging in idle mode, and the temperature rise is acceptable, the event notification service is triggered to publish this event.
592
593**System capability**: SystemCapability.Notification.CommonEvent
594
595**Required subscriber permissions**: none
596
597**Value**: "usual.event.CHARGE_IDLE_MODE_CHANGED"
598
599
600### COMMON_EVENT_SHUTDOWN
601
602Indicates the common event that the device is being shut down and the final shutdown will proceed.
603
604When the device is being shut down until it is powered off, the event notification service is triggered to publish this event.
605
606**System capability**: SystemCapability.Notification.CommonEvent
607
608**Required subscriber permissions**: none
609
610**Value**: "usual.event.SHUTDOWN"
611
612
613### COMMON_EVENT_SCREEN_OFF
614
615Indicates the common event that a device screen-off initiated by the power service is complete.
616
617When the device screen-off initiated by the power service is complete, the event notification service is triggered to release this event.
618
619**System capability**: SystemCapability.Notification.CommonEvent
620
621**Required subscriber permissions**: none
622
623**Value**: "usual.event.SCREEN_OFF"
624
625
626### COMMON_EVENT_SCREEN_ON
627
628Indicates the common event that a device screen-on initiated by the power service is complete.
629
630When the device screen-on initiated by the power service is complete, the event notification service is triggered to release this event.
631
632**System capability**: SystemCapability.Notification.CommonEvent
633
634**Required subscriber permissions**: none
635
636**Value**: "usual.event.SCREEN_ON"
637
638
639### COMMON_EVENT_POWER_SAVE_MODE_CHANGED
640
641Indicates that the system power saving mode has changed.
642
643When the system power saving mode changes, the event notification service is triggered to publish this event.
644
645**System capability**: SystemCapability.Notification.CommonEvent
646
647**Required subscriber permissions**: none
648
649**Value**: "usual.event.POWER_SAVE_MODE_CHANGED"
650
651
652### COMMON_EVENT_THERMAL_LEVEL_CHANGED
653
654Indicates that the device's thermal level has changed.
655
656When 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-->
657
658**System capability**: SystemCapability.Notification.CommonEvent
659
660**Required subscriber permissions**: none
661
662**Value**: "usual.event.THERMAL_LEVEL_CHANGED"
663
664
665### COMMON_EVENT_ENTER_FORCE_SLEEP<sup>12+</sup>
666
667Indicates that the device is about to enter the forced sleep mode.
668
669When 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.
670
671
672**System capability**: SystemCapability.Notification.CommonEvent
673
674**Required subscriber permissions**: none
675
676**Value**: "usual.event.ENTER_FORCE_SLEEP"
677
678### COMMON_EVENT_EXIT_FORCE_SLEEP<sup>12+</sup>
679
680Indicates that the device exits the forced sleep mode.
681
682When the device exits the forced sleep mode, the event notification service is triggered to publish this event.
683
684
685**System capability**: SystemCapability.Notification.CommonEvent
686
687**Required subscriber permissions**: none
688
689**Value**: "usual.event.EXIT_FORCE_SLEEP"
690
691
692
693
694## Connectivity Kit
695
696
697### COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED
698
699Indicates that the state of the device NFC adapter has changed.
700
701When the state of the device NFC adapter changes, the event notification service is triggered to publish this event.
702
703**System capability**: SystemCapability.Notification.CommonEvent
704
705**Required subscriber permissions**: none
706
707**Value**: "usual.event.nfc.action.ADAPTER_STATE_CHANGED"
708
709
710### COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED
711
712Indicates that the NFC RF field is on.
713
714When the NFC RF field becomes available, the event notification service is triggered to publish this event.
715
716**System capability**: SystemCapability.Notification.CommonEvent
717
718**Required subscriber permissions**: none
719
720**Value**: "usual.event.nfc.action.RF_FIELD_ON_DETECTED"
721
722
723### COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED
724
725Indicates that the NFC RF field is off.
726
727When the NFC RF field becomes unavailable, the event notification service is triggered to publish this event.
728
729**System capability**: SystemCapability.Notification.CommonEvent
730
731**Required subscriber permissions**: none
732
733**Value**: "usual.event.nfc.action.RF_FIELD_OFF_DETECTED"
734
735
736### COMMON_EVENT_WIFI_POWER_STATE
737
738Indicates that the Wi-Fi state changes.
739
740When the Wi-Fi state changes (such as enabled or disabled), the event notification service is triggered to release the system public event.
741
742**System capability**: SystemCapability.Notification.CommonEvent
743
744**Required subscriber permissions**: none
745
746**Value**: "usual.event.wifi.POWER_STATE"
747
748
749### COMMON_EVENT_WIFI_SCAN_FINISHED
750
751Indicates that a Wi-Fi access point is detected and proven to be available.
752
753When a Wi-Fi access point is detected and proven to be available, the event notification service is triggered to publish this event.
754
755**System capability**: SystemCapability.Notification.CommonEvent
756
757**Required subscriber permissions**: ohos.permission.LOCATION
758
759**Value**: "usual.event.wifi.SCAN_FINISHED"
760
761
762### COMMON_EVENT_WIFI_SCAN_STATE
763
764Indicates that the Wi-Fi access point state has changed.
765
766When the Wi-Fi access point state changes, the event notification service is triggered to publish this event.
767
768**System capability**: SystemCapability.Notification.CommonEvent
769
770**Required subscriber permissions**: ohos.permission.LOCATION
771
772**Value**: "usual.event.wifi.SCAN_STATE"
773
774### COMMON_EVENT_WIFI_RSSI_VALUE
775
776  Indicates that the Wi-Fi signal strength (RSSI) has changed.
777
778  When the Wi-Fi signal strength (RSSI) changes, the event notification service is triggered to publish this event.
779
780**System capability**: SystemCapability.Notification.CommonEvent
781
782**Required subscriber permissions**: ohos.permission.GET_WIFI_INFO
783
784**Value**: "usual.event.wifi.RSSI_VALUE"
785
786### COMMON_EVENT_WIFI_CONN_STATE
787
788  Indicates that the Wi-Fi connection state has changed.
789
790  When the Wi-Fi connection state changes, the event notification service is triggered to publish this event.
791
792
793**System capability**: SystemCapability.Notification.CommonEvent
794
795**Required subscriber permissions**: none
796
797**Value**: "usual.event.wifi.CONN_STATE"
798
799
800### COMMON_EVENT_WIFI_HOTSPOT_STATE
801
802Indicates that the Wi-Fi hotspot state has changed.
803
804When the Wi-Fi hotspot state changes, the event notification service is triggered to publish this event.
805
806**System capability**: SystemCapability.Notification.CommonEvent
807
808**Required subscriber permissions**: none
809
810**Value**: "usual.event.wifi.HOTSPOT_STATE"
811
812
813### COMMON_EVENT_WIFI_AP_STA_JOIN
814
815Indicates that a client has joined the Wi-Fi hotspot of the current device.
816
817When a client joins the Wi-Fi hotspot of the current device, the event notification service is triggered to publish this event.
818
819**System capability**: SystemCapability.Notification.CommonEvent
820
821**Required subscriber permissions**: ohos.permission.GET_WIFI_INFO
822
823**Value**: "usual.event.wifi.WIFI_HS_STA_JOIN"
824
825
826### COMMON_EVENT_WIFI_AP_STA_LEAVE
827
828Indicates that the client is disconnected from the Wi-Fi hotspot of the current device.
829
830When a client is disconnected from the Wi-Fi hotspot of the current device, the event notification service is triggered to publish this event.
831
832
833**System capability**: SystemCapability.Notification.CommonEvent
834
835**Required subscriber permissions**: ohos.permission.GET_WIFI_INFO
836
837**Value**: "usual.event.wifi.WIFI_HS_STA_LEAVE"
838
839
840### COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE
841
842Indicates that the state of MPLINK (an enhanced Wi-Fi feature) has changed.
843
844When the state of MPLINK (an enhanced Wi-Fi feature) changes, the event notification service is triggered to publish this event.
845
846
847**System capability**: SystemCapability.Notification.CommonEvent
848
849**Required subscriber permissions**: ohos.permission.MPLINK_CHANGE_STATE
850
851**Value**: "usual.event.wifi.mplink.STATE_CHANGE"
852
853
854### COMMON_EVENT_WIFI_P2P_CONN_STATE
855
856Indicates that the Wi-Fi P2P connection state has changed.
857
858When the Wi-Fi P2P connection state changes, the event notification service is triggered to publish this event.
859
860
861**System capability**: SystemCapability.Notification.CommonEvent
862
863**Required subscriber permissions**: ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION
864
865**Value**: "usual.event.wifi.p2p.CONN_STATE_CHANGE"
866
867
868### COMMON_EVENT_WIFI_P2P_STATE_CHANGED
869
870Indicates that the Wi-Fi P2P state has changed.
871
872When the Wi-Fi P2P state changes, the event notification service is triggered to publish this event.
873
874**System capability**: SystemCapability.Notification.CommonEvent
875
876**Required subscriber permissions**: ohos.permission.GET_WIFI_INFO
877
878**Value**: "usual.event.wifi.p2p.STATE_CHANGE"
879
880
881### COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED
882
883Indicates that the state of the Wi-Fi P2P peer device has changed.
884
885When the state of the Wi-Fi P2P peer device changes, the event notification service is triggered to publish this event.
886
887**System capability**: SystemCapability.Notification.CommonEvent
888
889**Required subscriber permissions**: ohos.permission.GET_WIFI_INFO
890
891**Value:** "usual.event.wifi.p2p.DEVICES_CHANGE"
892
893
894### COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED
895
896Indicates that the Wi-Fi P2P discovery state has changed.
897
898When the Wi-Fi P2P discovery state changes, the event notification service is triggered to publish this event.
899
900**System capability**: SystemCapability.Notification.CommonEvent
901
902**Required subscriber permissions**: ohos.permission.GET_WIFI_INFO
903
904**Value**: "usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE"
905
906
907### COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED
908
909Indicates that the state of the Wi-Fi P2P local device has changed.
910
911When the state of the Wi-Fi P2P local device changes, the event notification service is triggered to publish this event.
912
913**System capability**: SystemCapability.Notification.CommonEvent
914
915**Required subscriber permissions**: ohos.permission.GET_WIFI_INFO
916
917**Value**: "usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE"
918
919
920### COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED
921
922Indicates that the Wi-Fi P2P group information has changed.
923
924When the Wi-Fi P2P group information changes, the event notification service is triggered to publish this event.
925
926**System capability**: SystemCapability.Notification.CommonEvent
927
928**Required subscriber permissions**: ohos.permission.GET_WIFI_INFO
929
930**Value**: "usual.event.wifi.p2p.GROUP_STATE_CHANGED"
931
932
933
934## Localization Kit
935
936### COMMON_EVENT_LOCALE_CHANGED
937
938Indicates the common event that the system language is set.
939When the system language is set, the event notification service is triggered to publish this event.
940
941**System capability**: SystemCapability.Notification.CommonEvent
942
943**Required subscriber permissions**: none
944
945**Value**: usual.event.LOCALE_CHANGED
946
947
948
949
950## Network Kit
951
952### COMMON_EVENT_CONNECTIVITY_CHANGE<sup>10+</sup>
953
954Indicates that the network connection state has changed.
955
956When 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.
957The following table lists the enumerated values and their corresponding connection status.
958
959| Value |  Connection State |
960| ------ | ---------- |
961|    2   |   Connecting.  |
962|    3   |   Connected.  |
963|    4   |   Disconnecting.|
964|    5   |   Disconnected.  |
965
966**System capability**: SystemCapability.Notification.CommonEvent
967
968**Required subscriber permissions**: none
969
970**Atomic service API**: This API can be used in atomic services since API version 11.
971
972**Value**: usual.event.CONNECTIVITY_CHANGE
973
974
975### COMMON_EVENT_AIRPLANE_MODE_CHANGED<sup>10+</sup>
976
977Indicates that the airplane mode state has changed.
978
979When the airplane mode is enabled or disabled, the event notification service is triggered to publish this event.
980
981**System capability**: SystemCapability.Notification.CommonEvent
982
983**Required subscriber permissions**: none
984
985**Value**: usual.event.AIRPLANE_MODE
986
987
988### COMMON_EVENT_HTTP_PROXY_CHANGE<sup>10+</sup>
989
990Indicates that the HTTP proxy configuration has changed.
991
992When 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.
993
994**System capability**: SystemCapability.Notification.CommonEvent
995
996**Required subscriber permissions**: none
997
998**Value**: usual.event.HTTP_PROXY_CHANGE
999
1000
1001
1002## Telephony Kit
1003
1004This document lists the common system events provided by the telephony subsystem to applications.
1005
1006### COMMON_EVENT_SIM_STATE_CHANGED<sup>10+</sup>
1007
1008Indicates that the SIM card status has changed.
1009
1010When there is a change in the SIM card status of the device, the event notification service is triggered to publish this event.
1011
1012**System capability**: SystemCapability.Notification.CommonEvent
1013
1014**Required subscriber permissions**: none
1015
1016**Value**: usual.event.SIM_STATE_CHANGED
1017
1018### COMMON_EVENT_CALL_STATE_CHANGED<sup>10+</sup>
1019
1020Indicates that the call state has been updated.
1021
1022When the call state of the device is updated, the event notification service is triggered to publish this event.
1023
1024**System capability**: SystemCapability.Notification.CommonEvent
1025
1026**Required subscriber permissions**: ohos.permission.GET_TELEPHONY_STATE (for system apps only)
1027
1028**Value**: usual.event.CALL_STATE_CHANGED
1029
1030### COMMON_EVENT_NETWORK_STATE_CHANGED<sup>10+</sup>
1031
1032Indicates that the network state has been updated.
1033
1034When the network state of the device is updated, the event notification service is triggered to publish this event.
1035
1036**System capability**: SystemCapability.Notification.CommonEvent
1037
1038**Required subscriber permissions**: none
1039
1040**Value**: usual.event.NETWORK_STATE_CHANGED
1041
1042
1043### COMMON_EVENT_SIGNAL_INFO_CHANGED<sup>10+</sup>
1044
1045Indicates that the signal information has been updated.
1046
1047When the signal information of the device is updated, the event notification service is triggered to publish this event.
1048
1049**System capability**: SystemCapability.Notification.CommonEvent
1050
1051**Required subscriber permissions**: none
1052
1053**Value**: usual.event.SIGNAL_INFO_CHANGED
1054
1055**System capability**: SystemCapability.Notification.CommonEvent
1056
1057
1058
1059## Store Kit
1060This document lists the common system events provided by the Store Kit to applications.
1061
1062### COMMON_EVENT_PRIVACY_STATE_CHANGED<sup>11+</sup>
1063Indicates the privacy signature result.
1064When a user clicks **Agree** in a privacy dialog box, the event notification service is triggered to publish this event.
1065
1066**System capability**: SystemCapability.Notification.CommonEvent
1067
1068**Required subscriber permissions**: none
1069
1070**Value**: "usual.event.PRIVACY_STATE_CHANGED"
1071
1072
1073
1074## Reserved Common Event
1075
1076Below are reserved common events that are not supported yet.
1077
1078
1079### COMMON_EVENT_PACKAGE_FIRST_LAUNCH
1080
1081(Reserved, not supported yet) Indicates an initial start of an application after installation.
1082
1083**System capability**: SystemCapability.Notification.CommonEvent
1084
1085**Required subscriber permissions**: none
1086
1087**Value**: "usual.event.PACKAGE_FIRST_LAUNCH"
1088
1089
1090### COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION
1091
1092(Reserved, not supported yet) Indicates that a package is sent by the system verifier when the package needs verification.
1093
1094**System capability**: SystemCapability.Notification.CommonEvent
1095
1096**Required subscriber permissions**: none
1097
1098**Value**: "usual.event.PACKAGE_NEEDS_VERIFICATION"
1099
1100
1101### COMMON_EVENT_PACKAGE_VERIFIED
1102
1103(Reserved, not supported yet) Indicates that a package is sent by the system verifier when the package is verified.
1104
1105**System capability**: SystemCapability.Notification.CommonEvent
1106
1107**Required subscriber permissions**: none
1108
1109**Value**: "usual.event.PACKAGE_VERIFIED"
1110
1111### COMMON_EVENT_PACKAGE_REPLACED
1112
1113(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.
1114
1115**System capability**: SystemCapability.Notification.CommonEvent
1116
1117**Required subscriber permissions**: none
1118
1119**Value**: "usual.event.PACKAGE_REPLACED"
1120
1121
1122### COMMON_EVENT_MY_PACKAGE_REPLACED
1123
1124(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.
1125
1126**System capability**: SystemCapability.Notification.CommonEvent
1127
1128**Required subscriber permissions**: none
1129
1130**Value**: "usual.event.MY_PACKAGE_REPLACED"
1131
1132
1133### COMMON_EVENT_PACKAGES_UNSUSPENDED
1134
1135(Reserved, not supported yet) Indicates that the package has been unsuspended.
1136
1137**System capability**: SystemCapability.Notification.CommonEvent
1138
1139**Required subscriber permissions**: none
1140
1141**Value**: "usual.event.PACKAGES_UNSUSPENDED"
1142
1143
1144### COMMON_EVENT_CLOSE_SYSTEM_DIALOGS
1145
1146(Reserved, not supported yet) Indicates the common event that a user closes a temporary system dialog box.
1147
1148**System capability**: SystemCapability.Notification.CommonEvent
1149
1150**Required subscriber permissions**: none
1151
1152**Value**: "usual.event.CLOSE_SYSTEM_DIALOGS"
1153
1154### COMMON_EVENT_UID_REMOVED
1155
1156(Reserved, not supported yet) Indicates the common event that a user ID has been removed from the system.
1157
1158**System capability**: SystemCapability.Notification.CommonEvent
1159
1160**Required subscriber permissions**: none
1161
1162**Value**: "usual.event.UID_REMOVED"
1163
1164
1165### COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE
1166
1167(Reserved, not supported yet) Indicates the common event that applications installed on the external storage become available for the system.
1168
1169**System capability**: SystemCapability.Notification.CommonEvent
1170
1171**Required subscriber permissions**: none
1172
1173**Value**: "usual.event.EXTERNAL_APPLICATIONS_AVAILABLE"
1174
1175
1176### COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE
1177
1178(Reserved, not supported yet) Indicates the common event that applications installed on the external storage become unavailable for the system.
1179
1180**System capability**: SystemCapability.Notification.CommonEvent
1181
1182**Required subscriber permissions**: none
1183
1184**Value**: "usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE"
1185
1186
1187### COMMON_EVENT_CONFIGURATION_CHANGED
1188
1189(Reserved, not supported yet) Indicates the common event that the device state (for example, orientation and locale) has changed.
1190
1191**System capability**: SystemCapability.Notification.CommonEvent
1192
1193**Required subscriber permissions**: none
1194
1195**Value**: "usual.event.CONFIGURATION_CHANGED"
1196
1197### COMMON_EVENT_DRIVE_MODE
1198(Reserved, not supported yet) Indicates the common event that the system is in driving mode.
1199
1200**System capability**: SystemCapability.Notification.CommonEvent
1201
1202**Required subscriber permissions**: none
1203
1204**Value**: "common.event.DRIVE_MODE"
1205
1206### COMMON_EVENT_HOME_MODE
1207(Reserved, not supported yet) Indicates the common event that the system is in home mode.
1208
1209**System capability**: SystemCapability.Notification.CommonEvent
1210
1211**Required subscriber permissions**: none
1212
1213**Value**: "common.event.HOME_MODE"
1214
1215### COMMON_EVENT_OFFICE_MODE
1216(Reserved, not supported yet) Indicates the common event that the system is in office mode.
1217
1218**System capability**: SystemCapability.Notification.CommonEvent
1219
1220**Required subscriber permissions**: none
1221
1222**Value**: "common.event.OFFICE_MODE"
1223
1224### COMMON_EVENT_USER_STARTED
1225
1226(Reserved, not supported yet) Indicates the common event that the user has been started.
1227
1228**System capability**: SystemCapability.Notification.CommonEvent
1229
1230**Required subscriber permissions**: none
1231
1232**Value**: "usual.event.USER_STARTED"
1233
1234
1235### COMMON_EVENT_USER_BACKGROUND
1236
1237(Reserved, not supported yet) Indicates the common event that the user has been brought to the background.
1238
1239**System capability**: SystemCapability.Notification.CommonEvent
1240
1241**Required subscriber permissions**: none
1242
1243**Value**: "usual.event.USER_BACKGROUND"
1244
1245
1246### COMMON_EVENT_USER_STARTING
1247(Reserved, not supported yet) Indicates the common event that the user is going to be started.
1248
1249**System capability**: SystemCapability.Notification.CommonEvent
1250
1251**Required subscriber permissions**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS (for system applications only)
1252
1253**Value**: "usual.event.USER_STARTING"
1254
1255### COMMON_EVENT_USER_STOPPING
1256(Reserved, not supported yet) Indicates the common event that the user is going to be stopped.
1257
1258**System capability**: SystemCapability.Notification.CommonEvent
1259
1260**Required subscriber permissions**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS (for system applications only)
1261
1262**Value**: "usual.event.USER_STOPPING"
1263
1264
1265### COMMON_EVENT_USER_STOPPED
1266(Reserved, not supported yet) Indicates the common event that the user has been stopped.
1267
1268**System capability**: SystemCapability.Notification.CommonEvent
1269
1270**Required subscriber permissions**: none
1271
1272**Value**: "usual.event.USER_STOPPED"
1273
1274
1275### COMMON_EVENT_DISK_REMOVED
1276
1277(Reserved, not supported yet) Indicates the common event that an external storage device was removed.
1278
1279**System capability**: SystemCapability.Notification.CommonEvent
1280
1281**Required subscriber permissions**: ohos.permission.STORAGE_MANAGER (for system applications only)
1282
1283**Value**: "usual.event.data.DISK_BAD_REMOVAL"
1284
1285
1286### COMMON_EVENT_DISK_UNMOUNTED
1287
1288(Reserved, not supported yet) Indicates the common event that an external storage device was unmounted.
1289
1290**System capability**: SystemCapability.Notification.CommonEvent
1291
1292**Required subscriber permissions**: ohos.permission.STORAGE_MANAGER (for system applications only)
1293
1294**Value**: "usual.event.data.DISK_UNMOUNTABLE"
1295
1296
1297### COMMON_EVENT_DISK_MOUNTED
1298
1299(Reserved, not supported yet) Indicates the common event that an external storage device was mounted.
1300
1301**System capability**: SystemCapability.Notification.CommonEvent
1302
1303**Required subscriber permissions**: ohos.permission.STORAGE_MANAGER (for system applications only)
1304
1305**Value**: "usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED"
1306
1307### COMMON_EVENT_DISK_BAD_REMOVAL
1308
1309(Reserved, not supported yet) Indicates the common event that an external storage device was removed without being unmounted.
1310
1311**System capability**: SystemCapability.Notification.CommonEvent
1312
1313**Required subscriber permissions**: ohos.permission.STORAGE_MANAGER (for system applications only)
1314
1315**Value**: "usual.event.data.DISK_REMOVED"
1316
1317
1318### COMMON_EVENT_DISK_UNMOUNTABLE
1319
1320(Reserved, not supported yet) Indicates the common event that an external storage device becomes unmountable.
1321
1322**System capability**: SystemCapability.Notification.CommonEvent
1323
1324**Required subscriber permissions**: ohos.permission.STORAGE_MANAGER (for system applications only)
1325
1326**Value**: "usual.event.data.DISK_UNMOUNTED"
1327
1328
1329### COMMON_EVENT_DISK_EJECT
1330
1331(Reserved, not supported yet) Indicates the common event that an external storage device was ejected.
1332
1333**System capability**: SystemCapability.Notification.CommonEvent
1334
1335**Required subscriber permissions**: ohos.permission.STORAGE_MANAGER (for system applications only)
1336
1337**Value**: "usual.event.data.DISK_EJECT"
1338
1339
1340### COMMON_EVENT_DATE_CHANGED
1341
1342(Reserved, not supported yet) Indicates the common event that the system time has changed.
1343
1344**System capability**: SystemCapability.Notification.CommonEvent
1345
1346**Required subscriber permissions**: none
1347
1348**Value**: usual.event.DATE_CHANGED
1349
1350### COMMON_EVENT_USB_ACCESSORY_ATTACHED
1351
1352(Reserved, not supported yet) Indicates that a USB accessory was attached.
1353
1354**System capability**: SystemCapability.Notification.CommonEvent
1355
1356**Required subscriber permissions**: none
1357
1358**Value**: "usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED"
1359
1360
1361### COMMON_EVENT_USB_ACCESSORY_DETACHED
1362
1363(Reserved, not supported yet) Indicates the common event that a USB accessory was detached.
1364
1365**System capability**: SystemCapability.Notification.CommonEvent
1366
1367**Required subscriber permissions**: none
1368
1369**Value**: "usual.event.data.DISK_MOUNTED"
1370
1371### COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE
1372(Reserved, not supported yet) Indicates the common event about the connection state of Bluetooth handsfree communication.
1373
1374**System capability**: SystemCapability.Notification.CommonEvent
1375
1376**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1377
1378**Value**: "usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE"
1379
1380### COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE
1381(Reserved, not supported yet) Indicates the common event that the device connected to the Bluetooth handsfree is active.
1382
1383**System capability**: SystemCapability.Notification.CommonEvent
1384
1385**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1386
1387**Value**: "usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE"
1388
1389
1390### COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE
1391(Reserved, not supported yet) Indicates the common event that the connection state of Bluetooth A2DP has changed.
1392
1393**System capability**: SystemCapability.Notification.CommonEvent
1394
1395**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1396
1397**Value**: "usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE"
1398
1399
1400### COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE
1401(Reserved, not supported yet) Indicates the common event about the connection state of Bluetooth A2DP.
1402
1403**System capability**: SystemCapability.Notification.CommonEvent
1404
1405**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1406
1407**Value**: "usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE"
1408
1409
1410### COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE
1411(Reserved, not supported yet) Indicates the common event that the device connected using Bluetooth A2DP is active.
1412
1413**System capability**: SystemCapability.Notification.CommonEvent
1414
1415**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1416
1417**Value**: "usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE"
1418
1419### COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE
1420(Reserved, not supported yet) Indicates the common event that the AVRCP connection state of Bluetooth A2DP has changed.
1421
1422**System capability**: SystemCapability.Notification.CommonEvent
1423
1424**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1425
1426**Value**: "usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE"
1427
1428### COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE
1429(Reserved, not supported yet) Indicates the common event that the playing state of Bluetooth A2DP has changed.
1430
1431**System capability**: SystemCapability.Notification.CommonEvent
1432
1433**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1434
1435**Value**: "usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE"
1436
1437### COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE
1438(Reserved, not supported yet) Indicates the common event that the audio codec state of Bluetooth A2DP has changed.
1439
1440**System capability**: SystemCapability.Notification.CommonEvent
1441
1442**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1443
1444**Value**: "usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE"
1445
1446
1447### COMMON_EVENT_USER_FOREGROUND
1448
1449(Reserved, not supported yet) Indicates the common event that the user has been brought to the foreground.
1450
1451**System capability**: SystemCapability.Notification.CommonEvent
1452
1453**Required subscriber permissions**: none
1454
1455**Value**: "usual.event.USER_FOREGROUND"
1456
1457
1458### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED
1459(Reserved, not supported yet) Indicates the common event that a remote Bluetooth device is discovered.
1460
1461**System capability**: SystemCapability.Notification.CommonEvent
1462
1463**Required subscriber permissions**: ohos.permission.LOCATION and ohos.permission.USE_BLUETOOTH
1464
1465**Value**: "usual.event.bluetooth.remotedevice.DISCOVERED"
1466
1467
1468### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE
1469(Reserved, not supported yet) Indicates the common event that the Bluetooth class of a remote Bluetooth device has changed.
1470
1471**System capability**: SystemCapability.Notification.CommonEvent
1472
1473**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1474
1475**Value**: "usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE"
1476
1477
1478### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED
1479(Reserved, not supported yet) Indicates the common event that a low-ACL connection has been established with a remote Bluetooth device.
1480
1481
1482**System capability**: SystemCapability.Notification.CommonEvent
1483
1484**Required subscriber permissions**: none
1485
1486**Value**: "usual.event.bluetooth.remotedevice.ACL_CONNECTED"
1487
1488
1489### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED
1490(Reserved, not supported yet) Indicates the common event that a low-ACL connection has been disconnected from a remote Bluetooth device.
1491
1492**System capability**: SystemCapability.Notification.CommonEvent
1493
1494**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1495
1496**Value**: "usual.event.bluetooth.remotedevice.ACL_DISCONNECTED"
1497
1498
1499### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE
1500
1501(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.
1502
1503**System capability**: SystemCapability.Notification.CommonEvent
1504
1505**Required subscriber permissions**: ohos.permission.ACCESS_BLUETOOTH
1506
1507**Value**: "usual.event.bluetooth.remotedevice.NAME_UPDATE"
1508
1509
1510### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE
1511(Reserved, not supported yet) Indicates the common event that the connection state of a remote Bluetooth device has changed.
1512
1513**System capability**: SystemCapability.Notification.CommonEvent
1514
1515**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1516
1517**Value**: "usual.event.bluetooth.remotedevice.PAIR_STATE"
1518
1519### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE
1520(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.
1521
1522**System capability**: SystemCapability.Notification.CommonEvent
1523
1524**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1525
1526**Value**: "usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE"
1527
1528
1529### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT
1530(Reserved, not supported yet) Indicates the common event about the SDP state of a remote Bluetooth device.
1531
1532**System capability**: SystemCapability.Notification.CommonEvent
1533
1534**Required subscriber permissions**: none
1535
1536**Value**: "usual.event.bluetooth.remotedevice.SDP_RESULT"
1537
1538
1539### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE
1540Indicates the action of a common event about the UUID connection state of a remote Bluetooth device.
1541
1542**System capability**: SystemCapability.Notification.CommonEvent
1543
1544**Required subscriber permissions**: ohos.permission.ACCESS_BLUETOOTH
1545
1546**Value**: "usual.event.bluetooth.remotedevice.UUID_VALUE"
1547
1548
1549### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ
1550(Reserved, not supported yet) Indicates the common event about the pairing request from a remote Bluetooth device.
1551
1552**System capability**: SystemCapability.Notification.CommonEvent
1553
1554**Required subscriber permissions**: ohos.permission.DISCOVER_BLUETOOTH
1555
1556**Value**: "usual.event.bluetooth.remotedevice.PAIRING_REQ"
1557
1558
1559### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL
1560(Reserved, not supported yet) Indicates the common event that Bluetooth pairing is canceled.
1561
1562**System capability**: SystemCapability.Notification.CommonEvent
1563
1564**Required subscriber permissions**: none
1565
1566**Value**: "usual.event.bluetooth.remotedevice.PAIRING_CANCEL"
1567
1568
1569### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ
1570(Reserved, not supported yet) Indicates the common event about the connection request from a remote Bluetooth device.
1571
1572**System capability**: SystemCapability.Notification.CommonEvent
1573
1574**Required subscriber permissions**: none
1575
1576**Value**: "usual.event.bluetooth.remotedevice.CONNECT_REQ"
1577
1578
1579### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY
1580(Reserved, not supported yet) Indicates the common event about the response to the connection request from a remote Bluetooth device.
1581
1582**System capability**: SystemCapability.Notification.CommonEvent
1583
1584**Required subscriber permissions**: none
1585
1586**Value**: "usual.event.bluetooth.remotedevice.CONNECT_REPLY"
1587
1588
1589### COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL
1590(Reserved, not supported yet) Indicates the common event that the connection to a remote Bluetooth device has been canceled.
1591
1592**System capability**: SystemCapability.Notification.CommonEvent
1593
1594**Required subscriber permissions**: none
1595
1596**Value**: "usual.event.bluetooth.remotedevice.CONNECT_CANCEL"
1597
1598
1599### COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE
1600(Reserved, not supported yet) Indicates the common event that the connection state of a Bluetooth handsfree has changed.
1601
1602**System capability**: SystemCapability.Notification.CommonEvent
1603
1604**Required subscriber permissions**: none
1605
1606**Value**: "usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE"
1607
1608
1609### COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE
1610(Reserved, not supported yet) Indicates the common event that the audio state of a Bluetooth handsfree has changed.
1611
1612**System capability**: SystemCapability.Notification.CommonEvent
1613
1614**Required subscriber permissions**: none
1615
1616**Value**: "usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE"
1617
1618
1619### COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT
1620(Reserved, not supported yet) Indicates the common event that the audio gateway state of a Bluetooth handsfree has changed.
1621
1622**System capability**: SystemCapability.Notification.CommonEvent
1623
1624**Required subscriber permissions**: none
1625
1626**Value**: "usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT"
1627
1628
1629### COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE
1630(Reserved, not supported yet) Indicates the common event that the calling state of a Bluetooth handsfree has changed.
1631
1632**System capability**: SystemCapability.Notification.CommonEvent
1633
1634**Required subscriber permissions**: none
1635
1636**Value**: "usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE"
1637
1638
1639### COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE
1640Indicates the common event that the state of a Bluetooth adapter has been changed, for example, Bluetooth has been enabled or disabled.
1641
1642**System capability**: SystemCapability.Notification.CommonEvent
1643
1644**Required subscriber permissions**: none
1645
1646**Value**: "usual.event.bluetooth.host.STATE_UPDATE"
1647
1648
1649### COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE
1650(Reserved, not supported yet) Indicates the common event about the request for the user to allow Bluetooth device scanning.
1651
1652**System capability**: SystemCapability.Notification.CommonEvent
1653
1654**Required subscriber permissions**: none
1655
1656**Value**: "usual.event.bluetooth.host.REQ_DISCOVERABLE"
1657
1658
1659### COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE
1660(Reserved, not supported yet) Indicates the common event about the request for the user to enable Bluetooth.
1661
1662**System capability**: SystemCapability.Notification.CommonEvent
1663
1664**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1665
1666**Value**: "usual.event.bluetooth.host.REQ_ENABLE"
1667
1668### COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE
1669(Reserved, not supported yet) Indicates the common event about the request for the user to disable Bluetooth.
1670
1671**System capability**: SystemCapability.Notification.CommonEvent
1672
1673**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1674
1675**Value**: "usual.event.bluetooth.host.REQ_DISABLE"
1676
1677
1678### COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE
1679(Reserved, not supported yet) Indicates the common event that the Bluetooth scanning mode of a device has changed.
1680
1681**System capability**: SystemCapability.Notification.CommonEvent
1682
1683**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1684
1685**Value**: "usual.event.bluetooth.host.SCAN_MODE_UPDATE"
1686
1687
1688### COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED
1689Indicates the common event that the Bluetooth scanning has been started on the device.
1690
1691**System capability**: SystemCapability.Notification.CommonEvent
1692
1693**Required subscriber permissions**: ohos.permission.ACCESS_BLUETOOTH
1694
1695**Value**: "usual.event.bluetooth.host.DISCOVERY_STARTED"
1696
1697
1698### COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED
1699Indicates the common event that the Bluetooth scanning is finished on the device.
1700
1701**System capability**: SystemCapability.Notification.CommonEvent
1702
1703**Required subscriber permissions**: ohos.permission.ACCESS_BLUETOOTH
1704
1705**Value**: "usual.event.bluetooth.host.DISCOVERY_FINISHED"
1706
1707
1708### COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE
1709Indicates the common event that the Bluetooth adapter name of the device has changed.
1710
1711**System capability**: SystemCapability.Notification.CommonEvent
1712
1713**Required subscriber permissions**: ohos.permission.ACCESS_BLUETOOTH
1714
1715**Value**: "usual.event.bluetooth.host.NAME_UPDATE"
1716
1717
1718### COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE
1719(Reserved, not supported yet) Indicates the common event that the connection state of Bluetooth A2DP Sink has changed.
1720
1721**System capability**: SystemCapability.Notification.CommonEvent
1722
1723**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1724
1725**Value**: "usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE"
1726
1727### COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE
1728(Reserved, not supported yet) Indicates the common event that the playing state of Bluetooth A2DP Sink has changed.
1729
1730**System capability**: SystemCapability.Notification.CommonEvent
1731
1732**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1733
1734**Value**: "usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE"
1735
1736
1737### COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE
1738(Reserved, not supported yet) Indicates the common event that the audio state of Bluetooth A2DP Sink has changed.
1739
1740**System capability**: SystemCapability.Notification.CommonEvent
1741
1742**Required subscriber permissions**: ohos.permission.USE_BLUETOOTH
1743
1744**Value**: "usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE"
1745
1746
1747### COMMON_EVENT_ABILITY_ADDED
1748(Reserved, not supported yet) Indicates the common event that an ability has been added.
1749
1750**System capability**: SystemCapability.Notification.CommonEvent
1751
1752**Required subscriber permissions**: ohos.permission.LISTEN_BUNDLE_CHANGE
1753
1754**Value**: "usual.event.ABILITY_ADDED"
1755
1756
1757### COMMON_EVENT_ABILITY_REMOVED
1758(Reserved, not supported yet) Indicates the common event that an ability has been removed.
1759**System capability**: SystemCapability.Notification.CommonEvent
1760
1761**Required subscriber permissions**: ohos.permission.LISTEN_BUNDLE_CHANGE
1762
1763**Value**: "usual.event.ABILITY_REMOVED"
1764
1765### COMMON_EVENT_ABILITY_UPDATED
1766(Reserved, not supported yet) Indicates the common event that an ability has been updated.
1767
1768**System capability**: SystemCapability.Notification.CommonEvent
1769
1770**Required subscriber permissions**: ohos.permission.LISTEN_BUNDLE_CHANGE
1771
1772**Value**: "usual.event.ABILITY_UPDATED"
1773
1774
1775### COMMON_EVENT_LOCATION_MODE_STATE_CHANGED
1776(Reserved, not supported yet) Indicates the common event that the location mode of the system has changed.
1777
1778**System capability**: SystemCapability.Notification.CommonEvent
1779
1780**Required subscriber permissions**: none
1781
1782**Value**: "usual.event.location.MODE_STATE_CHANGED"
1783
1784
1785### COMMON_EVENT_IVI_SLEEP
1786(Reserved, not supported yet) Indicates the common event that the in-vehicle infotainment (IVI) system of a vehicle is sleeping.
1787
1788**System capability**: SystemCapability.Notification.CommonEvent
1789
1790**Required subscriber permissions**: none
1791
1792**Value**: "common.event.IVI_SLEEP"
1793
1794
1795### COMMON_EVENT_IVI_PAUSE
1796(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.
1797
1798
1799**System capability**: SystemCapability.Notification.CommonEvent
1800
1801**Required subscriber permissions**: none
1802
1803**Value**: "common.event.IVI_PAUSE"
1804
1805### COMMON_EVENT_IVI_STANDBY
1806(Reserved, not supported yet) Indicates the common event that a third-party application is instructed to pause the current work.
1807
1808**System capability**: SystemCapability.Notification.CommonEvent
1809
1810**Required subscriber permissions**: none
1811
1812**Value**: "common.event.IVI_STANDBY"
1813
1814
1815### COMMON_EVENT_IVI_LASTMODE_SAVE
1816(Reserved, not supported yet) Indicates the common event that a third-party application is instructed to save its last mode.
1817
1818**System capability**: SystemCapability.Notification.CommonEvent
1819
1820**Required subscriber permissions**: none
1821
1822**Value**: "common.event.IVI_LASTMODE_SAVE"
1823
1824
1825### COMMON_EVENT_IVI_VOLTAGE_ABNORMAL
1826(Reserved, not supported yet) Indicates the common event that the voltage of the vehicle's power system is abnormal.
1827
1828**System capability**: SystemCapability.Notification.CommonEvent
1829
1830**Required subscriber permissions**: none
1831
1832**Value**: "common.event.IVI_VOLTAGE_ABNORMAL"
1833
1834
1835### COMMON_EVENT_IVI_HIGH_TEMPERATURE
1836
1837(Reserved, not supported yet) Indicates the common event that the temperature of the IVI system is high.
1838
1839**System capability**: SystemCapability.Notification.CommonEvent
1840
1841**Required subscriber permissions**: none
1842
1843**Value**: "common.event.IVI_HIGH_TEMPERATURE"
1844
1845
1846### COMMON_EVENT_IVI_EXTREME_TEMPERATURE
1847(Reserved, not supported yet) Indicates the common event that the temperature of the IVI system is extremely high.
1848
1849**System capability**: SystemCapability.Notification.CommonEvent
1850
1851**Required subscriber permissions**: none
1852
1853**Value**: "common.event.IVI_EXTREME_TEMPERATURE"
1854
1855### COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL
1856(Reserved, not supported yet) Indicates the common event that the IVI system has an extreme temperature.
1857
1858
1859**System capability**: SystemCapability.Notification.CommonEvent
1860
1861**Required subscriber permissions**: none
1862
1863**Value**: "common.event.IVI_TEMPERATURE_ABNORMAL"
1864
1865
1866### COMMON_EVENT_IVI_VOLTAGE_RECOVERY
1867(Reserved, not supported yet) Indicates the common event that the voltage of the vehicle's power system is restored to normal.
1868
1869**System capability**: SystemCapability.Notification.CommonEvent
1870
1871**Required subscriber permissions**: none
1872
1873**Value**: "common.event.IVI_VOLTAGE_RECOVERY"
1874
1875
1876### COMMON_EVENT_IVI_TEMPERATURE_RECOVERY
1877(Reserved, not supported yet) Indicates the common event that the temperature of the IVI system is restored to normal.
1878
1879**System capability**: SystemCapability.Notification.CommonEvent
1880
1881**Required subscriber permissions**: none
1882
1883**Value**: "common.event.IVI_TEMPERATURE_RECOVERY"
1884
1885
1886### COMMON_EVENT_IVI_ACTIVE
1887(Reserved, not supported yet) Indicates the common event that the battery service is active.
1888
1889**System capability**: SystemCapability.Notification.CommonEvent
1890
1891**Required subscriber permissions**: none
1892
1893**Value**: "common.event.IVI_ACTIVE"
1894
1895### COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED
1896(Reserved, not supported yet) Indicates the common event that the account visibility changed.
1897
1898**System capability**: SystemCapability.Notification.CommonEvent
1899
1900**Required subscriber permissions**: ohos.permission.GET_APP_ACCOUNTS (for system applications only)
1901
1902**Value**: "usual.event.data.VISIBLE_ACCOUNTS_UPDATED"
1903
1904
1905### COMMON_EVENT_ACCOUNT_DELETED
1906(Reserved, not supported yet) Indicates the common event that the account was deleted.
1907
1908**System capability**: SystemCapability.Notification.CommonEvent
1909
1910**Required subscriber permissions**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS (for system applications only)
1911
1912**Value**: "usual.event.data.ACCOUNT_DELETED"
1913
1914### COMMON_EVENT_FOUNDATION_READY
1915(Reserved, not supported yet) Indicates the common event that the foundation is ready.
1916
1917**System capability**: SystemCapability.Notification.CommonEvent
1918
1919**Required subscriber permissions**: ohos.permission.RECEIVER_STARTUP_COMPLETED (for system applications only)
1920
1921**Value**: "usual.event.data.FOUNDATION_READY"
1922
1923### COMMON_EVENT_SPN_INFO_CHANGED
1924Indicates the common event of that the SPN information had changed.
1925
1926**System capability**: SystemCapability.Notification.CommonEvent
1927
1928**Required subscriber permissions**: none
1929
1930**Value**: "usual.event.SPN_INFO_CHANGED"
1931
1932