• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2021-2023 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16import { AsyncCallback } from './@ohos.base';
17import { CommonEventData } from './commonEvent/commonEventData';
18import { CommonEventSubscriber } from './commonEvent/commonEventSubscriber';
19import { CommonEventSubscribeInfo } from './commonEvent/commonEventSubscribeInfo';
20import { CommonEventPublishData } from './commonEvent/commonEventPublishData';
21
22/**
23 * Common event definition
24 *
25 * @namespace commonEvent
26 * @syscap SystemCapability.Notification.CommonEvent
27 * @since 7
28 * @deprecated since 9
29 * @useinstead ohos.commonEventManager/commonEventManager
30 */
31declare namespace commonEvent {
32  /**
33   * Publishes an ordered, sticky, or standard common event.
34   *
35   * @param { string } event - name of the common event.
36   * @param { AsyncCallback<void> } callback - Specified callback method.
37   * @syscap SystemCapability.Notification.CommonEvent
38   * @since 7
39   * @deprecated since 9
40   * @useinstead ohos.commonEventManager/commonEventManager#publish
41   */
42  function publish(event: string, callback: AsyncCallback<void>): void;
43
44  /**
45   * Publishes an ordered, sticky, or standard common event.
46   *
47   * @param { string } event - name of the common event.
48   * @param { CommonEventPublishData } options - Indicate the CommonEventPublishData containing the common event content
49   *                                             and attributes.
50   * @param { AsyncCallback<void> } callback - Specified callback method.
51   * @syscap SystemCapability.Notification.CommonEvent
52   * @since 7
53   * @deprecated since 9
54   * @useinstead ohos.commonEventManager/commonEventManager#publish
55   */
56  function publish(event: string, options: CommonEventPublishData, callback: AsyncCallback<void>): void;
57
58  /**
59   * Publishes an ordered, sticky, or standard common event to a specified user.
60   *
61   * @param { string } event - Specified the names of the common events.
62   * @param { number } userId - Specified the user to receive the common events.
63   * @param { AsyncCallback<void> } callback - Specified callback method.
64   * @syscap SystemCapability.Notification.CommonEvent
65   * @systemapi
66   * @since 8
67   * @deprecated since 9
68   * @useinstead ohos.commonEventManager/commonEventManager#publishAsUser
69   */
70  function publishAsUser(event: string, userId: number, callback: AsyncCallback<void>): void;
71
72  /**
73   * Publishes an ordered, sticky, or standard common event to a specified user.
74   *
75   * @param { string } event - Specified the names of the common events.
76   * @param { number } userId - Specified the user to receive the common events.
77   * @param { CommonEventPublishData } options - Indicates the CommonEventPublishData containing the common event content
78   *                                           	 and attributes.
79   * @param { AsyncCallback<void> } callback - Specified callback method.
80   * @syscap SystemCapability.Notification.CommonEvent
81   * @systemapi
82   * @since 8
83   * @deprecated since 9
84   * @useinstead ohos.commonEventManager/commonEventManager#publishAsUser
85   */
86  function publishAsUser(
87    event: string,
88    userId: number,
89    options: CommonEventPublishData,
90    callback: AsyncCallback<void>
91  ): void;
92
93  /**
94   * creates a CommonEventSubscriber for the SubscriberInfo.
95   *
96   * @param { CommonEventSubscribeInfo } subscribeInfo - Indicates the information of the subscriber.
97   * @param { AsyncCallback<CommonEventSubscriber> } callback - Specified callback method.
98   * @syscap SystemCapability.Notification.CommonEvent
99   * @since 7
100   * @deprecated since 9
101   * @useinstead ohos.commonEventManager/commonEventManager#createSubscriber
102   */
103  function createSubscriber(
104    subscribeInfo: CommonEventSubscribeInfo,
105    callback: AsyncCallback<CommonEventSubscriber>
106  ): void;
107
108  /**
109   * create the CommonEventSubscriber for the SubscriberInfo.
110   *
111   * @param { CommonEventSubscribeInfo } subscribeInfo - Indicates the information of the subscriber.
112   * @returns { Promise<CommonEventSubscriber> } Returns common event subscriber object
113   * @syscap SystemCapability.Notification.CommonEvent
114   * @since 7
115   * @deprecated since 9
116   * @useinstead ohos.commonEventManager/commonEventManager#createSubscriber
117   */
118  function createSubscriber(subscribeInfo: CommonEventSubscribeInfo): Promise<CommonEventSubscriber>;
119
120  /**
121   * subscribe an ordered, sticky, or standard common event.
122   *
123   * @param { CommonEventSubscriber } subscriber - Indicate the subscriber of the common event.
124   * @param { AsyncCallback<CommonEventData> } callback - Specified callback method.
125   * @syscap SystemCapability.Notification.CommonEvent
126   * @since 7
127   * @deprecated since 9
128   * @useinstead ohos.commonEventManager/commonEventManager#subscribe
129   */
130  function subscribe(subscriber: CommonEventSubscriber, callback: AsyncCallback<CommonEventData>): void;
131
132  /**
133   * unsubscribe from an ordered, sticky, or standard common event.
134   *
135   * @param { CommonEventSubscriber } subscriber - Indicate the subscriber of the common event.
136   * @param { AsyncCallback<void> } [callback] - Specified callback method.
137   * @syscap SystemCapability.Notification.CommonEvent
138   * @since 7
139   * @deprecated since 9
140   * @useinstead ohos.commonEventManager/commonEventManager#unsubscribe
141   */
142  function unsubscribe(subscriber: CommonEventSubscriber, callback?: AsyncCallback<void>): void;
143
144  /**
145   * the event type that the commonEvent supported
146   *
147   * @enum { string }
148   * @syscap SystemCapability.Notification.CommonEvent
149   * @since 7
150   * @deprecated since 9
151   * @useinstead ohos.commonEventManager/commonEventManager#Support
152   */
153  export enum Support {
154    /**
155     * This commonEvent means when the device is booted or system upgrade completed, and only be sent by system.
156     *
157     * @syscap SystemCapability.Notification.CommonEvent
158     * @since 7
159     * @deprecated since 9
160     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BOOT_COMPLETED
161     */
162    COMMON_EVENT_BOOT_COMPLETED = 'usual.event.BOOT_COMPLETED',
163
164    /**
165     * This commonEvent means when the device finnish booting, but still in the locked state.
166     *
167     * @syscap SystemCapability.Notification.CommonEvent
168     * @since 7
169     * @deprecated since 9
170     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_LOCKED_BOOT_COMPLETED
171     */
172    COMMON_EVENT_LOCKED_BOOT_COMPLETED = 'usual.event.LOCKED_BOOT_COMPLETED',
173
174    /**
175     * This commonEvent means when the device is shutting down, note: turn off, not sleeping.
176     *
177     * @syscap SystemCapability.Notification.CommonEvent
178     * @since 7
179     * @deprecated since 9
180     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_SHUTDOWN
181     */
182    COMMON_EVENT_SHUTDOWN = 'usual.event.SHUTDOWN',
183
184    /**
185     * This commonEvent means when the charging state, level and so on about the battery.
186     *
187     * @syscap SystemCapability.Notification.CommonEvent
188     * @since 7
189     * @deprecated since 9
190     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BATTERY_CHANGED
191     */
192    COMMON_EVENT_BATTERY_CHANGED = 'usual.event.BATTERY_CHANGED',
193
194    /**
195     * This commonEvent means when the device in low battery state..
196     *
197     * @syscap SystemCapability.Notification.CommonEvent
198     * @since 7
199     * @deprecated since 9
200     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BATTERY_LOW
201     */
202    COMMON_EVENT_BATTERY_LOW = 'usual.event.BATTERY_LOW',
203
204    /**
205     * This commonEvent means when the battery level is an ok state.
206     *
207     * @syscap SystemCapability.Notification.CommonEvent
208     * @since 7
209     * @deprecated since 9
210     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BATTERY_OKAY
211     */
212    COMMON_EVENT_BATTERY_OKAY = 'usual.event.BATTERY_OKAY',
213
214    /**
215     * This commonEvent means when the other power is connected to the device.
216     *
217     * @syscap SystemCapability.Notification.CommonEvent
218     * @since 7
219     * @deprecated since 9
220     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_POWER_CONNECTED
221     */
222    COMMON_EVENT_POWER_CONNECTED = 'usual.event.POWER_CONNECTED',
223
224    /**
225     * This commonEvent means when the other power is removed from the device.
226     *
227     * @syscap SystemCapability.Notification.CommonEvent
228     * @since 7
229     * @deprecated since 9
230     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_POWER_DISCONNECTED
231     */
232    COMMON_EVENT_POWER_DISCONNECTED = 'usual.event.POWER_DISCONNECTED',
233
234    /**
235     * This commonEvent means when the screen is turned off.
236     *
237     * @syscap SystemCapability.Notification.CommonEvent
238     * @since 7
239     * @deprecated since 9
240     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_SCREEN_OFF
241     */
242    COMMON_EVENT_SCREEN_OFF = 'usual.event.SCREEN_OFF',
243
244    /**
245     * This commonEvent means when the device is awakened and interactive.
246     *
247     * @syscap SystemCapability.Notification.CommonEvent
248     * @since 7
249     * @deprecated since 9
250     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_SCREEN_ON
251     */
252    COMMON_EVENT_SCREEN_ON = 'usual.event.SCREEN_ON',
253
254    /**
255     * This commonEvent means when the thermal state level change
256     *
257     * @syscap SystemCapability.Notification.CommonEvent
258     * @since 8
259     * @deprecated since 9
260     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_THERMAL_LEVEL_CHANGED
261     */
262    COMMON_EVENT_THERMAL_LEVEL_CHANGED = 'usual.event.THERMAL_LEVEL_CHANGED',
263
264    /**
265     * This commonEvent means when the user is present after the device is awakened.
266     *
267     * @syscap SystemCapability.Notification.CommonEvent
268     * @since 7
269     * @deprecated since 9
270     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_PRESENT
271     */
272    COMMON_EVENT_USER_PRESENT = 'usual.event.USER_PRESENT',
273
274    /**
275     * This commonEvent means when the current time is changed.
276     *
277     * @syscap SystemCapability.Notification.CommonEvent
278     * @since 7
279     * @deprecated since 9
280     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_TIME_TICK
281     */
282    COMMON_EVENT_TIME_TICK = 'usual.event.TIME_TICK',
283
284    /**
285     * This commonEvent means when the time is set.
286     *
287     * @syscap SystemCapability.Notification.CommonEvent
288     * @since 7
289     * @deprecated since 9
290     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_TIME_CHANGED
291     */
292    COMMON_EVENT_TIME_CHANGED = 'usual.event.TIME_CHANGED',
293
294    /**
295     * This commonEvent means when the current date is changed.
296     *
297     * @syscap SystemCapability.Notification.CommonEvent
298     * @since 7
299     * @deprecated since 9
300     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DATE_CHANGED
301     */
302    COMMON_EVENT_DATE_CHANGED = 'usual.event.DATE_CHANGED',
303
304    /**
305     * This commonEvent means when the time zone is changed.
306     *
307     * @syscap SystemCapability.Notification.CommonEvent
308     * @since 7
309     * @deprecated since 9
310     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_TIMEZONE_CHANGED
311     */
312    COMMON_EVENT_TIMEZONE_CHANGED = 'usual.event.TIMEZONE_CHANGED',
313
314    /**
315     * This commonEvent means when the dialog to dismiss.
316     *
317     * @syscap SystemCapability.Notification.CommonEvent
318     * @since 7
319     * @deprecated since 9
320     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_CLOSE_SYSTEM_DIALOGS
321     */
322    COMMON_EVENT_CLOSE_SYSTEM_DIALOGS = 'usual.event.CLOSE_SYSTEM_DIALOGS',
323
324    /**
325     * This commonEvent means when a new application package is installed on the device.
326     *
327     * @syscap SystemCapability.Notification.CommonEvent
328     * @since 7
329     * @deprecated since 9
330     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_ADDED
331     */
332    COMMON_EVENT_PACKAGE_ADDED = 'usual.event.PACKAGE_ADDED',
333
334    /**
335     * This commonEvent means when a new version application package is installed on the device and
336     * replace the old version.the data contains the name of the package.
337     *
338     * @syscap SystemCapability.Notification.CommonEvent
339     * @since 7
340     * @deprecated since 9
341     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_REPLACED
342     */
343    COMMON_EVENT_PACKAGE_REPLACED = 'usual.event.PACKAGE_REPLACED',
344
345    /**
346     * This commonEvent means when a new version application package is installed on the device and
347     * replace the old version, it does not contain additional data and only be sent to the replaced application.
348     *
349     * @syscap SystemCapability.Notification.CommonEvent
350     * @since 7
351     * @deprecated since 9
352     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_MY_PACKAGE_REPLACED
353     */
354    COMMON_EVENT_MY_PACKAGE_REPLACED = 'usual.event.MY_PACKAGE_REPLACED',
355
356    /**
357     * This commonEvent means when an existing application package is removed from the device.
358     *
359     * @syscap SystemCapability.Notification.CommonEvent
360     * @since 7
361     * @deprecated since 9
362     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_REMOVED
363     */
364    COMMON_EVENT_PACKAGE_REMOVED = 'usual.event.PACKAGE_REMOVED',
365
366    /**
367     * This commonEvent means when an existing application package is removed from the device.
368     *
369     * @syscap SystemCapability.Notification.CommonEvent
370     * @since 7
371     * @deprecated since 9
372     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BUNDLE_REMOVED
373     */
374    COMMON_EVENT_BUNDLE_REMOVED = 'usual.event.BUNDLE_REMOVED',
375
376    /**
377     * This commonEvent means when an existing application package is completely removed from the device.
378     *
379     * @syscap SystemCapability.Notification.CommonEvent
380     * @since 7
381     * @deprecated since 9
382     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_FULLY_REMOVED
383     */
384    COMMON_EVENT_PACKAGE_FULLY_REMOVED = 'usual.event.PACKAGE_FULLY_REMOVED',
385
386    /**
387     * This commonEvent means when an existing application package has been changed.
388     *
389     * @syscap SystemCapability.Notification.CommonEvent
390     * @since 7
391     * @deprecated since 9
392     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_CHANGED
393     */
394    COMMON_EVENT_PACKAGE_CHANGED = 'usual.event.PACKAGE_CHANGED',
395
396    /**
397     * This commonEvent means the user has restarted a package, and all of its processes have been killed.
398     *
399     * @syscap SystemCapability.Notification.CommonEvent
400     * @since 7
401     * @deprecated since 9
402     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_RESTARTED
403     */
404    COMMON_EVENT_PACKAGE_RESTARTED = 'usual.event.PACKAGE_RESTARTED',
405
406    /**
407     * This commonEvent means the user has cleared the package data.
408     *
409     * @syscap SystemCapability.Notification.CommonEvent
410     * @since 7
411     * @deprecated since 9
412     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_DATA_CLEARED
413     */
414    COMMON_EVENT_PACKAGE_DATA_CLEARED = 'usual.event.PACKAGE_DATA_CLEARED',
415
416    /**
417     * This commonEvent means the packages have been suspended.
418     *
419     * @syscap SystemCapability.Notification.CommonEvent
420     * @since 7
421     * @deprecated since 9
422     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGES_SUSPENDED
423     */
424    COMMON_EVENT_PACKAGES_SUSPENDED = 'usual.event.PACKAGES_SUSPENDED',
425
426    /**
427     * This commonEvent means the packages have been un-suspended.
428     *
429     * @syscap SystemCapability.Notification.CommonEvent
430     * @since 7
431     * @deprecated since 9
432     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGES_UNSUSPENDED
433     */
434    COMMON_EVENT_PACKAGES_UNSUSPENDED = 'usual.event.PACKAGES_UNSUSPENDED',
435
436    /**
437     * This commonEvent Sent to a package that has been suspended by the system.
438     *
439     * @syscap SystemCapability.Notification.CommonEvent
440     * @since 7
441     * @deprecated since 9
442     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_MY_PACKAGE_SUSPENDED
443     */
444    COMMON_EVENT_MY_PACKAGE_SUSPENDED = 'usual.event.MY_PACKAGE_SUSPENDED',
445
446    /**
447     * Sent to a package that has been un-suspended.
448     *
449     * @syscap SystemCapability.Notification.CommonEvent
450     * @since 7
451     * @deprecated since 9
452     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_MY_PACKAGE_UNSUSPENDED
453     */
454    COMMON_EVENT_MY_PACKAGE_UNSUSPENDED = 'usual.event.MY_PACKAGE_UNSUSPENDED',
455
456    /**
457     * A user id has been removed from the system.
458     *
459     * @syscap SystemCapability.Notification.CommonEvent
460     * @since 7
461     * @deprecated since 9
462     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_UID_REMOVED
463     */
464    COMMON_EVENT_UID_REMOVED = 'usual.event.UID_REMOVED',
465
466    /**
467     * The application is first launched after installed.
468     *
469     * @syscap SystemCapability.Notification.CommonEvent
470     * @since 7
471     * @deprecated since 9
472     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_FIRST_LAUNCH
473     */
474    COMMON_EVENT_PACKAGE_FIRST_LAUNCH = 'usual.event.PACKAGE_FIRST_LAUNCH',
475
476    /**
477     * Sent by system package verifier when a package need to be verified.
478     *
479     * @syscap SystemCapability.Notification.CommonEvent
480     * @since 7
481     * @deprecated since 9
482     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION
483     */
484    COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION = 'usual.event.PACKAGE_NEEDS_VERIFICATION',
485
486    /**
487     * Sent by system package verifier when a package is verified.
488     *
489     * @syscap SystemCapability.Notification.CommonEvent
490     * @since 7
491     * @deprecated since 9
492     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_VERIFIED
493     */
494    COMMON_EVENT_PACKAGE_VERIFIED = 'usual.event.PACKAGE_VERIFIED',
495
496    /**
497     * Resources for a set of packages (which were previously unavailable) are currently
498     * available since the media on which they exist is available.
499     *
500     * @syscap SystemCapability.Notification.CommonEvent
501     * @since 7
502     * @deprecated since 9
503     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE
504     */
505    COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE = 'usual.event.EXTERNAL_APPLICATIONS_AVAILABLE',
506
507    /**
508     * Resources for a set of packages are currently unavailable since the media on which they exist is unavailable.
509     *
510     * @syscap SystemCapability.Notification.CommonEvent
511     * @since 7
512     * @deprecated since 9
513     * @useinstead ohos.commonEventManage/commonEventManager.Support#COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE
514     */
515    COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE = 'usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE',
516
517    /**
518     * The device configuration such as orientation,locale have been changed.
519     *
520     * @syscap SystemCapability.Notification.CommonEvent
521     * @since 7
522     * @deprecated since 9
523     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_CONFIGURATION_CHANGED
524     */
525    COMMON_EVENT_CONFIGURATION_CHANGED = 'usual.event.CONFIGURATION_CHANGED',
526
527    /**
528     * The current device's locale has changed.
529     *
530     * @syscap SystemCapability.Notification.CommonEvent
531     * @since 7
532     * @deprecated since 9
533     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_LOCALE_CHANGED
534     */
535    COMMON_EVENT_LOCALE_CHANGED = 'usual.event.LOCALE_CHANGED',
536
537    /**
538     *  Indicates low memory condition notification acknowledged by user and package management should be started.
539     *
540     * @syscap SystemCapability.Notification.CommonEvent
541     * @since 7
542     * @deprecated since 9
543     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_MANAGE_PACKAGE_STORAGE
544     */
545    COMMON_EVENT_MANAGE_PACKAGE_STORAGE = 'usual.event.MANAGE_PACKAGE_STORAGE',
546
547    /**
548     * Sent by the smart function when the system in drive mode.
549     *
550     * @syscap SystemCapability.Notification.CommonEvent
551     * @since 7
552     * @deprecated since 9
553     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DRIVE_MODE
554     */
555    COMMON_EVENT_DRIVE_MODE = 'common.event.DRIVE_MODE',
556
557    /**
558     * Sent by the smart function when the system in home mode.
559     *
560     * @syscap SystemCapability.Notification.CommonEvent
561     * @since 7
562     * @deprecated since 9
563     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_HOME_MODE
564     */
565    COMMON_EVENT_HOME_MODE = 'common.event.HOME_MODE',
566
567    /**
568     * Sent by the smart function when the system in office mode.
569     *
570     * @syscap SystemCapability.Notification.CommonEvent
571     * @since 7
572     * @deprecated since 9
573     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_OFFICE_MODE
574     */
575    COMMON_EVENT_OFFICE_MODE = 'common.event.OFFICE_MODE',
576
577    /**
578     * Remind new user of preparing to start.
579     *
580     * @syscap SystemCapability.Notification.CommonEvent
581     * @since 7
582     * @deprecated since 9
583     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_STARTED
584     */
585    COMMON_EVENT_USER_STARTED = 'usual.event.USER_STARTED',
586
587    /**
588     * Remind previous user of that the service has been the background.
589     *
590     * @syscap SystemCapability.Notification.CommonEvent
591     * @since 7
592     * @deprecated since 9
593     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_BACKGROUND
594     */
595    COMMON_EVENT_USER_BACKGROUND = 'usual.event.USER_BACKGROUND',
596
597    /**
598     * Remind new user of that the service has been the foreground.
599     *
600     * @syscap SystemCapability.Notification.CommonEvent
601     * @since 7
602     * @deprecated since 9
603     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_FOREGROUND
604     */
605    COMMON_EVENT_USER_FOREGROUND = 'usual.event.USER_FOREGROUND',
606
607    /**
608     * Remind new user of that the service has been switched to new user.
609     *
610     * @syscap SystemCapability.Notification.CommonEvent
611     * @since 7
612     * @deprecated since 9
613     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_SWITCHED
614     */
615    COMMON_EVENT_USER_SWITCHED = 'usual.event.USER_SWITCHED',
616
617    /**
618     * Remind new user of that the service has been starting.
619     *
620     * @syscap SystemCapability.Notification.CommonEvent
621     * @since 7
622     * @deprecated since 9
623     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_STARTING
624     */
625    COMMON_EVENT_USER_STARTING = 'usual.event.USER_STARTING',
626
627    /**
628     * Remind new user of that the service has been unlocked.
629     *
630     * @syscap SystemCapability.Notification.CommonEvent
631     * @since 7
632     * @deprecated since 9
633     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_UNLOCKED
634     */
635    COMMON_EVENT_USER_UNLOCKED = 'usual.event.USER_UNLOCKED',
636
637    /**
638     * Remind new user of that the service has been stopping.
639     *
640     * @syscap SystemCapability.Notification.CommonEvent
641     * @since 7
642     * @deprecated since 9
643     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_STOPPING
644     */
645    COMMON_EVENT_USER_STOPPING = 'usual.event.USER_STOPPING',
646
647    /**
648     * Remind new user of that the service has stopped.
649     *
650     * @syscap SystemCapability.Notification.CommonEvent
651     * @since 7
652     * @deprecated since 9
653     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_STOPPED
654     */
655    COMMON_EVENT_USER_STOPPED = 'usual.event.USER_STOPPED',
656
657    /**
658     * HW id login successfully.
659     *
660     * @syscap SystemCapability.Notification.CommonEvent
661     * @since 7
662     * @deprecated since 9
663     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_HWID_LOGIN
664     */
665    COMMON_EVENT_HWID_LOGIN = 'common.event.HWID_LOGIN',
666
667    /**
668     * HW id logout successfully.
669     *
670     * @syscap SystemCapability.Notification.CommonEvent
671     * @since 7
672     * @deprecated since 9
673     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_HWID_LOGOUT
674     */
675    COMMON_EVENT_HWID_LOGOUT = 'common.event.HWID_LOGOUT',
676
677    /**
678     * HW id is invalid.
679     *
680     * @syscap SystemCapability.Notification.CommonEvent
681     * @since 7
682     * @deprecated since 9
683     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_HWID_TOKEN_INVALID
684     */
685    COMMON_EVENT_HWID_TOKEN_INVALID = 'common.event.HWID_TOKEN_INVALID',
686
687    /**
688     * HW id logs off.
689     *
690     * @syscap SystemCapability.Notification.CommonEvent
691     * @since 7
692     * @deprecated since 9
693     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_HWID_LOGOFF
694     */
695    COMMON_EVENT_HWID_LOGOFF = 'common.event.HWID_LOGOFF',
696
697    /**
698     * WIFI state.
699     *
700     * @syscap SystemCapability.Notification.CommonEvent
701     * @since 7
702     * @deprecated since 9
703     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_POWER_STATE
704     */
705    COMMON_EVENT_WIFI_POWER_STATE = 'usual.event.wifi.POWER_STATE',
706
707    /**
708     * WIFI scan results.
709     *
710     * @syscap SystemCapability.Notification.CommonEvent
711     * @since 7
712     * @deprecated since 9
713     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_SCAN_FINISHED
714     */
715    COMMON_EVENT_WIFI_SCAN_FINISHED = 'usual.event.wifi.SCAN_FINISHED',
716
717    /**
718     * WIFI RSSI change.
719     *
720     * @syscap SystemCapability.Notification.CommonEvent
721     * @since 7
722     * @deprecated since 9
723     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_RSSI_VALUE
724     */
725    COMMON_EVENT_WIFI_RSSI_VALUE = 'usual.event.wifi.RSSI_VALUE',
726
727    /**
728     * WIFI connect state.
729     *
730     * @syscap SystemCapability.Notification.CommonEvent
731     * @since 7
732     * @deprecated since 9
733     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_CONN_STATE
734     */
735    COMMON_EVENT_WIFI_CONN_STATE = 'usual.event.wifi.CONN_STATE',
736
737    /**
738     * WIFI hotspot state.
739     *
740     * @syscap SystemCapability.Notification.CommonEvent
741     * @since 7
742     * @deprecated since 9
743     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_HOTSPOT_STATE
744     */
745    COMMON_EVENT_WIFI_HOTSPOT_STATE = 'usual.event.wifi.HOTSPOT_STATE',
746
747    /**
748     * WIFI ap sta join.
749     *
750     * @syscap SystemCapability.Notification.CommonEvent
751     * @since 7
752     * @deprecated since 9
753     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_AP_STA_JOIN
754     */
755    COMMON_EVENT_WIFI_AP_STA_JOIN = 'usual.event.wifi.WIFI_HS_STA_JOIN',
756
757    /**
758     * WIFI ap sta join.
759     *
760     * @syscap SystemCapability.Notification.CommonEvent
761     * @since 7
762     * @deprecated since 9
763     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_AP_STA_LEAVE
764     */
765    COMMON_EVENT_WIFI_AP_STA_LEAVE = 'usual.event.wifi.WIFI_HS_STA_LEAVE',
766
767    /**
768     * Indicates Wi-Fi MpLink state notification acknowledged by binding or unbinding MpLink.
769     *
770     * @syscap SystemCapability.Notification.CommonEvent
771     * @since 7
772     * @deprecated since 9
773     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE
774     */
775    COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE = 'usual.event.wifi.mplink.STATE_CHANGE',
776
777    /**
778     * Indicates Wi-Fi P2P connection state notification acknowledged by connecting or disconnected P2P.
779     *
780     * @syscap SystemCapability.Notification.CommonEvent
781     * @since 7
782     * @deprecated since 9
783     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_P2P_CONN_STATE
784     */
785    COMMON_EVENT_WIFI_P2P_CONN_STATE = 'usual.event.wifi.p2p.CONN_STATE_CHANGE',
786
787    /**
788     * Indicates that the Wi-Fi P2P state change.
789     *
790     * @syscap SystemCapability.Notification.CommonEvent
791     * @since 7
792     * @deprecated since 9
793     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_P2P_STATE_CHANGED
794     */
795    COMMON_EVENT_WIFI_P2P_STATE_CHANGED = 'usual.event.wifi.p2p.STATE_CHANGE',
796
797    /**
798     * Indicates that the Wi-Fi P2P peers state change.
799     *
800     * @syscap SystemCapability.Notification.CommonEvent
801     * @since 7
802     * @deprecated since 9
803     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED
804     */
805    COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED = 'usual.event.wifi.p2p.DEVICES_CHANGE',
806
807    /**
808     * Indicates that the Wi-Fi P2P discovery state change.
809     *
810     * @syscap SystemCapability.Notification.CommonEvent
811     * @since 7
812     * @deprecated since 9
813     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED
814     */
815    COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED = 'usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE',
816
817    /**
818     * Indicates that the Wi-Fi P2P current device state change.
819     *
820     * @syscap SystemCapability.Notification.CommonEvent
821     * @since 7
822     * @deprecated since 9
823     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED
824     */
825    COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED = 'usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE',
826
827    /**
828     * Indicates that the Wi-Fi P2P group info is changed.
829     *
830     * @syscap SystemCapability.Notification.CommonEvent
831     * @since 7
832     * @deprecated since 9
833     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED
834     */
835    COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED = 'usual.event.wifi.p2p.GROUP_STATE_CHANGED',
836
837    /**
838     * bluetooth.handsfree.ag.connect.state.update.
839     *
840     * @syscap SystemCapability.Notification.CommonEvent
841     * @since 7
842     * @deprecated since 9
843     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE
844     */
845    COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE',
846
847    /**
848     * bluetooth.handsfree.ag.current.device.update.
849     *
850     * @syscap SystemCapability.Notification.CommonEvent
851     * @since 7
852     * @deprecated since 9
853     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE
854     */
855    COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE = 'usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE',
856
857    /**
858     * bluetooth.handsfree.ag.audio.state.update.
859     *
860     * @syscap SystemCapability.Notification.CommonEvent
861     * @since 7
862     * @deprecated since 9
863     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE
864     */
865    COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE = 'usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE',
866
867    /**
868     * bluetooth.a2dpsource.connect.state.update.
869     *
870     * @syscap SystemCapability.Notification.CommonEvent
871     * @since 7
872     * @deprecated since 9
873     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE
874     */
875    COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE',
876
877    /**
878     * bluetooth.a2dpsource.current.device.update.
879     *
880     * @syscap SystemCapability.Notification.CommonEvent
881     * @since 7
882     * @deprecated since 9
883     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE
884     */
885    COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE = 'usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE',
886
887    /**
888     * bluetooth.a2dpsource.playing.state.update.
889     *
890     * @syscap SystemCapability.Notification.CommonEvent
891     * @since 7
892     * @deprecated since 9
893     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE
894     */
895    COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE = 'usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE',
896
897    /**
898     * bluetooth.a2dpsource.avrcp.connect.state.update.
899     *
900     * @syscap SystemCapability.Notification.CommonEvent
901     * @since 7
902     * @deprecated since 9
903     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE
904     */
905    COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE',
906
907    /**
908     * bluetooth.a2dpsource.codec.value.update.
909     *
910     * @syscap SystemCapability.Notification.CommonEvent
911     * @since 7
912     * @deprecated since 9
913     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE
914     */
915    COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE = 'usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE',
916
917    /**
918     * bluetooth.remotedevice.discovered.
919     *
920     * @syscap SystemCapability.Notification.CommonEvent
921     * @since 7
922     * @deprecated since 9
923     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED
924     */
925    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED = 'usual.event.bluetooth.remotedevice.DISCOVERED',
926
927    /**
928     * bluetooth.remotedevice.class.value.update.
929     *
930     * @syscap SystemCapability.Notification.CommonEvent
931     * @since 7
932     * @deprecated since 9
933     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE
934     */
935    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE = 'usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE',
936
937    /**
938     * bluetooth.remotedevice.acl.connected.
939     *
940     * @syscap SystemCapability.Notification.CommonEvent
941     * @since 7
942     * @deprecated since 9
943     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED
944     */
945    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED = 'usual.event.bluetooth.remotedevice.ACL_CONNECTED',
946
947    /**
948     * bluetooth.remotedevice.acl.disconnected.
949     *
950     * @syscap SystemCapability.Notification.CommonEvent
951     * @since 7
952     * @deprecated since 9
953     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED
954     */
955    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED = 'usual.event.bluetooth.remotedevice.ACL_DISCONNECTED',
956
957    /**
958     * bluetooth.remotedevice.name.update.
959     *
960     * @syscap SystemCapability.Notification.CommonEvent
961     * @since 7
962     * @deprecated since 9
963     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE
964     */
965    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE = 'usual.event.bluetooth.remotedevice.NAME_UPDATE',
966
967    /**
968     * bluetooth.remotedevice.pair.state.
969     *
970     * @syscap SystemCapability.Notification.CommonEvent
971     * @since 7
972     * @deprecated since 9
973     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE
974     */
975    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE = 'usual.event.bluetooth.remotedevice.PAIR_STATE',
976
977    /**
978     * bluetooth.remotedevice.battery.value.update.
979     *
980     * @syscap SystemCapability.Notification.CommonEvent
981     * @since 7
982     * @deprecated since 9
983     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE
984     */
985    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE = 'usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE',
986
987    /**
988     * bluetooth.remotedevice.sdp.result.
989     *
990     * @syscap SystemCapability.Notification.CommonEvent
991     * @since 7
992     * @deprecated since 9
993     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT
994     */
995    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT = 'usual.event.bluetooth.remotedevice.SDP_RESULT',
996
997    /**
998     * bluetooth.remotedevice.uuid.value.
999     *
1000     * @syscap SystemCapability.Notification.CommonEvent
1001     * @since 7
1002     * @deprecated since 9
1003     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE
1004     */
1005    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE = 'usual.event.bluetooth.remotedevice.UUID_VALUE',
1006
1007    /**
1008     * bluetooth.remotedevice.pairing.req.
1009     *
1010     * @syscap SystemCapability.Notification.CommonEvent
1011     * @since 7
1012     * @deprecated since 9
1013     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ
1014     */
1015    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ = 'usual.event.bluetooth.remotedevice.PAIRING_REQ',
1016
1017    /**
1018     * bluetooth.remotedevice.pairing.cancel.
1019     *
1020     * @syscap SystemCapability.Notification.CommonEvent
1021     * @since 7
1022     * @deprecated since 9
1023     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL
1024     */
1025    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL = 'usual.event.bluetooth.remotedevice.PAIRING_CANCEL',
1026
1027    /**
1028     * bluetooth.remotedevice.connect.req.
1029     *
1030     * @syscap SystemCapability.Notification.CommonEvent
1031     * @since 7
1032     * @deprecated since 9
1033     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ
1034     */
1035    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ = 'usual.event.bluetooth.remotedevice.CONNECT_REQ',
1036
1037    /**
1038     * bluetooth.remotedevice.connect.reply.
1039     *
1040     * @syscap SystemCapability.Notification.CommonEvent
1041     * @since 7
1042     * @deprecated since 9
1043     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY
1044     */
1045    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY = 'usual.event.bluetooth.remotedevice.CONNECT_REPLY',
1046
1047    /**
1048     * bluetooth.remotedevice.connect.cancel.
1049     *
1050     * @syscap SystemCapability.Notification.CommonEvent
1051     * @since 7
1052     * @deprecated since 9
1053     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL
1054     */
1055    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL = 'usual.event.bluetooth.remotedevice.CONNECT_CANCEL',
1056
1057    /**
1058     * bluetooth.handsfreeunit.connect.state.update.
1059     *
1060     * @syscap SystemCapability.Notification.CommonEvent
1061     * @since 7
1062     * @deprecated since 9
1063     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE
1064     */
1065    COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE',
1066
1067    /**
1068     * bluetooth.handsfreeunit.audio.state.update.
1069     *
1070     * @syscap SystemCapability.Notification.CommonEvent
1071     * @since 7
1072     * @deprecated since 9
1073     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE
1074     */
1075    COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE = 'usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE',
1076
1077    /**
1078     * bluetooth.handsfreeunit.ag.common.event.
1079     *
1080     * @syscap SystemCapability.Notification.CommonEvent
1081     * @since 7
1082     * @deprecated since 9
1083     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT
1084     */
1085    COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT = 'usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT',
1086
1087    /**
1088     * bluetooth.handsfreeunit.ag.call.state.update.
1089     *
1090     * @syscap SystemCapability.Notification.CommonEvent
1091     * @since 7
1092     * @deprecated since 9
1093     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE
1094     */
1095    COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE = 'usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE',
1096
1097    /**
1098     * bluetooth.host.state.update.
1099     *
1100     * @syscap SystemCapability.Notification.CommonEvent
1101     * @since 7
1102     * @deprecated since 9
1103     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE
1104     */
1105    COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE = 'usual.event.bluetooth.host.STATE_UPDATE',
1106
1107    /**
1108     * bluetooth.host.req.discoverable.
1109     *
1110     * @syscap SystemCapability.Notification.CommonEvent
1111     * @since 7
1112     * @deprecated since 9
1113     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE
1114     */
1115    COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE = 'usual.event.bluetooth.host.REQ_DISCOVERABLE',
1116
1117    /**
1118     * bluetooth.host.req.enable.
1119     *
1120     * @syscap SystemCapability.Notification.CommonEvent
1121     * @since 7
1122     * @deprecated since 9
1123     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE
1124     */
1125    COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE = 'usual.event.bluetooth.host.REQ_ENABLE',
1126
1127    /**
1128     * bluetooth.host.req.disable.
1129     *
1130     * @syscap SystemCapability.Notification.CommonEvent
1131     * @since 7
1132     * @deprecated since 9
1133     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE
1134     */
1135    COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE = 'usual.event.bluetooth.host.REQ_DISABLE',
1136
1137    /**
1138     * bluetooth.host.scan.mode.update.
1139     *
1140     * @syscap SystemCapability.Notification.CommonEvent
1141     * @since 7
1142     * @deprecated since 9
1143     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE
1144     */
1145    COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE = 'usual.event.bluetooth.host.SCAN_MODE_UPDATE',
1146
1147    /**
1148     * bluetooth.host.discovery.stated.
1149     *
1150     * @syscap SystemCapability.Notification.CommonEvent
1151     * @since 7
1152     * @deprecated since 9
1153     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED
1154     */
1155    COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED = 'usual.event.bluetooth.host.DISCOVERY_STARTED',
1156
1157    /**
1158     * bluetooth.host.discovery.finished.
1159     *
1160     * @syscap SystemCapability.Notification.CommonEvent
1161     * @since 7
1162     * @deprecated since 9
1163     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED
1164     */
1165    COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED = 'usual.event.bluetooth.host.DISCOVERY_FINISHED',
1166
1167    /**
1168     * bluetooth.host.name.update.
1169     *
1170     * @syscap SystemCapability.Notification.CommonEvent
1171     * @since 7
1172     * @deprecated since 9
1173     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE
1174     */
1175    COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE = 'usual.event.bluetooth.host.NAME_UPDATE',
1176
1177    /**
1178     * bluetooth.a2dp.connect.state.update.
1179     *
1180     * @syscap SystemCapability.Notification.CommonEvent
1181     * @since 7
1182     * @deprecated since 9
1183     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE
1184     */
1185    COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE',
1186
1187    /**
1188     * bluetooth.a2dp.playing.state.update.
1189     *
1190     * @syscap SystemCapability.Notification.CommonEvent
1191     * @since 7
1192     * @deprecated since 9
1193     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE
1194     */
1195    COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE = 'usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE',
1196
1197    /**
1198     * bluetooth.a2dp.audio.state.update.
1199     *
1200     * @syscap SystemCapability.Notification.CommonEvent
1201     * @since 7
1202     * @deprecated since 9
1203     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE
1204     */
1205    COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE = 'usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE',
1206
1207    /**
1208     * Nfc state change.
1209     *
1210     * @syscap SystemCapability.Notification.CommonEvent
1211     * @since 7
1212     * @deprecated since 9
1213     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED
1214     */
1215    COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED = 'usual.event.nfc.action.ADAPTER_STATE_CHANGED',
1216
1217    /**
1218     * Nfc field on detected.
1219     *
1220     * @syscap SystemCapability.Notification.CommonEvent
1221     * @since 7
1222     * @deprecated since 9
1223     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED
1224     */
1225    COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED = 'usual.event.nfc.action.RF_FIELD_ON_DETECTED',
1226
1227    /**
1228     * Nfc field off detected.
1229     *
1230     * @syscap SystemCapability.Notification.CommonEvent
1231     * @since 7
1232     * @deprecated since 9
1233     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED
1234     */
1235    COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED = 'usual.event.nfc.action.RF_FIELD_OFF_DETECTED',
1236
1237    /**
1238     * Sent when stop charging battery.
1239     *
1240     * @syscap SystemCapability.Notification.CommonEvent
1241     * @since 7
1242     * @deprecated since 9
1243     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISCHARGING
1244     */
1245    COMMON_EVENT_DISCHARGING = 'usual.event.DISCHARGING',
1246
1247    /**
1248     * Sent when start charging battery.
1249     *
1250     * @syscap SystemCapability.Notification.CommonEvent
1251     * @since 7
1252     * @deprecated since 9
1253     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_CHARGING
1254     */
1255    COMMON_EVENT_CHARGING = 'usual.event.CHARGING',
1256
1257    /**
1258     * Sent when device's idle mode changed
1259     *
1260     * @syscap SystemCapability.Notification.CommonEvent
1261     * @since 7
1262     * @deprecated since 9
1263     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED
1264     */
1265    COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED = 'usual.event.DEVICE_IDLE_MODE_CHANGED',
1266
1267    /**
1268     * Sent when device's power save mode changed
1269     *
1270     * @syscap SystemCapability.Notification.CommonEvent
1271     * @since 7
1272     * @deprecated since 9
1273     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_POWER_SAVE_MODE_CHANGED
1274     */
1275    COMMON_EVENT_POWER_SAVE_MODE_CHANGED = 'usual.event.POWER_SAVE_MODE_CHANGED',
1276
1277    /**
1278     * User added.
1279     *
1280     * @syscap SystemCapability.Notification.CommonEvent
1281     * @since 7
1282     * @deprecated since 9
1283     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_ADDED
1284     */
1285    COMMON_EVENT_USER_ADDED = 'usual.event.USER_ADDED',
1286
1287    /**
1288     * User removed.
1289     *
1290     * @syscap SystemCapability.Notification.CommonEvent
1291     * @since 7
1292     * @deprecated since 9
1293     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_REMOVED
1294     */
1295    COMMON_EVENT_USER_REMOVED = 'usual.event.USER_REMOVED',
1296
1297    /**
1298     * Sent when ability is added.
1299     *
1300     * @syscap SystemCapability.Notification.CommonEvent
1301     * @since 7
1302     * @deprecated since 9
1303     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_ABILITY_ADDED
1304     */
1305    COMMON_EVENT_ABILITY_ADDED = 'common.event.ABILITY_ADDED',
1306
1307    /**
1308     * Sent when ability is removed.
1309     *
1310     * @syscap SystemCapability.Notification.CommonEvent
1311     * @since 7
1312     * @deprecated since 9
1313     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_ABILITY_REMOVED
1314     */
1315    COMMON_EVENT_ABILITY_REMOVED = 'common.event.ABILITY_REMOVED',
1316
1317    /**
1318     * Sent when ability is updated.
1319     *
1320     * @syscap SystemCapability.Notification.CommonEvent
1321     * @since 7
1322     * @deprecated since 9
1323     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_ABILITY_UPDATED
1324     */
1325    COMMON_EVENT_ABILITY_UPDATED = 'common.event.ABILITY_UPDATED',
1326
1327    /**
1328     * Gps mode state changed.
1329     *
1330     * @syscap SystemCapability.Notification.CommonEvent
1331     * @since 7
1332     * @deprecated since 9
1333     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_LOCATION_MODE_STATE_CHANGED
1334     */
1335    COMMON_EVENT_LOCATION_MODE_STATE_CHANGED = 'usual.event.location.MODE_STATE_CHANGED',
1336
1337    /**
1338     * The ivi is about to go into sleep state when the ivi is turned off power.
1339     * This is a protected common event that can only be sent by system.
1340     *
1341     * @syscap SystemCapability.Notification.CommonEvent
1342     * @since 7
1343     * @deprecated since 9
1344     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_SLEEP
1345     */
1346    COMMON_EVENT_IVI_SLEEP = 'common.event.IVI_SLEEP',
1347
1348    /**
1349     * The ivi is slept and notify the app stop playing.
1350     * This is a protected common event that can only be sent by system.
1351     *
1352     * @syscap SystemCapability.Notification.CommonEvent
1353     * @since 7
1354     * @deprecated since 9
1355     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_PAUSE
1356     */
1357    COMMON_EVENT_IVI_PAUSE = 'common.event.IVI_PAUSE',
1358
1359    /**
1360     * The ivi is standby and notify the app stop playing.
1361     * This is a protected common event that can only be sent by system.
1362     *
1363     * @syscap SystemCapability.Notification.CommonEvent
1364     * @since 7
1365     * @deprecated since 9
1366     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_STANDBY
1367     */
1368    COMMON_EVENT_IVI_STANDBY = 'common.event.IVI_STANDBY',
1369
1370    /**
1371     * The app stop playing and save state.
1372     * This is a protected common event that can only be sent by system.
1373     *
1374     * @syscap SystemCapability.Notification.CommonEvent
1375     * @since 7
1376     * @deprecated since 9
1377     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_LASTMODE_SAVE
1378     */
1379    COMMON_EVENT_IVI_LASTMODE_SAVE = 'common.event.IVI_LASTMODE_SAVE',
1380
1381    /**
1382     * The ivi is voltage abnormal.
1383     * This is a protected common event that can only be sent by system.
1384     *
1385     * @syscap SystemCapability.Notification.CommonEvent
1386     * @since 7
1387     * @deprecated since 9
1388     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_VOLTAGE_ABNORMAL
1389     */
1390    COMMON_EVENT_IVI_VOLTAGE_ABNORMAL = 'common.event.IVI_VOLTAGE_ABNORMAL',
1391
1392    /**
1393     * The ivi temperature is too high.
1394     * This is a protected common event that can only be sent by system.this common event will be delete later,
1395     * please use COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL.
1396     *
1397     * @syscap SystemCapability.Notification.CommonEvent
1398     * @since 7
1399     * @deprecated since 9
1400     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_HIGH_TEMPERATURE
1401     */
1402    COMMON_EVENT_IVI_HIGH_TEMPERATURE = 'common.event.IVI_HIGH_TEMPERATURE',
1403
1404    /**
1405     * The ivi temperature is extreme high.
1406     * This is a protected common event that can only be sent by system.this common event will be delete later,
1407     * please use COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL.
1408     *
1409     * @syscap SystemCapability.Notification.CommonEvent
1410     * @since 7
1411     * @deprecated since 9
1412     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_EXTREME_TEMPERATURE
1413     */
1414    COMMON_EVENT_IVI_EXTREME_TEMPERATURE = 'common.event.IVI_EXTREME_TEMPERATURE',
1415
1416    /**
1417     * The ivi temperature is abnormal.
1418     * This is a protected common event that can only be sent by system.
1419     *
1420     * @syscap SystemCapability.Notification.CommonEvent
1421     * @since 7
1422     * @deprecated since 9
1423     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL
1424     */
1425    COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL = 'common.event.IVI_TEMPERATURE_ABNORMAL',
1426
1427    /**
1428     * The ivi voltage is recovery.
1429     * This is a protected common event that can only be sent by system.
1430     *
1431     * @syscap SystemCapability.Notification.CommonEvent
1432     * @since 7
1433     * @deprecated since 9
1434     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_VOLTAGE_RECOVERY
1435     */
1436    COMMON_EVENT_IVI_VOLTAGE_RECOVERY = 'common.event.IVI_VOLTAGE_RECOVERY',
1437
1438    /**
1439     * The ivi temperature is recovery.
1440     * This is a protected common event that can only be sent by system.
1441     *
1442     * @syscap SystemCapability.Notification.CommonEvent
1443     * @since 7
1444     * @deprecated since 9
1445     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_TEMPERATURE_RECOVERY
1446     */
1447    COMMON_EVENT_IVI_TEMPERATURE_RECOVERY = 'common.event.IVI_TEMPERATURE_RECOVERY',
1448
1449    /**
1450     * The battery service is active.
1451     * This is a protected common event that can only be sent by system.
1452     *
1453     * @syscap SystemCapability.Notification.CommonEvent
1454     * @since 7
1455     * @deprecated since 9
1456     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_ACTIVE
1457     */
1458    COMMON_EVENT_IVI_ACTIVE = 'common.event.IVI_ACTIVE',
1459
1460    /**
1461     * The usb device attached.
1462     * This is a protected common event that can only be sent by system.
1463     *
1464     * @syscap SystemCapability.Notification.CommonEvent
1465     * @since 7
1466     * @deprecated since 9
1467     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USB_DEVICE_ATTACHED
1468     */
1469    COMMON_EVENT_USB_DEVICE_ATTACHED = 'usual.event.hardware.usb.action.USB_DEVICE_ATTACHED',
1470
1471    /**
1472     * The usb device detached.
1473     * This is a protected common event that can only be sent by system.
1474     *
1475     * @syscap SystemCapability.Notification.CommonEvent
1476     * @since 7
1477     * @deprecated since 9
1478     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USB_DEVICE_DETACHED
1479     */
1480    COMMON_EVENT_USB_DEVICE_DETACHED = 'usual.event.hardware.usb.action.USB_DEVICE_DETACHED',
1481
1482    /**
1483     * The usb accessory attached.
1484     * This is a protected common event that can only be sent by system.
1485     *
1486     * @syscap SystemCapability.Notification.CommonEvent
1487     * @since 7
1488     * @deprecated since 9
1489     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USB_ACCESSORY_ATTACHED
1490     */
1491    COMMON_EVENT_USB_ACCESSORY_ATTACHED = 'usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED',
1492
1493    /**
1494     * The usb accessory detached.
1495     * This is a protected common event that can only be sent by system.
1496     *
1497     * @syscap SystemCapability.Notification.CommonEvent
1498     * @since 7
1499     * @deprecated since 9
1500     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USB_ACCESSORY_DETACHED
1501     */
1502    COMMON_EVENT_USB_ACCESSORY_DETACHED = 'usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED',
1503
1504    /**
1505     * The external storage was removed.
1506     * This is a protected common event that can only be sent by system.
1507     *
1508     * @syscap SystemCapability.Notification.CommonEvent
1509     * @since 7
1510     * @deprecated since 9
1511     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISK_REMOVED
1512     */
1513    COMMON_EVENT_DISK_REMOVED = 'usual.event.data.DISK_REMOVED',
1514
1515    /**
1516     * The external storage was unmounted.
1517     * This is a protected common event that can only be sent by system.
1518     *
1519     * @syscap SystemCapability.Notification.CommonEvent
1520     * @since 7
1521     * @deprecated since 9
1522     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISK_UNMOUNTED
1523     */
1524    COMMON_EVENT_DISK_UNMOUNTED = 'usual.event.data.DISK_UNMOUNTED',
1525
1526    /**
1527     * The external storage was mounted.
1528     * This is a protected common event that can only be sent by system.
1529     *
1530     * @syscap SystemCapability.Notification.CommonEvent
1531     * @since 7
1532     * @deprecated since 9
1533     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISK_MOUNTED
1534     */
1535    COMMON_EVENT_DISK_MOUNTED = 'usual.event.data.DISK_MOUNTED',
1536
1537    /**
1538     * The external storage was bad removal.
1539     * This is a protected common event that can only be sent by system.
1540     *
1541     * @syscap SystemCapability.Notification.CommonEvent
1542     * @since 7
1543     * @deprecated since 9
1544     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISK_BAD_REMOVAL
1545     */
1546    COMMON_EVENT_DISK_BAD_REMOVAL = 'usual.event.data.DISK_BAD_REMOVAL',
1547
1548    /**
1549     * The external storage was unmountable.
1550     * This is a protected common event that can only be sent by system.
1551     *
1552     * @syscap SystemCapability.Notification.CommonEvent
1553     * @since 7
1554     * @deprecated since 9
1555     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISK_UNMOUNTABLE
1556     */
1557    COMMON_EVENT_DISK_UNMOUNTABLE = 'usual.event.data.DISK_UNMOUNTABLE',
1558
1559    /**
1560     * The external storage was eject.
1561     * This is a protected common event that can only be sent by system.
1562     *
1563     * @syscap SystemCapability.Notification.CommonEvent
1564     * @since 7
1565     * @deprecated since 9
1566     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISK_EJECT
1567     */
1568    COMMON_EVENT_DISK_EJECT = 'usual.event.data.DISK_EJECT',
1569
1570    /**
1571     * The visible of account was updated.
1572     * This is a protected common event that can only be sent by system.
1573     *
1574     * @syscap SystemCapability.Notification.CommonEvent
1575     * @since 7
1576     * @deprecated since 9
1577     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED
1578     */
1579    COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED = 'usual.event.data.VISIBLE_ACCOUNTS_UPDATED',
1580
1581    /**
1582     * Account was deleted.
1583     * This is a protected common event that can only be sent by system.
1584     *
1585     * @syscap SystemCapability.Notification.CommonEvent
1586     * @since 7
1587     * @deprecated since 9
1588     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_ACCOUNT_DELETED
1589     */
1590    COMMON_EVENT_ACCOUNT_DELETED = 'usual.event.data.ACCOUNT_DELETED',
1591
1592    /**
1593     * Foundation was ready.
1594     * This is a protected common event that can only be sent by system.
1595     *
1596     * @syscap SystemCapability.Notification.CommonEvent
1597     * @since 7
1598     * @deprecated since 9
1599     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_FOUNDATION_READY
1600     */
1601    COMMON_EVENT_FOUNDATION_READY = 'common.event.FOUNDATION_READY',
1602
1603    /**
1604     * Indicates the common event Action indicating that the airplane mode status of the device changes.
1605     * Users can register this event to listen to the change of the airplane mode status of the device.
1606     *
1607     * @syscap SystemCapability.Notification.CommonEvent
1608     * @since 7
1609     * @deprecated since 9
1610     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_AIRPLANE_MODE_CHANGED
1611     */
1612    COMMON_EVENT_AIRPLANE_MODE_CHANGED = 'usual.event.AIRPLANE_MODE',
1613
1614    /**
1615     * sent by the window manager service when the window mode is split.
1616     *
1617     * @syscap SystemCapability.Notification.CommonEvent
1618     * @since 8
1619     * @deprecated since 9
1620     * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_SPLIT_SCREEN
1621     */
1622    COMMON_EVENT_SPLIT_SCREEN = 'common.event.SPLIT_SCREEN'
1623  }
1624}
1625
1626export default commonEvent;
1627