• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# System Common Events
2
3This document provides indexes for system common events defined in OpenHarmony.
4For details about the definition of a system common event, see [Support in @ohos.commonEvent (Common Event)](./js-apis-commonEvent.md#support).
5
6**System capability**: SystemCapability.Notification.CommonEvent
7
8## COMMON_EVENT_BOOT_COMPLETED
9Indicates that the user has finished booting and the system has been loaded.
10- Value: **usual.event.BOOT_COMPLETED**
11- Required subscriber permissions: ohos.permission.RECEIVER_STARTUP_COMPLETED
12
13## COMMON_EVENT_LOCKED_BOOT_COMPLETED
14(Reserved, not supported yet) Indicates that the user has finished booting and the system has been loaded but the screen is still locked.
15- Value: **usual.event.LOCKED_BOOT_COMPLETED**
16- Required subscriber permissions: ohos.permission.RECEIVER_STARTUP_COMPLETED
17
18## COMMON_EVENT_SHUTDOWN
19Indicates that the device is being shut down and the final shutdown will proceed.
20- Value: **usual.event.SHUTDOWN**
21- Required subscriber permissions: none
22
23## COMMON_EVENT_BATTERY_CHANGED
24Indicates that the charging state, level, and other information about the battery have changed.
25- Value: **usual.event.BATTERY_CHANGED**
26- Required subscriber permissions: none
27
28## COMMON_EVENT_BATTERY_LOW
29Indicates that the battery level is low.
30- Value: **usual.event.BATTERY_LOW**
31- Required subscriber permissions: none
32
33## COMMON_EVENT_BATTERY_OKAY
34Indicates that the battery level is normal.
35- Value: **usual.event.BATTERY_OKAY**
36- Required subscriber permissions: none
37
38## COMMON_EVENT_POWER_CONNECTED
39Indicates that the device is connected to an external power supply.
40- Value: **usual.event.POWER_CONNECTED**
41- Required subscriber permissions: none
42
43
44## COMMON_EVENT_POWER_DISCONNECTED
45Indicates that the device is disconnected from the external power supply.
46- Value: **usual.event.POWER_DISCONNECTED**
47- Required subscriber permissions: none
48
49
50## COMMON_EVENT_SCREEN_OFF
51Indicates that the device screen is off and the device is in sleep mode.
52- Value: **usual.event.SCREEN_OFF**
53- Required subscriber permissions: none
54
55
56## COMMON_EVENT_SCREEN_ON
57Indicates that the device screen is on and the device is in interactive state.
58- Value: **usual.event.SCREEN_ON**
59- Required subscriber permissions: none
60
61
62## COMMON_EVENT_THERMAL_LEVEL_CHANGED<sup>8+</sup>
63Indicates that the device's thermal level has changed.
64- Value: **usual.event.THERMAL_LEVEL_CHANGED**
65- Required subscriber permissions: none
66
67
68## COMMON_EVENT_USER_PRESENT
69(Reserved, not supported yet) Indicates that the user unlocks the device.
70- Value: **usual.event.USER_PRESENT**
71- Required subscriber permissions: none
72
73
74## COMMON_EVENT_TIME_TICK
75Indicates that the system time has changed as time ticks by.
76- Value: **usual.event.TIME_TICK**
77- Required subscriber permissions: none
78
79
80## COMMON_EVENT_TIME_CHANGED
81Indicates that the system time is set.
82- Value: **usual.event.TIME_CHANGED**
83- Required subscriber permissions: none
84
85
86## COMMON_EVENT_DATE_CHANGED
87(Reserved, not supported yet) Indicates that the system date has changed.
88- Value: **usual.event.DATE_CHANGED**
89- Required subscriber permissions: none
90
91
92## COMMON_EVENT_TIMEZONE_CHANGED
93Indicates that the system time zone has changed.
94- Value: **usual.event.TIMEZONE_CHANGED**
95- Required subscriber permissions: none
96
97
98## COMMON_EVENT_CLOSE_SYSTEM_DIALOGS
99(Reserved, not supported yet) Indicates that the user closes a temporary system dialog box.
100- Value: **usual.event.CLOSE_SYSTEM_DIALOGS**
101- Required subscriber permissions: none
102
103
104## COMMON_EVENT_PACKAGE_ADDED
105Indicates that a new application package has been installed on the device.
106- Value: **usual.event.PACKAGE_ADDED**
107- Required subscriber permissions: none
108
109
110## COMMON_EVENT_PACKAGE_REPLACED
111(Reserved, not supported yet) Indicates that a later version of an installed application package has replaced the previous one on the device.
112- Value: **usual.event.PACKAGE_REPLACED**
113- Required subscriber permissions: none
114
115
116## COMMON_EVENT_MY_PACKAGE_REPLACED
117(Reserved, not supported yet) Indicates that a later version of your application package has replaced the previous one.
118- Value: **usual.event.MY_PACKAGE_REPLACED**
119- Required subscriber permissions: none
120
121## COMMON_EVENT_PACKAGE_REMOVED
122Indicates that an installed application has been uninstalled from the device with the application data retained.
123- Value: **usual.event.PACKAGE_REMOVED**
124- Required subscriber permissions: none
125
126
127## COMMON_EVENT_BUNDLE_REMOVED
128(Reserved, not supported yet) Indicates that an installed bundle has been uninstalled from the device with the application data retained.
129- Value: **usual.event.BUNDLE_REMOVED**
130- Required subscriber permissions: none
131
132
133## COMMON_EVENT_PACKAGE_FULLY_REMOVED
134(Reserved, not supported yet) Indicates that an installed application, including both the application data and code, has been completely uninstalled from the device.
135- Value: **usual.event.PACKAGE_FULLY_REMOVED**
136- Required subscriber permissions: none
137
138
139## COMMON_EVENT_PACKAGE_CHANGED
140Indicates that an application package has been changed (for example, an ability in the package has been enabled or disabled).
141- Value: **usual.event.PACKAGE_CHANGED**
142- Required subscriber permissions: none
143
144
145## COMMON_EVENT_PACKAGE_RESTARTED
146Indicates that the user closed all processes of the application and restarted the application.
147- Value: **usual.event.PACKAGE_RESTARTED**
148- Required subscriber permissions: none
149
150
151## COMMON_EVENT_PACKAGE_DATA_CLEARED
152Indicates that the user cleared the application package data.
153- Value: **usual.event.PACKAGE_DATA_CLEARED**
154- Required subscriber permissions: none
155
156
157## COMMON_EVENT_PACKAGES_SUSPENDED
158(Reserved, not supported yet) Indicates that application HAP files are suspended.
159- Value: **usual.event.PACKAGES_SUSPENDED**
160- Required subscriber permissions: none
161
162
163## COMMON_EVENT_PACKAGES_UNSUSPENDED
164(Reserved, not supported yet) Indicates that application HAP files are not suspended (restored from the suspended state).
165- Value: **usual.event.PACKAGES_UNSUSPENDED**
166- Required subscriber permissions: none
167
168
169## COMMON_EVENT_MY_PACKAGE_SUSPENDED
170Indicates that an application HAP file is suspended.
171- Value: **usual.event.MY_PACKAGE_SUSPENDED**
172- Required subscriber permissions: none
173
174
175## COMMON_EVENT_MY_PACKAGE_UNSUSPENDED
176Indicates that an application HAP file is not suspended.
177- Value: **usual.event.MY_PACKAGE_UNSUSPENDED**
178- Required subscriber permissions: none
179
180
181## COMMON_EVENT_UID_REMOVED
182(Reserved, not supported yet) Indicates that a user ID has been removed from the system.
183- Value: **usual.event.UID_REMOVED**
184- Required subscriber permissions: none
185
186
187## COMMON_EVENT_PACKAGE_FIRST_LAUNCH
188(Reserved, not supported yet) Indicates that an installed application is started for the first time.
189- Value: **usual.event.PACKAGE_FIRST_LAUNCH**
190- Required subscriber permissions: none
191
192
193## COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION
194(Reserved, not supported yet) Indicates that an application requires system verification.
195- Value: **usual.event.PACKAGE_NEEDS_VERIFICATION**
196- Required subscriber permissions: none
197
198
199## COMMON_EVENT_PACKAGE_VERIFIED
200(Reserved, not supported yet) Indicates that an application has been verified by the system.
201- Value: **usual.event.PACKAGE_VERIFIED**
202- Required subscriber permissions: none
203
204
205## COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE
206(Reserved, not supported yet) Indicates that applications installed on the external storage are available for the system.
207- Value: **usual.event.EXTERNAL_APPLICATIONS_AVAILABLE**
208- Required subscriber permissions: none
209
210
211## COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE
212(Reserved, not supported yet) Indicates that applications installed on the external storage are not available for the system.
213- Value: **usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE**
214- Required subscriber permissions: none
215
216
217## COMMON_EVENT_CONFIGURATION_CHANGED
218(Reserved, not supported yet) Indicates that the device state (for example, orientation and locale) has changed.
219- Value: **usual.event.CONFIGURATION_CHANGED**
220- Required subscriber permissions: none
221
222
223## COMMON_EVENT_LOCALE_CHANGED
224(Reserved, not supported yet) Indicates that the device locale has changed.
225- Value: **usual.event.LOCALE_CHANGED**
226- Required subscriber permissions: none
227
228
229## COMMON_EVENT_MANAGE_PACKAGE_STORAGE
230(Reserved, not supported yet) Indicates that the device storage is insufficient.
231- Value: **usual.event.MANAGE_PACKAGE_STORAGE**
232- Required subscriber permissions: none
233
234
235## COMMON_EVENT_DRIVE_MODE
236(Reserved, not supported yet) Indicates that the system is in driving mode.
237- Value: **common.event.DRIVE_MODE**
238- Required subscriber permissions: none
239
240
241## COMMON_EVENT_HOME_MODE
242(Reserved, not supported yet) Indicates that the system is in home mode.
243- Value: **common.event.HOME_MODE**
244- Required subscriber permissions: none
245
246
247## COMMON_EVENT_OFFICE_MODE
248(Reserved, not supported yet) Indicates that the system is in office mode.
249- Value: **common.event.OFFICE_MODE**
250- Required subscriber permissions: none
251
252
253## COMMON_EVENT_USER_STARTED
254(Reserved, not supported yet) Indicates that the user has been started.
255- Value: **usual.event.USER_STARTED**
256- Required subscriber permissions: none
257
258
259## COMMON_EVENT_USER_BACKGROUND
260(Reserved, not supported yet) Indicates that the user has been brought to the background.
261- Value: **usual.event.USER_BACKGROUND**
262- Required subscriber permissions: none
263
264
265## COMMON_EVENT_USER_FOREGROUND
266(Reserved, not supported yet) Indicates that the user has been brought to the foreground.
267- Value: **usual.event.USER_FOREGROUND**
268- Required subscriber permissions: none
269
270
271## COMMON_EVENT_USER_SWITCHED
272Indicates that user switching is in progress.
273- Value: **usual.event.USER_SWITCHED**
274- Required subscriber permissions: ohos.permission.MANAGE_LOCAL_ACCOUNTS
275
276
277## COMMON_EVENT_USER_STARTING
278(Reserved, not supported yet) Indicates that the user is being started.
279- Value: **usual.event.USER_STARTING**
280- Required subscriber permissions: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS
281
282
283## COMMON_EVENT_USER_UNLOCKED
284(Reserved, not supported yet) Indicates that the credential-encrypted storage has been unlocked for the current user after the device is restarted.
285- Value: **usual.event.USER_UNLOCKED**
286- Required subscriber permissions: none
287
288
289## COMMON_EVENT_USER_STOPPING
290(Reserved, not supported yet) Indicates that the user is going to be stopped.
291- Value: **usual.event.USER_STOPPING**
292- Required subscriber permissions: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS
293
294
295## COMMON_EVENT_USER_STOPPED
296(Reserved, not supported yet) Indicates that the user has been stopped.
297- Value: **usual.event.USER_STOPPED**
298- Required subscriber permissions: none
299
300
301## COMMON_EVENT_WIFI_POWER_STATE
302Indicates that the Wi-Fi state has changed, for example, enabled or disabled.
303- Value: **usual.event.wifi.POWER_STATE**
304- Required subscriber permissions: none
305
306
307## COMMON_EVENT_WIFI_SCAN_FINISHED
308Indicates that the Wi-Fi access point has been detected and proven to be available.
309- Value: **usual.event.wifi.SCAN_FINISHED**
310- Required subscriber permissions: ohos.permission.LOCATION
311
312
313## COMMON_EVENT_WIFI_RSSI_VALUE
314Indicates that the Wi-Fi signal strength (RSSI) has changed.
315- Value: **usual.event.wifi.RSSI_VALUE**
316- Required subscriber permissions: ohos.permission.GET_WIFI_INFO
317
318
319## COMMON_EVENT_WIFI_CONN_STATE
320Indicates that the Wi-Fi connection state has changed.
321- Value: **usual.event.wifi.CONN_STATE**
322- Required subscriber permissions: none
323
324
325## COMMON_EVENT_WIFI_HOTSPOT_STATE
326Indicates that the Wi-Fi hotspot state has changed, for example, enabled or disabled.
327- Value: **usual.event.wifi.HOTSPOT_STATE**
328- Required subscriber permissions: none
329
330
331## COMMON_EVENT_WIFI_AP_STA_JOIN
332Indicates that a client has joined the Wi-Fi hotspot of the current device.
333- Value: **usual.event.wifi.WIFI_HS_STA_JOIN**
334- Required subscriber permissions: ohos.permission.GET_WIFI_INFO
335
336
337## COMMON_EVENT_WIFI_AP_STA_LEAVE
338Indicates that a client has disconnected from the Wi-Fi hotspot of the current device.
339- Value: **usual.event.wifi.WIFI_HS_STA_LEAVE**
340- Required subscriber permissions: ohos.permission.GET_WIFI_INFO
341
342
343## COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE
344Indicates that the state of MPLINK (an enhanced Wi-Fi feature) has changed.
345- Value: **usual.event.wifi.mplink.STATE_CHANGE**
346- Required subscriber permissions: ohos.permission.MPLINK_CHANGE_STATE
347
348
349## COMMON_EVENT_WIFI_P2P_CONN_STATE
350Indicates that the Wi-Fi P2P connection state has changed.
351- Value: **usual.event.wifi.p2p.CONN_STATE_CHANGE**
352- Required subscriber permissions: ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION
353
354
355## COMMON_EVENT_WIFI_P2P_STATE_CHANGED
356Indicates that the Wi-Fi P2P state has changed, for example, enabled or disabled.
357- Value: **usual.event.wifi.p2p.STATE_CHANGE**
358- Required subscriber permissions: ohos.permission.GET_WIFI_INFO
359
360
361## COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED
362Indicates that the state of the Wi-Fi P2P peer device has changed.
363- Value: **usual.event.wifi.p2p.DEVICES_CHANGE**
364- Required subscriber permissions: ohos.permission.GET_WIFI_INFO
365
366
367## COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED
368Indicates that the Wi-Fi P2P discovery state has changed.
369- Value: **usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE**
370- Required subscriber permissions: ohos.permission.GET_WIFI_INFO
371
372
373## COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED
374Indicates that the state of the Wi-Fi P2P local device has changed.
375- Value: **usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE**
376- Required subscriber permissions: ohos.permission.GET_WIFI_INFO
377
378
379## COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED
380Indicates that the Wi-Fi P2P group information has changed.
381- Value: **usual.event.wifi.p2p.GROUP_STATE_CHANGED**
382- Required subscriber permissions: ohos.permission.GET_WIFI_INFO
383
384
385## COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE
386(Reserved, not supported yet) Indicates the connection state of Bluetooth handsfree communication.
387- Value: **usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE**
388- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
389
390
391## COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE
392(Reserved, not supported yet) Indicates that the device connected through Bluetooth handsfree is active.
393- Value: **usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE**
394- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
395
396
397## COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE
398(Reserved, not supported yet) Indicates that the connection state of Bluetooth A2DP has changed.
399- Value: **usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE**
400- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
401
402
403## COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE
404(Reserved, not supported yet) Indicates the connection state of Bluetooth A2DP.
405- Value: **usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE**
406- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
407
408
409## COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE
410(Reserved, not supported yet) Indicates that the device connected using Bluetooth A2DP is active.
411- Value: **usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE**
412- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
413
414
415## COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE
416(Reserved, not supported yet) Indicates that the playing state of Bluetooth A2DP has changed.
417- Value: **usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE**
418- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
419
420
421## COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE
422(Reserved, not supported yet) Indicates that the AVRCP connection state of Bluetooth A2DP has changed.
423- Value: **usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE**
424- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
425
426
427## COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE
428(Reserved, not supported yet) Indicates that the audio codec state of Bluetooth A2DP has changed.
429- Value: **usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE**
430- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
431
432
433## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED
434(Reserved, not supported yet) Indicates that a remote Bluetooth device is discovered.
435- Value: **usual.event.bluetooth.remotedevice.DISCOVERED**
436- Required subscriber permissions: ohos.permission.LOCATION and ohos.permission.USE_BLUETOOTH
437
438
439## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE
440(Reserved, not supported yet) Indicates that the Bluetooth class of a remote Bluetooth device has changed.
441- Value: **usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE**
442- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
443
444
445## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED
446(Reserved, not supported yet) Indicates that a low-ACL connection with a remote Bluetooth device has been established.
447- Value: **usual.event.bluetooth.remotedevice.ACL_CONNECTED**
448- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
449
450
451## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED
452(Reserved, not supported yet) Indicates that the low-ACL connection with a remote Bluetooth device has been terminated.
453- Value: **usual.event.bluetooth.remotedevice.ACL_DISCONNECTED**
454- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
455
456
457## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE
458(Reserved, not supported yet) Indicates that the friendly name of a remote Bluetooth device is retrieved for the first time or has changed since the last retrieval.
459- Value: **usual.event.bluetooth.remotedevice.NAME_UPDATE**
460- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
461
462
463## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE
464(Reserved, not supported yet) Indicates that the connection state with a remote Bluetooth device has changed.
465- Value: **usual.event.bluetooth.remotedevice.PAIR_STATE**
466- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
467
468
469## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE
470(Reserved, not supported yet) Indicates that the battery level of a remote Bluetooth device is retrieved for the first time or has changed since the last retrieval.
471- Value: **usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE**
472- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
473
474
475## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT
476(Reserved, not supported yet) Indicates the SDP state of a remote Bluetooth device.
477- Value: **usual.event.bluetooth.remotedevice.SDP_RESULT**
478- Required subscriber permissions: none
479
480
481## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE
482(Reserved, not supported yet) Indicates the UUID connection state with a remote Bluetooth device.
483- Value: **usual.event.bluetooth.remotedevice.UUID_VALUE**
484- Required subscriber permissions: ohos.permission.DISCOVER_BLUETOOTH
485
486
487## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ
488(Reserved, not supported yet) Indicates the pairing request from a remote Bluetooth device.
489- Value: **usual.event.bluetooth.remotedevice.PAIRING_REQ**
490- Required subscriber permissions: ohos.permission.DISCOVER_BLUETOOTH
491
492
493## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL
494(Reserved, not supported yet) Indicates that Bluetooth pairing has been canceled.
495- Value: **usual.event.bluetooth.remotedevice.PAIRING_CANCEL**
496- Required subscriber permissions: none
497
498
499## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ
500(Reserved, not supported yet) Indicates the connection request from a remote Bluetooth device.
501- Value: **usual.event.bluetooth.remotedevice.CONNECT_REQ**
502- Required subscriber permissions: none
503
504
505## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY
506(Reserved, not supported yet) Indicates the response to the connection request from a remote Bluetooth device.
507- Value: **usual.event.bluetooth.remotedevice.CONNECT_REPLY**
508- Required subscriber permissions: none
509
510
511## COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL
512(Reserved, not supported yet) Indicates that the connection to a remote Bluetooth device has been canceled.
513- Value: **usual.event.bluetooth.remotedevice.CONNECT_CANCEL**
514- Required subscriber permissions: none
515
516
517## COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE
518(Reserved, not supported yet) Indicates that the connection state with a Bluetooth handsfree has changed.
519- Value: **usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE**
520- Required subscriber permissions: none
521
522
523## COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE
524(Reserved, not supported yet) Indicates that the audio state of a Bluetooth handsfree has changed.
525- Value: **usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE**
526- Required subscriber permissions: none
527
528
529## COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT
530(Reserved, not supported yet) Indicates that the audio gateway state of a Bluetooth handsfree has changed.
531- Value: **usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT**
532- Required subscriber permissions: none
533
534
535## COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE
536(Reserved, not supported yet) Indicates that the calling state of a Bluetooth handsfree has changed.
537- Value: **usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE**
538- Required subscriber permissions: none
539
540
541## COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE
542(Reserved, not supported yet) Indicates that the state of a Bluetooth adapter has changed, for example, Bluetooth has been enabled or disabled.
543- Value: **usual.event.bluetooth.host.STATE_UPDATE**
544- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
545
546
547## COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE
548(Reserved, not supported yet) Indicates the request for the user to allow Bluetooth device scanning.
549- Value: **usual.event.bluetooth.host.REQ_DISCOVERABLE**
550- Required subscriber permissions: none
551
552
553## COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE
554(Reserved, not supported yet) Indicates the request for the user to enable Bluetooth.
555- Value: **usual.event.bluetooth.host.REQ_ENABLE**
556- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
557
558
559## COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE
560(Reserved, not supported yet) Indicates the request for the user to disable Bluetooth.
561- Value: **usual.event.bluetooth.host.REQ_DISABLE**
562- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
563
564
565## COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE
566(Reserved, not supported yet) Indicates that the Bluetooth scanning mode of the device has changed.
567- Value: **usual.event.bluetooth.host.SCAN_MODE_UPDATE**
568- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
569
570
571## COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED
572(Reserved, not supported yet) Indicates that Bluetooth scanning has been started on the device.
573- Value: **usual.event.bluetooth.host.DISCOVERY_STARTED**
574- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
575
576
577## COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED
578(Reserved, not supported yet) Indicates that Bluetooth scanning is finished on the device.
579- Value: **usual.event.bluetooth.host.DISCOVERY_FINISHED**
580- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
581
582
583## COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE
584(Reserved, not supported yet) Indicates that the Bluetooth adapter name of the device has changed.
585- Value: **usual.event.bluetooth.host.NAME_UPDATE**
586- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
587
588
589## COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE
590(Reserved, not supported yet) Indicates that the connection state of Bluetooth A2DP Sink has changed.
591- Value: **usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE**
592- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
593
594
595## COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE
596(Reserved, not supported yet) Indicates that the playing state of Bluetooth A2DP Sink has changed.
597- Value: **usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE**
598- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
599
600
601## COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE
602(Reserved, not supported yet) Indicates that the audio state of Bluetooth A2DP Sink has changed.
603- Value: **usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE**
604- Required subscriber permissions: ohos.permission.USE_BLUETOOTH
605
606
607## COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED
608(Reserved, not supported yet) Indicates that the state of the device NFC adapter has changed.
609- Value: **usual.event.nfc.action.ADAPTER_STATE_CHANGED**
610- Required subscriber permissions: none
611
612
613## COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED
614(Reserved, not supported yet) Indicates that the NFC RF field is detected to be in the enabled state.
615- Value: **usual.event.nfc.action.RF_FIELD_ON_DETECTED**
616- Required subscriber permissions: ohos.permission.MANAGE_SECURE_SETTINGS
617
618
619## COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED
620(Reserved, not supported yet) Indicates that the NFC RF field is detected to be in the disabled state.
621- Value: **usual.event.nfc.action.RF_FIELD_OFF_DETECTED**
622- Required subscriber permissions: ohos.permission.MANAGE_SECURE_SETTINGS
623
624
625## COMMON_EVENT_DISCHARGING
626Indicates that the system stops charging the battery.
627- Value: **usual.event.DISCHARGING**
628- Required subscriber permissions: none
629
630
631## COMMON_EVENT_CHARGING
632Indicates that the system starts charging the battery.
633- Value: **usual.event.CHARGING**
634- Required subscriber permissions: none
635
636
637## COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED
638(Reserved, not supported yet) Indicates that the system idle mode has changed.
639- Value: **usual.event.DEVICE_IDLE_MODE_CHANGED**
640- Required subscriber permissions: none
641
642
643## COMMON_EVENT_POWER_SAVE_MODE_CHANGED
644Indicates that the system power saving mode has changed.
645- Value: **usual.event.POWER_SAVE_MODE_CHANGED**
646- Required subscriber permissions: none
647
648
649## COMMON_EVENT_USER_ADDED
650Indicates that a user has been added to the system.
651- Value: **usual.event.USER_ADDED**
652- Required subscriber permissions: ohos.permission.MANAGE_LOCAL_ACCOUNTS
653
654
655## COMMON_EVENT_USER_REMOVED
656Indicates that a user has been removed from the system.
657- Value: **usual.event.USER_REMOVED**
658- Required subscriber permissions: ohos.permission.MANAGE_LOCAL_ACCOUNTS
659
660
661## COMMON_EVENT_ABILITY_ADDED
662(Reserved, not supported yet) Indicates that an ability has been added.
663- Value: **usual.event.ABILITY_ADDED**
664- Required subscriber permissions: ohos.permission.LISTEN_BUNDLE_CHANGE
665
666
667## COMMON_EVENT_ABILITY_REMOVED
668(Reserved, not supported yet) Indicates that an ability has been removed.
669- Value: **usual.event.ABILITY_REMOVED**
670- Required subscriber permissions: ohos.permission.LISTEN_BUNDLE_CHANGE
671
672
673## COMMON_EVENT_ABILITY_UPDATED
674(Reserved, not supported yet) Indicates that an ability has been updated.
675- Value: **usual.event.ABILITY_UPDATED**
676- Required subscriber permissions: ohos.permission.LISTEN_BUNDLE_CHANGE
677
678
679## COMMON_EVENT_LOCATION_MODE_STATE_CHANGED
680(Reserved, not supported yet) Indicates that the location mode of the system has changed.
681- Value: **usual.event.location.MODE_STATE_CHANGED**
682- Required subscriber permissions: none
683
684
685## COMMON_EVENT_IVI_SLEEP
686(Reserved, not supported yet) Indicates that the in-vehicle infotainment (IVI) system is in sleep mode.
687- Value: **common.event.IVI_SLEEP**
688- Required subscriber permissions: none
689
690
691## COMMON_EVENT_IVI_PAUSE
692(Reserved, not supported yet) Indicates that the IVI system as entered sleep mode and instructs the playing application to stop playback.
693- Value: **common.event.IVI_PAUSE**
694- Required subscriber permissions: none
695
696
697## COMMON_EVENT_IVI_STANDBY
698(Reserved, not supported yet) Requests a third-party application in the IVI system to pause the current work.
699- Value: **common.event.IVI_STANDBY**
700- Required subscriber permissions: none
701
702
703## COMMON_EVENT_IVI_LASTMODE_SAVE
704(Reserved, not supported yet) Requests a third-party application in the IVI system to save its last mode.
705- Value: **common.event.IVI_LASTMODE_SAVE**
706- Required subscriber permissions: none
707
708
709## COMMON_EVENT_IVI_VOLTAGE_ABNORMAL
710(Reserved, not supported yet) Indicates that the voltage of the vehicle's power system is abnormal.
711- Value: **common.event.IVI_VOLTAGE_ABNORMAL**
712- Required subscriber permissions: none
713
714
715## COMMON_EVENT_IVI_HIGH_TEMPERATURE
716(Reserved, not supported yet) Indicates that the temperature of the IVI system is high.
717- Value: **common.event.IVI_HIGH_TEMPERATURE**
718- Required subscriber permissions: none
719
720
721## COMMON_EVENT_IVI_EXTREME_TEMPERATURE
722(Reserved, not supported yet) Indicates that the temperature of the IVI system is extremely high.
723- Value: **common.event.IVI_EXTREME_TEMPERATURE**
724- Required subscriber permissions: none
725
726
727## COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL
728(Reserved, not supported yet) Indicates that the IVI system is at an extreme temperature.
729- Value: **common.event.IVI_TEMPERATURE_ABNORMAL**
730- Required subscriber permissions: none
731
732
733## COMMON_EVENT_IVI_VOLTAGE_RECOVERY
734(Reserved, not supported yet) Indicates that the voltage of the vehicle's power system is restored to normal.
735- Value: **common.event.IVI_VOLTAGE_RECOVERY**
736- Required subscriber permissions: none
737
738
739## COMMON_EVENT_IVI_TEMPERATURE_RECOVERY
740(Reserved, not supported yet) Indicates that the temperature of the IVI system is restored to normal.
741- Value: **common.event.IVI_TEMPERATURE_RECOVERY**
742- Required subscriber permissions: none
743
744
745## COMMON_EVENT_IVI_ACTIVE
746(Reserved, not supported yet) Indicates that the battery service of the IVI system is active.
747- Value: **common.event.IVI_ACTIVE**
748- Required subscriber permissions: none
749
750
751## COMMON_EVENT_USB_DEVICE_ATTACHED
752Indicates that a USB device has been attached to the device functioning as a USB host.
753- Value: **usual.event.hardware.usb.action.USB_DEVICE_ATTACHED**
754- Required subscriber permissions: none
755
756
757## COMMON_EVENT_USB_DEVICE_DETACHED
758Indicates that a USB device has been detached from the device functioning as a USB host.
759- Value: **usual.event.hardware.usb.action.USB_DEVICE_DETACHED**
760- Required subscriber permissions: none
761
762
763## COMMON_EVENT_USB_ACCESSORY_ATTACHED
764(Reserved, not supported yet) Indicates that a USB accessory was attached.
765- Value: **usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED**
766- Required subscriber permissions: none
767
768
769## COMMON_EVENT_USB_ACCESSORY_DETACHED
770(Reserved, not supported yet) Indicates that a USB accessory was detached.
771- Value: **usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED**
772- Required subscriber permissions: none
773
774
775## COMMON_EVENT_DISK_REMOVED
776(Reserved, not supported yet) Indicates that an external storage device was removed.
777- Value: **usual.event.data.DISK_REMOVED**
778- Required subscriber permissions: ohos.permission.STORAGE_MANAGER
779
780
781## COMMON_EVENT_DISK_UNMOUNTED
782(Reserved, not supported yet) Indicates that an external storage device was unmounted.
783- Value: **usual.event.data.DISK_UNMOUNTED**
784- Required subscriber permissions: ohos.permission.STORAGE_MANAGER
785
786
787## COMMON_EVENT_DISK_MOUNTED
788(Reserved, not supported yet) Indicates that an external storage device was mounted.
789- Value: **usual.event.data.DISK_MOUNTED**
790- Required subscriber permissions: ohos.permission.STORAGE_MANAGER
791
792
793## COMMON_EVENT_DISK_BAD_REMOVAL
794(Reserved, not supported yet) Indicates that an external storage device was removed without being unmounted.
795- Value: **usual.event.data.DISK_BAD_REMOVAL**
796- Required subscriber permissions: ohos.permission.STORAGE_MANAGER
797
798
799## COMMON_EVENT_DISK_UNMOUNTABLE
800(Reserved, not supported yet) Indicates that an external storage device is unmountable when the card is inserted.
801- Value: **usual.event.data.DISK_UNMOUNTABLE**
802- Required subscriber permissions: ohos.permission.STORAGE_MANAGER
803
804
805## COMMON_EVENT_DISK_EJECT
806(Reserved, not supported yet) Indicates that an external storage device was ejected (at the software level).
807- Value: **usual.event.data.DISK_EJECT**
808- Required subscriber permissions: ohos.permission.STORAGE_MANAGER
809
810
811## COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED
812(Reserved, not supported yet) Indicates that the account visibility changed.
813- Value: **usual.event.data.VISIBLE_ACCOUNTS_UPDATED**
814- Required subscriber permissions: ohos.permission.GET_APP_ACCOUNTS
815
816
817## COMMON_EVENT_ACCOUNT_DELETED
818(Reserved, not supported yet) Indicates that an account was deleted.
819- Value: **usual.event.data.ACCOUNT_DELETED**
820- Required subscriber permissions: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS
821
822
823## COMMON_EVENT_FOUNDATION_READY
824(Reserved, not supported yet) Indicates that the foundation is ready.
825- Value: **usual.event.data.FOUNDATION_READY**
826- Required subscriber permissions: ohos.permission.RECEIVER_STARTUP_COMPLETED
827
828
829## COMMON_EVENT_AIRPLANE_MODE_CHANGED
830Indicates that the airplane mode of the device has changed.
831- Value: **usual.event.AIRPLANE_MODE**
832- Required subscriber permissions: none
833
834
835## COMMON_EVENT_SPLIT_SCREEN<sup>8+</sup>
836Indicates that the screen has been split.
837- Value: **usual.event.SPLIT_SCREEN**
838- Required subscriber permissions: none
839
840