• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2022-2024 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
16/**
17 * @file
18 * @kit BasicServicesKit
19 */
20
21import { AsyncCallback, Callback } from './@ohos.base';
22import { CommonEventData as _CommonEventData } from './commonEvent/commonEventData';
23import { CommonEventSubscriber as _CommonEventSubscriber } from './commonEvent/commonEventSubscriber';
24import { CommonEventSubscribeInfo as _CommonEventSubscribeInfo } from './commonEvent/commonEventSubscribeInfo';
25import { CommonEventPublishData as _CommonEventPublishData } from './commonEvent/commonEventPublishData';
26
27/**
28 * The CommonEventManager module provides common event capabilities, including the capabilities to publish, subscribe to, and unsubscribe from common events.
29 *
30 * @namespace commonEventManager
31 * @syscap SystemCapability.Notification.CommonEvent
32 * @since 9
33 */
34/**
35 * The CommonEventManager module provides common event capabilities, including the capabilities to publish, subscribe to, and unsubscribe from common events.
36 *
37 * @namespace commonEventManager
38 * @syscap SystemCapability.Notification.CommonEvent
39 * @crossplatform
40 * @atomicservice
41 * @since arkts {'1.1':'11', '1.2':'20'}
42 * @arkts 1.1&1.2
43 */
44declare namespace commonEventManager {
45  /**
46   * Publishes a common event. This API uses an asynchronous callback to return the result.
47   *
48   * @param { string } event - Name of the common event to publish. For details, see System Common Events.
49   * @param { AsyncCallback<void> } callback - Callback to execute after the event is published.
50   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
51   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
52   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
53   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
54   * @throws { BusinessError } 1500009 - Failed to obtain system parameters.
55   * @syscap SystemCapability.Notification.CommonEvent
56   * @since 9
57   */
58  /**
59   * Publishes a common event. This API uses an asynchronous callback to return the result.
60   *
61   * @param { string } event - Name of the common event to publish. For details, see System Common Events.
62   * @param { AsyncCallback<void> } callback - Callback to execute after the event is published.
63   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
64   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
65   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
66   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
67   * @throws { BusinessError } 1500009 - Failed to obtain system parameters.
68   * @syscap SystemCapability.Notification.CommonEvent
69   * @atomicservice
70   * @since 11
71   */
72  /**
73   * Publishes a common event. This API uses an asynchronous callback to return the result.
74   *
75   * @param { string } event - Name of the common event to publish. For details, see System Common Events.
76   * @param { AsyncCallback<void> } callback - Callback to execute after the event is published.
77   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
78   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
79   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
80   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
81   * @throws { BusinessError } 1500009 - Failed to obtain system parameters.
82   * @syscap SystemCapability.Notification.CommonEvent
83   * @crossplatform
84   * @atomicservice
85   * @since 12
86   */
87  /**
88   * Publishes a common event. This API uses an asynchronous callback to return the result.
89   *
90   * @param { string } event - Name of the common event to publish. For details, see System Common Events.
91   * @param { AsyncCallback<void> } callback - Callback to execute after the event is published.
92   * @throws { BusinessError } 1500003 - The common event sending frequency too high.
93   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
94   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
95   * @throws { BusinessError } 1500009 - Failed to obtain system parameters.
96   * @syscap SystemCapability.Notification.CommonEvent
97   * @crossplatform
98   * @atomicservice
99   * @since arkts {'1.1':'20', '1.2':'20'}
100   * @arkts 1.1&1.2
101   */
102  function publish(event: string, callback: AsyncCallback<void>): void;
103
104  /**
105   * Publishes a common event. This API uses an asynchronous callback to return the result.
106   *
107   * @param { string } event - Name of the common event to publish. For details, see System Common Events.
108   * @param { CommonEventPublishData } options - Attributes of the common event to publish.
109   * @param { AsyncCallback<void> } callback - Callback used to return the result.
110   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
111   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
112   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
113   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
114   * @throws { BusinessError } 1500009 - Failed to obtain system parameters.
115   * @syscap SystemCapability.Notification.CommonEvent
116   * @since 9
117   */
118  /**
119   * Publishes a common event. This API uses an asynchronous callback to return the result.
120   *
121   * @param { string } event - Name of the common event to publish. For details, see System Common Events.
122   * @param { CommonEventPublishData } options - Attributes of the common event to publish.
123   * @param { AsyncCallback<void> } callback - Callback used to return the result.
124   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
125   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
126   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
127   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
128   * @throws { BusinessError } 1500009 - Failed to obtain system parameters.
129   * @syscap SystemCapability.Notification.CommonEvent
130   * @atomicservice
131   * @since 11
132   */
133  /**
134   * Publishes a common event. This API uses an asynchronous callback to return the result.
135   *
136   * @param { string } event - Name of the common event to publish. For details, see System Common Events.
137   * @param { CommonEventPublishData } options - Attributes of the common event to publish.
138   * @param { AsyncCallback<void> } callback - Callback used to return the result.
139   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
140   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
141   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
142   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
143   * @throws { BusinessError } 1500009 - Failed to obtain system parameters.
144   * @syscap SystemCapability.Notification.CommonEvent
145   * @crossplatform
146   * @atomicservice
147   * @since 12
148   */
149  /**
150   * Publishes a common event. This API uses an asynchronous callback to return the result.
151   *
152   * @param { string } event - Name of the common event to publish. For details, see System Common Events.
153   * @param { CommonEventPublishData } options - Attributes of the common event to publish.
154   * @param { AsyncCallback<void> } callback - Callback used to return the result.
155   * @throws { BusinessError } 1500003 - The common event sending frequency too high.
156   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
157   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
158   * @throws { BusinessError } 1500009 - Failed to obtain system parameters.
159   * @syscap SystemCapability.Notification.CommonEvent
160   * @crossplatform
161   * @atomicservice
162   * @since arkts {'1.1':'20', '1.2':'20'}
163   * @arkts 1.1&1.2
164   */
165  function publish(event: string, options: CommonEventPublishData, callback: AsyncCallback<void>): void;
166
167  /**
168   * Publishes an ordered, sticky, or standard common event to a specified user.
169   *
170   * @param { string } event - Specified the names of the common events.
171   * @param { number } userId - Specified the user to receive the common events.
172   * @param { AsyncCallback<void> } callback - The callback of publishAsUser.
173   * @throws { BusinessError } 202 - not system app
174   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
175   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
176   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
177   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
178   * @throws { BusinessError } 1500009 - Failed to obtain system parameters.
179   * @syscap SystemCapability.Notification.CommonEvent
180   * @systemapi
181   * @since 9
182   */
183  /**
184   * Publishes an ordered, sticky, or standard common event to a specified user.
185   *
186   * @param { string } event - Specified the names of the common events.
187   * @param { number } userId - Specified the user to receive the common events.
188   * @param { AsyncCallback<void> } callback - The callback of publishAsUser.
189   * @throws { BusinessError } 202 - not system app
190   * @throws { BusinessError } 1500003 - The common event sending frequency too high.
191   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
192   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
193   * @throws { BusinessError } 1500009 - Failed to obtain system parameters.
194   * @syscap SystemCapability.Notification.CommonEvent
195   * @systemapi
196   * @since arkts {'1.1':'20', '1.2':'20'}
197   * @arkts 1.1&1.2
198   */
199  function publishAsUser(event: string, userId: number, callback: AsyncCallback<void>): void;
200
201  /**
202   * Publishes an ordered, sticky, or standard common event to a specified user.
203   *
204   * @param { string } event - Specified the names of the common events.
205   * @param { number } userId - Specified the user to receive the common events.
206   * @param { CommonEventPublishData } options - Indicates the CommonEventPublishData containing the common event
207   *                                             content and attributes.
208   * @param { AsyncCallback<void> } callback - The callback of publishAsUser.
209   * @throws { BusinessError } 202 - not system app
210   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
211   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
212   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
213   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
214   * @throws { BusinessError } 1500009 - Failed to obtain system parameters.
215   * @syscap SystemCapability.Notification.CommonEvent
216   * @systemapi
217   * @since 9
218   */
219    /**
220   * Publishes an ordered, sticky, or standard common event to a specified user.
221   *
222   * @param { string } event - Specified the names of the common events.
223   * @param { number } userId - Specified the user to receive the common events.
224   * @param { CommonEventPublishData } options - Indicates the CommonEventPublishData containing the common event
225   *                                             content and attributes.
226   * @param { AsyncCallback<void> } callback - The callback of publishAsUser.
227   * @throws { BusinessError } 202 - not system app
228   * @throws { BusinessError } 1500003 - The common event sending frequency too high.
229   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
230   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
231   * @throws { BusinessError } 1500009 - Failed to obtain system parameters.
232   * @syscap SystemCapability.Notification.CommonEvent
233   * @systemapi
234   * @since arkts {'1.1':'20', '1.2':'20'}
235   * @arkts 1.1&1.2
236   */
237  function publishAsUser(
238    event: string,
239    userId: number,
240    options: CommonEventPublishData,
241    callback: AsyncCallback<void>
242  ): void;
243
244  /**
245   * Creates a subscriber. This API uses an asynchronous callback to return the result.
246   *
247   * @param { CommonEventSubscribeInfo } subscribeInfo - Subscriber information.
248   * @param { AsyncCallback<CommonEventSubscriber> } callback - Callback used to return the result.
249   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
250   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
251   * @syscap SystemCapability.Notification.CommonEvent
252   * @since 9
253   */
254  /**
255   * Creates a subscriber. This API uses an asynchronous callback to return the result.
256   *
257   * @param { CommonEventSubscribeInfo } subscribeInfo - Subscriber information.
258   * @param { AsyncCallback<CommonEventSubscriber> } callback - Callback used to return the result.
259   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
260   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
261   * @syscap SystemCapability.Notification.CommonEvent
262   * @crossplatform
263   * @atomicservice
264   * @since arkts {'1.1':'11', '1.2':'20'}
265   * @arkts 1.1&1.2
266   */
267  function createSubscriber(
268    subscribeInfo: CommonEventSubscribeInfo,
269    callback: AsyncCallback<CommonEventSubscriber>
270  ): void;
271
272  /**
273   * Creates a subscriber. This API uses a promise to return the result.
274   *
275   * @param { CommonEventSubscribeInfo } subscribeInfo - Subscriber information.
276   * @returns { Promise<CommonEventSubscriber> } Promise used to return the result.
277   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
278   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
279   * @syscap SystemCapability.Notification.CommonEvent
280   * @since 9
281   */
282  /**
283   * Creates a subscriber. This API uses a promise to return the result.
284   *
285   * @param { CommonEventSubscribeInfo } subscribeInfo - Subscriber information.
286   * @returns { Promise<CommonEventSubscriber> } Promise used to return the result.
287   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
288   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
289   * @syscap SystemCapability.Notification.CommonEvent
290   * @crossplatform
291   * @atomicservice
292   * @since arkts {'1.1':'11', '1.2':'20'}
293   * @arkts 1.1&1.2
294   */
295  function createSubscriber(subscribeInfo: CommonEventSubscribeInfo): Promise<CommonEventSubscriber>;
296
297  /**
298   * Creates a subscriber. The API returns the result synchronously.
299   *
300   * @param { CommonEventSubscribeInfo } subscribeInfo - Subscriber information.
301   * @returns { CommonEventSubscriber } Promise used to return the subscriber object.
302   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
303   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
304   * @syscap SystemCapability.Notification.CommonEvent
305   * @since 10
306   */
307  /**
308   * Creates a subscriber. The API returns the result synchronously.
309   *
310   * @param { CommonEventSubscribeInfo } subscribeInfo - Subscriber information.
311   * @returns { CommonEventSubscriber } Promise used to return the subscriber object.
312   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
313   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
314   * @syscap SystemCapability.Notification.CommonEvent
315   * @atomicservice
316   * @since arkts {'1.1':'11', '1.2':'20'}
317   * @arkts 1.1&1.2
318   */
319  function createSubscriberSync(subscribeInfo: CommonEventSubscribeInfo): CommonEventSubscriber;
320
321  /**
322   * Subscribes to a common event. This API uses an asynchronous callback to return the result.
323   *
324   * @param { CommonEventSubscriber } subscriber - Subscriber object.
325   * @param { AsyncCallback<CommonEventData> } callback - Callback used to return the result.
326   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
327   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
328   * @throws { BusinessError } 801 - capability not supported
329   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
330   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
331   * @syscap SystemCapability.Notification.CommonEvent
332   * @since 9
333   */
334  /**
335   * Subscribes to a common event. This API uses an asynchronous callback to return the result.
336   *
337   * @param { CommonEventSubscriber } subscriber - Subscriber object.
338   * @param { AsyncCallback<CommonEventData> } callback - Callback used to return the result.
339   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
340   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
341   * @throws { BusinessError } 801 - capability not supported
342   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
343   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
344   * @syscap SystemCapability.Notification.CommonEvent
345   * @crossplatform
346   * @atomicservice
347   * @since 11
348   */
349  /**
350   * Subscribes to a common event. This API uses an asynchronous callback to return the result.
351   *
352   * @param { CommonEventSubscriber } subscriber - Subscriber object.
353   * @param { AsyncCallback<CommonEventData> } callback - Callback used to return the result.
354   * @throws { BusinessError } 801 - capability not supported
355   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
356   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
357   * @throws { BusinessError } 1500010 - The count of subscriber exceed system specification.
358   * @syscap SystemCapability.Notification.CommonEvent
359   * @crossplatform
360   * @atomicservice
361   * @since arkts {'1.1':'20', '1.2':'20'}
362   * @arkts 1.1&1.2
363   */
364  function subscribe(subscriber: CommonEventSubscriber, callback: AsyncCallback<CommonEventData>): void;
365
366  /**
367   * Subscribes to a common event, and returns the result by promise that resolves with a success or
368   * <br> rejects with a failure code.
369   *
370   * @param { CommonEventSubscriber } subscriber - Indicate the subscriber of the common event.
371   * @param { Callback<CommonEventData> } callback - The callback function used to receive the CommonEventData object.
372   * @returns { Promise<void> } A promise that indicates whether the subscription was successful.
373   * @throws { BusinessError } 801 - Capability not supported.
374   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
375   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
376   * @throws { BusinessError } 1500010 - The count of subscriber exceed system specification.
377   * @syscap SystemCapability.Notification.CommonEvent
378   * @crossplatform
379   * @atomicservice
380   * @since 20
381   * @arkts 1.1&1.2
382   */
383  function subscribeToEvent(subscriber: CommonEventSubscriber, callback: Callback<CommonEventData>): Promise<void>;
384
385  /**
386   * Unsubscribes from a common event. This API uses an asynchronous callback to return the result.
387   *
388   * @param { CommonEventSubscriber } subscriber - Subscriber object.
389   * @param { AsyncCallback<void> } [callback] - Callback used to return the result.
390   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
391   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
392   * @throws { BusinessError } 801 - capability not supported
393   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
394   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
395   * @syscap SystemCapability.Notification.CommonEvent
396   * @since 9
397   */
398  /**
399   * Unsubscribes from a common event. This API uses an asynchronous callback to return the result.
400   *
401   * @param { CommonEventSubscriber } subscriber - Subscriber object.
402   * @param { AsyncCallback<void> } [callback] - Callback used to return the result.
403   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
404   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
405   * @throws { BusinessError } 801 - capability not supported
406   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
407   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
408   * @syscap SystemCapability.Notification.CommonEvent
409   * @crossplatform
410   * @atomicservice
411   * @since arkts {'1.1':'11', '1.2':'20'}
412   * @arkts 1.1&1.2
413   */
414  function unsubscribe(subscriber: CommonEventSubscriber, callback?: AsyncCallback<void>): void;
415
416  /**
417   * Remove sticky common event.
418   *
419   * @permission ohos.permission.COMMONEVENT_STICKY
420   * @param { string } event - name of the common event.
421   * @param { AsyncCallback<void> } callback - The callback of removeStickyCommonEvent.
422   * @throws { BusinessError } 201 - The application dose not have permission to call the interface
423   * @throws { BusinessError } 202 - not system app
424   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
425   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
426   * @throws { BusinessError } 1500004 - A third-party application cannot send system common events.
427   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
428   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
429   * @syscap SystemCapability.Notification.CommonEvent
430   * @systemapi
431   * @since arkts {'1.1':'10', '1.2':'20'}
432   * @arkts 1.1&1.2
433   */
434  function removeStickyCommonEvent(event: string, callback: AsyncCallback<void>): void;
435
436  /**
437   * Remove sticky common event.
438   *
439   * @permission ohos.permission.COMMONEVENT_STICKY
440   * @param { string } event - name of the common event.
441   * @returns { Promise<void> } the promise returned by the function.
442   * @throws { BusinessError } 201 - The application dose not have permission to call the interface
443   * @throws { BusinessError } 202 - not system app
444   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
445   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
446   * @throws { BusinessError } 1500004 - A third-party application cannot send system common events.
447   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
448   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
449   * @syscap SystemCapability.Notification.CommonEvent
450   * @systemapi
451   * @since arkts {'1.1':'10', '1.2':'20'}
452   * @arkts 1.1&1.2
453   */
454  function removeStickyCommonEvent(event: string): Promise<void>;
455
456  /**
457   * Set static subscriber state.
458   *
459   * @param { boolean } enable - static subscribe event enable/disable state.
460   * @param { AsyncCallback<void> } callback - Specified callback method.
461   * @throws { BusinessError } 202 - not system app
462   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
463   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
464   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
465   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
466   * @syscap SystemCapability.Notification.CommonEvent
467   * @systemapi Hide this for inner system use.
468   * @StageModelOnly
469   * @since arkts {'1.1':'10', '1.2':'20'}
470   * @arkts 1.1&1.2
471   */
472  function setStaticSubscriberState(enable: boolean, callback: AsyncCallback<void>): void;
473
474  /**
475   * Set static subscriber state.
476   *
477   * @param { boolean } enable - static subscribe event enable/disable state.
478   * @returns { Promise<void> } the promise returned by the function.
479   * @throws { BusinessError } 202 - not system app
480   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
481   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
482   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
483   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
484   * @syscap SystemCapability.Notification.CommonEvent
485   * @systemapi Hide this for inner system use.
486   * @StageModelOnly
487   * @since arkts {'1.1':'10', '1.2':'20'}
488   * @arkts 1.1&1.2
489   */
490  function setStaticSubscriberState(enable: boolean): Promise<void>;
491
492  /**
493   * Set static subscriber state.
494   *
495   * @param { boolean } enable - static subscribe event enable/disable state.
496   * @param { Array<string> } events - The events array.
497   * @returns { Promise<void> } the promise returned by the function.
498   * @throws { BusinessError } 202 - not system app
499   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
500   * <br>2. Incorrect parameter types. 3. Parameter verification failed.
501   * @throws { BusinessError } 1500007 - Failed to send the message to the common event service.
502   * @throws { BusinessError } 1500008 - Failed to initialize the common event service.
503   * @syscap SystemCapability.Notification.CommonEvent
504   * @systemapi Hide this for inner system use.
505   * @StageModelOnly
506   * @since arkts {'1.1':'12', '1.2':'20'}
507   * @arkts 1.1&1.2
508   */
509  function setStaticSubscriberState(enable: boolean, events?: Array<string>): Promise<void>;
510
511  /**
512   * The event type that the commonEvent supported.
513   *
514   * @enum { string }
515   * @syscap SystemCapability.Notification.CommonEvent
516   * @since 9
517   */
518  /**
519   * The event type that the commonEvent supported.
520   *
521   * @enum { string }
522   * @syscap SystemCapability.Notification.CommonEvent
523   * @atomicservice
524   * @since arkts {'1.1':'11', '1.2':'20'}
525   * @arkts 1.1&1.2
526   */
527  export enum Support {
528    /**
529     * This commonEvent means when the device is booted or system upgrade completed, and only be sent by system.
530     * This API can be called only by system applications.
531     *
532     * @syscap SystemCapability.Notification.CommonEvent
533     * @since arkts {'1.1':'9', '1.2':'20'}
534     * @arkts 1.1&1.2
535     */
536    COMMON_EVENT_BOOT_COMPLETED = 'usual.event.BOOT_COMPLETED',
537
538    /**
539     * This commonEvent means when the device finnish booting, but still in the locked state.
540     *
541     * @syscap SystemCapability.Notification.CommonEvent
542     * @since arkts {'1.1':'9', '1.2':'20'}
543     * @arkts 1.1&1.2
544     */
545    COMMON_EVENT_LOCKED_BOOT_COMPLETED = 'usual.event.LOCKED_BOOT_COMPLETED',
546
547    /**
548     * This commonEvent means when the device is shutting down, note: turn off, not sleeping.
549     *
550     * @syscap SystemCapability.Notification.CommonEvent
551     * @since arkts {'1.1':'9', '1.2':'20'}
552     * @arkts 1.1&1.2
553     */
554    COMMON_EVENT_SHUTDOWN = 'usual.event.SHUTDOWN',
555
556    /**
557     * This commonEvent means when the charging state, level and so on about the battery.
558     *
559     * @syscap SystemCapability.Notification.CommonEvent
560     * @since arkts {'1.1':'9', '1.2':'20'}
561     * @arkts 1.1&1.2
562     */
563    COMMON_EVENT_BATTERY_CHANGED = 'usual.event.BATTERY_CHANGED',
564
565    /**
566     * This commonEvent means when the device in low battery state..
567     *
568     * @syscap SystemCapability.Notification.CommonEvent
569     * @since arkts {'1.1':'9', '1.2':'20'}
570     * @arkts 1.1&1.2
571     */
572    COMMON_EVENT_BATTERY_LOW = 'usual.event.BATTERY_LOW',
573
574    /**
575     * This commonEvent means when the battery level is an ok state.
576     *
577     * @syscap SystemCapability.Notification.CommonEvent
578     * @since arkts {'1.1':'9', '1.2':'20'}
579     * @arkts 1.1&1.2
580     */
581    COMMON_EVENT_BATTERY_OKAY = 'usual.event.BATTERY_OKAY',
582
583    /**
584     * This commonEvent means when the other power is connected to the device.
585     *
586     * @syscap SystemCapability.Notification.CommonEvent
587     * @since arkts {'1.1':'9', '1.2':'20'}
588     * @arkts 1.1&1.2
589     */
590    COMMON_EVENT_POWER_CONNECTED = 'usual.event.POWER_CONNECTED',
591
592    /**
593     * This commonEvent means when the other power is removed from the device.
594     *
595     * @syscap SystemCapability.Notification.CommonEvent
596     * @since arkts {'1.1':'9', '1.2':'20'}
597     * @arkts 1.1&1.2
598     */
599    COMMON_EVENT_POWER_DISCONNECTED = 'usual.event.POWER_DISCONNECTED',
600
601    /**
602     * This commonEvent means when the screen is turned off.
603     *
604     * @syscap SystemCapability.Notification.CommonEvent
605     * @since arkts {'1.1':'9', '1.2':'20'}
606     * @arkts 1.1&1.2
607     */
608    COMMON_EVENT_SCREEN_OFF = 'usual.event.SCREEN_OFF',
609
610    /**
611     * This commonEvent means when the device is awakened and interactive.
612     *
613     * @syscap SystemCapability.Notification.CommonEvent
614     * @since arkts {'1.1':'9', '1.2':'20'}
615     * @arkts 1.1&1.2
616     */
617    COMMON_EVENT_SCREEN_ON = 'usual.event.SCREEN_ON',
618
619    /**
620     * This commonEvent means when the thermal state level change
621     *
622     * @syscap SystemCapability.Notification.CommonEvent
623     * @since arkts {'1.1':'9', '1.2':'20'}
624     * @arkts 1.1&1.2
625     */
626    COMMON_EVENT_THERMAL_LEVEL_CHANGED = 'usual.event.THERMAL_LEVEL_CHANGED',
627
628    /**
629     * This commonEvent means when the device is about to enter the force sleep mode
630     *
631     * @syscap SystemCapability.Notification.CommonEvent
632     * @since arkts {'1.1':'12', '1.2':'20'}
633     * @arkts 1.1&1.2
634     */
635    COMMON_EVENT_ENTER_FORCE_SLEEP = 'usual.event.ENTER_FORCE_SLEEP',
636
637    /**
638     * This commonEvent means when the device exits the force sleep mode
639     *
640     * @syscap SystemCapability.Notification.CommonEvent
641     * @since arkts {'1.1':'12', '1.2':'20'}
642     * @arkts 1.1&1.2
643     */
644    COMMON_EVENT_EXIT_FORCE_SLEEP = 'usual.event.EXIT_FORCE_SLEEP',
645
646    /**
647     * This commonEvent means when the device is about to enter the hibernate mode
648     *
649     * @syscap SystemCapability.Notification.CommonEvent
650     * @since arkts {'1.1':'15', '1.2':'20'}
651     * @arkts 1.1&1.2
652     */
653    COMMON_EVENT_ENTER_HIBERNATE = 'usual.event.ENTER_HIBERNATE',
654
655    /**
656     * This commonEvent means when the device exits the hibernate mode
657     *
658     * @syscap SystemCapability.Notification.CommonEvent
659     * @since arkts {'1.1':'15', '1.2':'20'}
660     * @arkts 1.1&1.2
661     */
662    COMMON_EVENT_EXIT_HIBERNATE = 'usual.event.EXIT_HIBERNATE',
663
664    /**
665     * This commonEvent means when the user is present after the device is awakened.
666     *
667     * @syscap SystemCapability.Notification.CommonEvent
668     * @since 9
669     * @deprecated since 10
670     */
671    COMMON_EVENT_USER_PRESENT = 'usual.event.USER_PRESENT',
672
673    /**
674     * This commonEvent means when the current time is changed.
675     *
676     * @syscap SystemCapability.Notification.CommonEvent
677     * @since arkts {'1.1':'9', '1.2':'20'}
678     * @arkts 1.1&1.2
679     */
680    COMMON_EVENT_TIME_TICK = 'usual.event.TIME_TICK',
681
682    /**
683     * This commonEvent means when the time is set.
684     *
685     * @syscap SystemCapability.Notification.CommonEvent
686     * @since arkts {'1.1':'9', '1.2':'20'}
687     * @arkts 1.1&1.2
688     */
689    COMMON_EVENT_TIME_CHANGED = 'usual.event.TIME_CHANGED',
690
691    /**
692     * This commonEvent means when the current date is changed.
693     *
694     * @syscap SystemCapability.Notification.CommonEvent
695     * @since arkts {'1.1':'9', '1.2':'20'}
696     * @arkts 1.1&1.2
697     */
698    COMMON_EVENT_DATE_CHANGED = 'usual.event.DATE_CHANGED',
699
700    /**
701     * This commonEvent means when the time zone is changed.
702     *
703     * @syscap SystemCapability.Notification.CommonEvent
704     * @since arkts {'1.1':'9', '1.2':'20'}
705     * @arkts 1.1&1.2
706     */
707    COMMON_EVENT_TIMEZONE_CHANGED = 'usual.event.TIMEZONE_CHANGED',
708
709    /**
710     * This commonEvent means when the dialog to dismiss.
711     *
712     * @syscap SystemCapability.Notification.CommonEvent
713     * @since arkts {'1.1':'9', '1.2':'20'}
714     * @arkts 1.1&1.2
715     */
716    COMMON_EVENT_CLOSE_SYSTEM_DIALOGS = 'usual.event.CLOSE_SYSTEM_DIALOGS',
717
718    /**
719     * This commonEvent means when a new application package is installed on the device.
720     *
721     * @syscap SystemCapability.Notification.CommonEvent
722     * @since arkts {'1.1':'9', '1.2':'20'}
723     * @arkts 1.1&1.2
724     */
725    COMMON_EVENT_PACKAGE_ADDED = 'usual.event.PACKAGE_ADDED',
726
727    /**
728     * This commonEvent means when a new version application package is installed on the device and
729     * replace the old version.the data contains the name of the package.
730     *
731     * @syscap SystemCapability.Notification.CommonEvent
732     * @since arkts {'1.1':'9', '1.2':'20'}
733     * @arkts 1.1&1.2
734     */
735    COMMON_EVENT_PACKAGE_REPLACED = 'usual.event.PACKAGE_REPLACED',
736
737    /**
738     * This commonEvent means when a new version application package is installed on the device and
739     * replace the old version, it does not contain additional data and only be sent to the replaced application.
740     *
741     * @syscap SystemCapability.Notification.CommonEvent
742     * @since arkts {'1.1':'9', '1.2':'20'}
743     * @arkts 1.1&1.2
744     */
745    COMMON_EVENT_MY_PACKAGE_REPLACED = 'usual.event.MY_PACKAGE_REPLACED',
746
747    /**
748     * This commonEvent means when an existing application package is removed from the device.
749     *
750     * @syscap SystemCapability.Notification.CommonEvent
751     * @since arkts {'1.1':'9', '1.2':'20'}
752     * @arkts 1.1&1.2
753     */
754    COMMON_EVENT_PACKAGE_REMOVED = 'usual.event.PACKAGE_REMOVED',
755
756    /**
757     * This commonEvent means when an existing application package is removed from the device.
758     *
759     * @syscap SystemCapability.Notification.CommonEvent
760     * @since arkts {'1.1':'9', '1.2':'20'}
761     * @arkts 1.1&1.2
762     */
763    COMMON_EVENT_BUNDLE_REMOVED = 'usual.event.BUNDLE_REMOVED',
764
765    /**
766     * This commonEvent means when an existing application package is completely removed from the device.
767     *
768     * @syscap SystemCapability.Notification.CommonEvent
769     * @since arkts {'1.1':'9', '1.2':'20'}
770     * @arkts 1.1&1.2
771     */
772    COMMON_EVENT_PACKAGE_FULLY_REMOVED = 'usual.event.PACKAGE_FULLY_REMOVED',
773
774    /**
775     * This commonEvent means when an existing application package has been changed.
776     *
777     * @syscap SystemCapability.Notification.CommonEvent
778     * @since arkts {'1.1':'9', '1.2':'20'}
779     * @arkts 1.1&1.2
780     */
781    COMMON_EVENT_PACKAGE_CHANGED = 'usual.event.PACKAGE_CHANGED',
782
783    /**
784     * This commonEvent means the user has restarted a package, and all of its processes have been killed.
785     *
786     * @syscap SystemCapability.Notification.CommonEvent
787     * @since arkts {'1.1':'9', '1.2':'20'}
788     * @arkts 1.1&1.2
789     */
790    COMMON_EVENT_PACKAGE_RESTARTED = 'usual.event.PACKAGE_RESTARTED',
791
792    /**
793     * This commonEvent means the user has cleared the package data.
794     *
795     * @syscap SystemCapability.Notification.CommonEvent
796     * @since arkts {'1.1':'9', '1.2':'20'}
797     * @arkts 1.1&1.2
798     */
799    COMMON_EVENT_PACKAGE_DATA_CLEARED = 'usual.event.PACKAGE_DATA_CLEARED',
800
801    /**
802     * This commonEvent means the user has cleared the package cache.
803     *
804     * @syscap SystemCapability.Notification.CommonEvent
805     * @since arkts {'1.1':'9', '1.2':'20'}
806     * @arkts 1.1&1.2
807     */
808    COMMON_EVENT_PACKAGE_CACHE_CLEARED = 'usual.event.PACKAGE_CACHE_CLEARED',
809
810    /**
811     * This commonEvent means the packages have been suspended.
812     *
813     * @syscap SystemCapability.Notification.CommonEvent
814     * @since arkts {'1.1':'9', '1.2':'20'}
815     * @arkts 1.1&1.2
816     */
817    COMMON_EVENT_PACKAGES_SUSPENDED = 'usual.event.PACKAGES_SUSPENDED',
818
819    /**
820     * This commonEvent means the packages have been un-suspended.
821     *
822     * @syscap SystemCapability.Notification.CommonEvent
823     * @since arkts {'1.1':'9', '1.2':'20'}
824     * @arkts 1.1&1.2
825     */
826    COMMON_EVENT_PACKAGES_UNSUSPENDED = 'usual.event.PACKAGES_UNSUSPENDED',
827
828    /**
829     * This commonEvent Sent to a package that has been suspended by the system.
830     *
831     * @syscap SystemCapability.Notification.CommonEvent
832     * @since arkts {'1.1':'9', '1.2':'20'}
833     * @arkts 1.1&1.2
834     */
835    COMMON_EVENT_MY_PACKAGE_SUSPENDED = 'usual.event.MY_PACKAGE_SUSPENDED',
836
837    /**
838     * Sent to a package that has been un-suspended.
839     *
840     * @syscap SystemCapability.Notification.CommonEvent
841     * @since arkts {'1.1':'9', '1.2':'20'}
842     * @arkts 1.1&1.2
843     */
844    COMMON_EVENT_MY_PACKAGE_UNSUSPENDED = 'usual.event.MY_PACKAGE_UNSUSPENDED',
845
846    /**
847     * A user id has been removed from the system.
848     *
849     * @syscap SystemCapability.Notification.CommonEvent
850     * @since arkts {'1.1':'9', '1.2':'20'}
851     * @arkts 1.1&1.2
852     */
853    COMMON_EVENT_UID_REMOVED = 'usual.event.UID_REMOVED',
854
855    /**
856     * The application is first launched after installed.
857     *
858     * @syscap SystemCapability.Notification.CommonEvent
859     * @since arkts {'1.1':'9', '1.2':'20'}
860     * @arkts 1.1&1.2
861     */
862    COMMON_EVENT_PACKAGE_FIRST_LAUNCH = 'usual.event.PACKAGE_FIRST_LAUNCH',
863
864    /**
865     * Sent by system package verifier when a package need to be verified.
866     *
867     * @syscap SystemCapability.Notification.CommonEvent
868     * @since arkts {'1.1':'9', '1.2':'20'}
869     * @arkts 1.1&1.2
870     */
871    COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION = 'usual.event.PACKAGE_NEEDS_VERIFICATION',
872
873    /**
874     * Sent by system package verifier when a package is verified.
875     *
876     * @syscap SystemCapability.Notification.CommonEvent
877     * @since arkts {'1.1':'9', '1.2':'20'}
878     * @arkts 1.1&1.2
879     */
880    COMMON_EVENT_PACKAGE_VERIFIED = 'usual.event.PACKAGE_VERIFIED',
881
882    /**
883     * Resources for a set of packages (which were previously unavailable) are currently
884     * available since the media on which they exist is available.
885     *
886     * @syscap SystemCapability.Notification.CommonEvent
887     * @since arkts {'1.1':'9', '1.2':'20'}
888     * @arkts 1.1&1.2
889     */
890    COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE = 'usual.event.EXTERNAL_APPLICATIONS_AVAILABLE',
891
892    /**
893     * Resources for a set of packages are currently unavailable since the media on which they exist is unavailable.
894     *
895     * @syscap SystemCapability.Notification.CommonEvent
896     * @since arkts {'1.1':'9', '1.2':'20'}
897     * @arkts 1.1&1.2
898     */
899    COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE = 'usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE',
900
901    /**
902     * The device configuration such as orientation,locale have been changed.
903     *
904     * @syscap SystemCapability.Notification.CommonEvent
905     * @since arkts {'1.1':'9', '1.2':'20'}
906     * @arkts 1.1&1.2
907     */
908    COMMON_EVENT_CONFIGURATION_CHANGED = 'usual.event.CONFIGURATION_CHANGED',
909
910    /**
911     * The current device's locale has changed.
912     *
913     * @syscap SystemCapability.Notification.CommonEvent
914     * @since arkts {'1.1':'9', '1.2':'20'}
915     * @arkts 1.1&1.2
916     */
917    COMMON_EVENT_LOCALE_CHANGED = 'usual.event.LOCALE_CHANGED',
918
919    /**
920     *  Indicates low memory condition notification acknowledged by user and package management should be started.
921     *
922     * @syscap SystemCapability.Notification.CommonEvent
923     * @since arkts {'1.1':'9', '1.2':'20'}
924     * @arkts 1.1&1.2
925     */
926    COMMON_EVENT_MANAGE_PACKAGE_STORAGE = 'usual.event.MANAGE_PACKAGE_STORAGE',
927
928    /**
929     * Send by the smart function when the system in drive mode.
930     *
931     * @syscap SystemCapability.Notification.CommonEvent
932     * @since arkts {'1.1':'9', '1.2':'20'}
933     * @arkts 1.1&1.2
934     */
935    COMMON_EVENT_DRIVE_MODE = 'common.event.DRIVE_MODE',
936
937    /**
938     * Send by the smart function when the system in home mode.
939     *
940     * @syscap SystemCapability.Notification.CommonEvent
941     * @since arkts {'1.1':'9', '1.2':'20'}
942     * @arkts 1.1&1.2
943     */
944    COMMON_EVENT_HOME_MODE = 'common.event.HOME_MODE',
945
946    /**
947     * Send by the smart function when the system in office mode.
948     *
949     * @syscap SystemCapability.Notification.CommonEvent
950     * @since arkts {'1.1':'9', '1.2':'20'}
951     * @arkts 1.1&1.2
952     */
953    COMMON_EVENT_OFFICE_MODE = 'common.event.OFFICE_MODE',
954
955    /**
956     * Remind new user of preparing to start.
957     *
958     * @syscap SystemCapability.Notification.CommonEvent
959     * @since arkts {'1.1':'9', '1.2':'20'}
960     * @arkts 1.1&1.2
961     */
962    COMMON_EVENT_USER_STARTED = 'usual.event.USER_STARTED',
963
964    /**
965     * Remind previous user of that the service has been the background.
966     *
967     * @syscap SystemCapability.Notification.CommonEvent
968     * @since arkts {'1.1':'9', '1.2':'20'}
969     * @arkts 1.1&1.2
970     */
971    COMMON_EVENT_USER_BACKGROUND = 'usual.event.USER_BACKGROUND',
972
973    /**
974     * Remind new user of that the service has been the foreground.
975     *
976     * @syscap SystemCapability.Notification.CommonEvent
977     * @since arkts {'1.1':'9', '1.2':'20'}
978     * @arkts 1.1&1.2
979     */
980    COMMON_EVENT_USER_FOREGROUND = 'usual.event.USER_FOREGROUND',
981
982    /**
983     * Remind new user of that the service has been switched to new user.
984     *
985     * @syscap SystemCapability.Notification.CommonEvent
986     * This API can be called only by system applications.
987     * @since arkts {'1.1':'9', '1.2':'20'}
988     * @arkts 1.1&1.2
989     */
990    COMMON_EVENT_USER_SWITCHED = 'usual.event.USER_SWITCHED',
991
992    /**
993     * Remind new user of that the service has been starting.
994     *
995     * @syscap SystemCapability.Notification.CommonEvent
996     * This API can be called only by system applications.
997     * @since arkts {'1.1':'9', '1.2':'20'}
998     * @arkts 1.1&1.2
999     */
1000    COMMON_EVENT_USER_STARTING = 'usual.event.USER_STARTING',
1001
1002    /**
1003     * Remind new user of that the service has been unlocked.
1004     *
1005     * @syscap SystemCapability.Notification.CommonEvent
1006     * @since arkts {'1.1':'9', '1.2':'20'}
1007     * @arkts 1.1&1.2
1008     */
1009    COMMON_EVENT_USER_UNLOCKED = 'usual.event.USER_UNLOCKED',
1010
1011    /**
1012     * Indicates the target user (i.e the OS account) is going to be locked.
1013     * This is a protected common event that can only be sent by system.
1014     *
1015     * @syscap SystemCapability.Notification.CommonEvent
1016     * @systemapi
1017     * @since 20
1018     * @arkts 1.1&1.2
1019     */
1020    COMMON_EVENT_USER_LOCKING = 'usual.event.USER_LOCKING',
1021
1022    /**
1023     * Indicates the target user (i.e the OS acount) is locked.
1024     * This is a protected common event that can only be sent by system.
1025     *
1026     * @syscap SystemCapability.Notification.CommonEvent
1027     * @systemapi
1028     * @since 20
1029     * @arkts 1.1&1.2
1030     */
1031    COMMON_EVENT_USER_LOCKED = 'usual.event.USER_LOCKED',
1032
1033    /**
1034     * Remind new user of that the service has been stopping.
1035     *
1036     * @syscap SystemCapability.Notification.CommonEvent
1037     * This API can be called only by system applications.
1038     * @since arkts {'1.1':'9', '1.2':'20'}
1039     * @arkts 1.1&1.2
1040     */
1041    COMMON_EVENT_USER_STOPPING = 'usual.event.USER_STOPPING',
1042
1043    /**
1044     * Remind new user of that the service has stopped.
1045     *
1046     * @syscap SystemCapability.Notification.CommonEvent
1047     * @since arkts {'1.1':'9', '1.2':'20'}
1048     * @arkts 1.1&1.2
1049     */
1050    COMMON_EVENT_USER_STOPPED = 'usual.event.USER_STOPPED',
1051
1052    /**
1053     * Distributed account login successfully.
1054     *
1055     * @syscap SystemCapability.Notification.CommonEvent
1056     * @since 9
1057     */
1058    /**
1059     * Distributed account login successfully.
1060     *
1061     * @syscap SystemCapability.Notification.CommonEvent
1062     * @atomicservice
1063     * @since arkts {'1.1':'12', '1.2':'20'}
1064     * @arkts 1.1&1.2
1065     */
1066    COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGIN = 'common.event.DISTRIBUTED_ACCOUNT_LOGIN',
1067
1068    /**
1069     * Distributed account logout successfully.
1070     *
1071     * @syscap SystemCapability.Notification.CommonEvent
1072     * @since 9
1073     */
1074    /**
1075     * Distributed account logout successfully.
1076     *
1077     * @syscap SystemCapability.Notification.CommonEvent
1078     * @atomicservice
1079     * @since arkts {'1.1':'12', '1.2':'20'}
1080     * @arkts 1.1&1.2
1081     */
1082    COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOUT = 'common.event.DISTRIBUTED_ACCOUNT_LOGOUT',
1083
1084    /**
1085     * Distributed account is invalid.
1086     *
1087     * @syscap SystemCapability.Notification.CommonEvent
1088     * @since 9
1089     */
1090    /**
1091     * Distributed account is invalid.
1092     *
1093     * @syscap SystemCapability.Notification.CommonEvent
1094     * @atomicservice
1095     * @since arkts {'1.1':'12', '1.2':'20'}
1096     * @arkts 1.1&1.2
1097     */
1098    COMMON_EVENT_DISTRIBUTED_ACCOUNT_TOKEN_INVALID = 'common.event.DISTRIBUTED_ACCOUNT_TOKEN_INVALID',
1099
1100    /**
1101     * Distributed account logs off.
1102     *
1103     * @syscap SystemCapability.Notification.CommonEvent
1104     * @since 9
1105     */
1106    /**
1107     * Distributed account logs off.
1108     *
1109     * @syscap SystemCapability.Notification.CommonEvent
1110     * @atomicservice
1111     * @since arkts {'1.1':'12', '1.2':'20'}
1112     * @arkts 1.1&1.2
1113     */
1114    COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOFF = 'common.event.DISTRIBUTED_ACCOUNT_LOGOFF',
1115
1116    /**
1117     * WIFI state.
1118     *
1119     * @syscap SystemCapability.Notification.CommonEvent
1120     * @since arkts {'1.1':'9', '1.2':'20'}
1121     * @arkts 1.1&1.2
1122     */
1123    COMMON_EVENT_WIFI_POWER_STATE = 'usual.event.wifi.POWER_STATE',
1124
1125    /**
1126     * WIFI scan results.
1127     *
1128     * @syscap SystemCapability.Notification.CommonEvent
1129     * @since arkts {'1.1':'9', '1.2':'20'}
1130     * @arkts 1.1&1.2
1131     */
1132    COMMON_EVENT_WIFI_SCAN_FINISHED = 'usual.event.wifi.SCAN_FINISHED',
1133
1134    /**
1135     * WIFI RSSI change.
1136     *
1137     * @syscap SystemCapability.Notification.CommonEvent
1138     * @since arkts {'1.1':'9', '1.2':'20'}
1139     * @arkts 1.1&1.2
1140     */
1141    COMMON_EVENT_WIFI_RSSI_VALUE = 'usual.event.wifi.RSSI_VALUE',
1142
1143    /**
1144     * WIFI connect state.
1145     *
1146     * @syscap SystemCapability.Notification.CommonEvent
1147     * @since arkts {'1.1':'9', '1.2':'20'}
1148     * @arkts 1.1&1.2
1149     */
1150    COMMON_EVENT_WIFI_CONN_STATE = 'usual.event.wifi.CONN_STATE',
1151
1152    /**
1153     * WIFI hotspot state.
1154     *
1155     * @syscap SystemCapability.Notification.CommonEvent
1156     * @since arkts {'1.1':'9', '1.2':'20'}
1157     * @arkts 1.1&1.2
1158     */
1159    COMMON_EVENT_WIFI_HOTSPOT_STATE = 'usual.event.wifi.HOTSPOT_STATE',
1160
1161    /**
1162     * WIFI ap sta join.
1163     *
1164     * @syscap SystemCapability.Notification.CommonEvent
1165     * @since arkts {'1.1':'9', '1.2':'20'}
1166     * @arkts 1.1&1.2
1167     */
1168    COMMON_EVENT_WIFI_AP_STA_JOIN = 'usual.event.wifi.WIFI_HS_STA_JOIN',
1169
1170    /**
1171     * WIFI ap sta join.
1172     *
1173     * @syscap SystemCapability.Notification.CommonEvent
1174     * @since arkts {'1.1':'9', '1.2':'20'}
1175     * @arkts 1.1&1.2
1176     */
1177    COMMON_EVENT_WIFI_AP_STA_LEAVE = 'usual.event.wifi.WIFI_HS_STA_LEAVE',
1178
1179    /**
1180     * Indicates Wi-Fi MpLink state notification acknowledged by binding or unbinding MpLink.
1181     *
1182     * @syscap SystemCapability.Notification.CommonEvent
1183     * @since arkts {'1.1':'9', '1.2':'20'}
1184     * @arkts 1.1&1.2
1185     */
1186    COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE = 'usual.event.wifi.mplink.STATE_CHANGE',
1187
1188    /**
1189     * Indicates Wi-Fi P2P connection state notification acknowledged by connecting or disconnected P2P.
1190     *
1191     * @syscap SystemCapability.Notification.CommonEvent
1192     * @since arkts {'1.1':'9', '1.2':'20'}
1193     * @arkts 1.1&1.2
1194     */
1195    COMMON_EVENT_WIFI_P2P_CONN_STATE = 'usual.event.wifi.p2p.CONN_STATE_CHANGE',
1196
1197    /**
1198     * Indicates that the Wi-Fi P2P state change.
1199     *
1200     * @syscap SystemCapability.Notification.CommonEvent
1201     * @since arkts {'1.1':'9', '1.2':'20'}
1202     * @arkts 1.1&1.2
1203     */
1204    COMMON_EVENT_WIFI_P2P_STATE_CHANGED = 'usual.event.wifi.p2p.STATE_CHANGE',
1205
1206    /**
1207     * Indicates that the Wi-Fi P2P peers state change.
1208     *
1209     * @syscap SystemCapability.Notification.CommonEvent
1210     * @since arkts {'1.1':'9', '1.2':'20'}
1211     * @arkts 1.1&1.2
1212     */
1213    COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED = 'usual.event.wifi.p2p.DEVICES_CHANGE',
1214
1215    /**
1216     * Indicates that the Wi-Fi P2P discovery state change.
1217     *
1218     * @syscap SystemCapability.Notification.CommonEvent
1219     * @since arkts {'1.1':'9', '1.2':'20'}
1220     * @arkts 1.1&1.2
1221     */
1222    COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED = 'usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE',
1223
1224    /**
1225     * Indicates that the Wi-Fi P2P current device state change.
1226     *
1227     * @syscap SystemCapability.Notification.CommonEvent
1228     * @since arkts {'1.1':'9', '1.2':'20'}
1229     * @arkts 1.1&1.2
1230     */
1231    COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED = 'usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE',
1232
1233    /**
1234     * Indicates that the Wi-Fi P2P group info is changed.
1235     *
1236     * @syscap SystemCapability.Notification.CommonEvent
1237     * @since arkts {'1.1':'9', '1.2':'20'}
1238     * @arkts 1.1&1.2
1239     */
1240    COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED = 'usual.event.wifi.p2p.GROUP_STATE_CHANGED',
1241
1242    /**
1243     * Bluetooth.handsfree.ag.connect.state.update.
1244     *
1245     * @syscap SystemCapability.Notification.CommonEvent
1246     * @since 9
1247     * @deprecated since 20
1248     * @useinstead commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_CHANGE
1249     */
1250    COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE =
1251        "usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE",
1252
1253    /**
1254     * Bluetooth.handsfree.ag.current.device.update.
1255     *
1256     * @syscap SystemCapability.Notification.CommonEvent
1257     * @since 9
1258     * @deprecated since 20
1259     */
1260    COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE =
1261        "usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE",
1262
1263    /**
1264     * Bluetooth.handsfree.ag.audio.state.update.
1265     *
1266     * @syscap SystemCapability.Notification.CommonEvent
1267     * @since 9
1268     * @deprecated since 20
1269     */
1270    COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE =
1271        "usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE",
1272
1273    /**
1274     * Bluetooth.a2dpsource.connect.state.update.
1275     *
1276     * @syscap SystemCapability.Notification.CommonEvent
1277     * @since 9
1278     * @deprecated since 20
1279     * @useinstead commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_CHANGE
1280     */
1281    COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE =
1282        "usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE",
1283
1284    /**
1285     * Bluetooth.a2dpsource.current.device.update.
1286     *
1287     * @syscap SystemCapability.Notification.CommonEvent
1288     * @since 9
1289     * @deprecated since 20
1290     */
1291    COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE =
1292        "usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE",
1293
1294    /**
1295     * Bluetooth.a2dpsource.playing.state.update.
1296     *
1297     * @syscap SystemCapability.Notification.CommonEvent
1298     * @since 9
1299     * @deprecated since 20
1300     */
1301    COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE =
1302        "usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE",
1303
1304    /**
1305     * Bluetooth.a2dpsource.avrcp.connect.state.update.
1306     *
1307     * @syscap SystemCapability.Notification.CommonEvent
1308     * @since 9
1309     * @deprecated since 20
1310     * @useinstead commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_CHANGE
1311     */
1312    COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE =
1313        "usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE",
1314
1315    /**
1316     * Bluetooth.a2dpsource.codec.value.update.
1317     *
1318     * @syscap SystemCapability.Notification.CommonEvent
1319     * @since 9
1320     * @deprecated since 20
1321     * @useinstead commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_CHANGE
1322     */
1323    COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE =
1324        "usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE",
1325
1326    /**
1327     * Bluetooth.remotedevice.discovered.
1328     *
1329     * @syscap SystemCapability.Notification.CommonEvent
1330     * @since 9
1331     * @deprecated since 20
1332     */
1333    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED =
1334        "usual.event.bluetooth.remotedevice.DISCOVERED",
1335
1336    /**
1337     * Bluetooth.remotedevice.class.value.update.
1338     *
1339     * @syscap SystemCapability.Notification.CommonEvent
1340     * @since 9
1341     * @deprecated since 20
1342     */
1343    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE =
1344        "usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE",
1345
1346    /**
1347     * Bluetooth.remotedevice.acl.connected.
1348     *
1349     * @syscap SystemCapability.Notification.CommonEvent
1350     * @since 9
1351     * @deprecated since 20
1352     * @useinstead commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_STATE_CHANGE
1353     */
1354    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED =
1355        "usual.event.bluetooth.remotedevice.ACL_CONNECTED",
1356
1357    /**
1358     * Bluetooth.remotedevice.acl.disconnected.
1359     *
1360     * @syscap SystemCapability.Notification.CommonEvent
1361     * @since 9
1362     * @deprecated since 20
1363     * @useinstead commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_STATE_CHANGE
1364     */
1365    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED =
1366        "usual.event.bluetooth.remotedevice.ACL_DISCONNECTED",
1367
1368    /**
1369     * Bluetooth.remotedevice.name.update.
1370     *
1371     * @syscap SystemCapability.Notification.CommonEvent
1372     * @since 9
1373     * @deprecated since 20
1374     */
1375    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE =
1376        "usual.event.bluetooth.remotedevice.NAME_UPDATE",
1377
1378    /**
1379     * Bluetooth.remotedevice.pair.state.
1380     *
1381     * @syscap SystemCapability.Notification.CommonEvent
1382     * @since 9
1383     * @deprecated since 20
1384     * @useinstead commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE_CHANGE
1385     */
1386    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE =
1387        "usual.event.bluetooth.remotedevice.PAIR_STATE",
1388
1389    /**
1390     * Bluetooth.remotedevice.battery.value.update.
1391     *
1392     * @syscap SystemCapability.Notification.CommonEvent
1393     * @since 9
1394     * @deprecated since 20
1395     */
1396    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE =
1397        "usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE",
1398
1399    /**
1400     * Bluetooth.remotedevice.sdp.result.
1401     *
1402     * @syscap SystemCapability.Notification.CommonEvent
1403     * @since 9
1404     * @deprecated since 20
1405     */
1406    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT =
1407        "usual.event.bluetooth.remotedevice.SDP_RESULT",
1408
1409    /**
1410     * Bluetooth.remotedevice.uuid.value.
1411     *
1412     * @syscap SystemCapability.Notification.CommonEvent
1413     * @since 9
1414     * @deprecated since 20
1415     */
1416    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE =
1417        "usual.event.bluetooth.remotedevice.UUID_VALUE",
1418
1419    /**
1420     * Bluetooth.remotedevice.pairing.req.
1421     *
1422     * @syscap SystemCapability.Notification.CommonEvent
1423     * @since 9
1424     * @deprecated since 20
1425     */
1426    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ =
1427        "usual.event.bluetooth.remotedevice.PAIRING_REQ",
1428
1429    /**
1430     * Bluetooth.remotedevice.pairing.cancel.
1431     *
1432     * @syscap SystemCapability.Notification.CommonEvent
1433     * @since 9
1434     * @deprecated since 20
1435     */
1436    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL =
1437        "usual.event.bluetooth.remotedevice.PAIRING_CANCEL",
1438
1439    /**
1440     * Bluetooth.remotedevice.connect.req.
1441     *
1442     * @syscap SystemCapability.Notification.CommonEvent
1443     * @since 9
1444     * @deprecated since 20
1445     */
1446    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ =
1447        "usual.event.bluetooth.remotedevice.CONNECT_REQ",
1448
1449    /**
1450     * Bluetooth.remotedevice.connect.reply.
1451     *
1452     * @syscap SystemCapability.Notification.CommonEvent
1453     * @since 9
1454     * @deprecated since 20
1455     */
1456    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY =
1457        "usual.event.bluetooth.remotedevice.CONNECT_REPLY",
1458
1459    /**
1460     * Bluetooth.remotedevice.connect.cancel.
1461     *
1462     * @syscap SystemCapability.Notification.CommonEvent
1463     * @since 9
1464     * @deprecated since 20
1465     */
1466    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL =
1467        "usual.event.bluetooth.remotedevice.CONNECT_CANCEL",
1468
1469    /**
1470     * Bluetooth.handsfreeunit.connect.state.update.
1471     *
1472     * @syscap SystemCapability.Notification.CommonEvent
1473     * @since 9
1474     * @deprecated since 20
1475     */
1476    COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE =
1477        "usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE",
1478
1479    /**
1480     * Bluetooth.handsfreeunit.audio.state.update.
1481     *
1482     * @syscap SystemCapability.Notification.CommonEvent
1483     * @since 9
1484     * @deprecated since 20
1485     */
1486    COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE =
1487        "usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE",
1488
1489    /**
1490     * Bluetooth.handsfreeunit.ag.common.event.
1491     *
1492     * @syscap SystemCapability.Notification.CommonEvent
1493     * @since 9
1494     * @deprecated since 20
1495     */
1496    COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT =
1497        "usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT",
1498
1499    /**
1500     * Bluetooth.handsfreeunit.ag.call.state.update.
1501     *
1502     * @syscap SystemCapability.Notification.CommonEvent
1503     * @since 9
1504     * @deprecated since 20
1505     */
1506    COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE =
1507        "usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE",
1508
1509    /**
1510     * Bluetooth.host.state.update.
1511     *
1512     * @syscap SystemCapability.Notification.CommonEvent
1513     * @since 9
1514     * @deprecated since 20
1515     */
1516    COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE =
1517        "usual.event.bluetooth.host.STATE_UPDATE",
1518
1519    /**
1520     * Bluetooth.host.req.discoverable.
1521     *
1522     * @syscap SystemCapability.Notification.CommonEvent
1523     * @since 9
1524     * @deprecated since 20
1525     */
1526    COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE =
1527        "usual.event.bluetooth.host.REQ_DISCOVERABLE",
1528
1529    /**
1530     * Bluetooth.host.req.enable.
1531     *
1532     * @syscap SystemCapability.Notification.CommonEvent
1533     * @since 9
1534     * @deprecated since 20
1535     */
1536    COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE = "usual.event.bluetooth.host.REQ_ENABLE",
1537
1538    /**
1539     * Bluetooth.host.req.disable.
1540     *
1541     * @syscap SystemCapability.Notification.CommonEvent
1542     * @since 9
1543     * @deprecated since 20
1544     */
1545    COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE =
1546        "usual.event.bluetooth.host.REQ_DISABLE",
1547
1548    /**
1549     * Bluetooth.host.scan.mode.update.
1550     *
1551     * @syscap SystemCapability.Notification.CommonEvent
1552     * @since 9
1553     * @deprecated since 20
1554     */
1555    COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE =
1556        "usual.event.bluetooth.host.SCAN_MODE_UPDATE",
1557
1558    /**
1559     * Bluetooth.host.discovery.stated.
1560     *
1561     * @syscap SystemCapability.Notification.CommonEvent
1562     * @since 9
1563     * @deprecated since 20
1564     */
1565    COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED =
1566        "usual.event.bluetooth.host.DISCOVERY_STARTED",
1567
1568    /**
1569     * Bluetooth.host.discovery.finished.
1570     *
1571     * @syscap SystemCapability.Notification.CommonEvent
1572     * @since 9
1573     * @deprecated since 20
1574     */
1575    COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED =
1576        "usual.event.bluetooth.host.DISCOVERY_FINISHED",
1577
1578    /**
1579     * Bluetooth.host.name.update.
1580     *
1581     * @syscap SystemCapability.Notification.CommonEvent
1582     * @since 9
1583     * @deprecated since 20
1584     */
1585    COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE =
1586        "usual.event.bluetooth.host.NAME_UPDATE",
1587
1588    /**
1589     * Bluetooth.a2dp.connect.state.update.
1590     *
1591     * @syscap SystemCapability.Notification.CommonEvent
1592     * @since 9
1593     * @deprecated since 20
1594     */
1595    COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE =
1596        "usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE",
1597
1598    /**
1599     * Bluetooth.a2dp.playing.state.update.
1600     *
1601     * @syscap SystemCapability.Notification.CommonEvent
1602     * @since 9
1603     * @deprecated since 20
1604     */
1605    COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE =
1606        "usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE",
1607
1608    /**
1609     * Bluetooth.a2dp.audio.state.update.
1610     *
1611     * @syscap SystemCapability.Notification.CommonEvent
1612     * @since 9
1613     * @deprecated since 20
1614     */
1615    COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE =
1616        "usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE",
1617
1618    /**
1619     * Nfc state change.
1620     *
1621     * @syscap SystemCapability.Notification.CommonEvent
1622     * @since arkts {'1.1':'9', '1.2':'20'}
1623     * @arkts 1.1&1.2
1624     */
1625    COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED = 'usual.event.nfc.action.ADAPTER_STATE_CHANGED',
1626
1627    /**
1628     * Nfc field on detected.
1629     *
1630     * @syscap SystemCapability.Notification.CommonEvent
1631     * @since arkts {'1.1':'9', '1.2':'20'}
1632     * @arkts 1.1&1.2
1633     */
1634    COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED = 'usual.event.nfc.action.RF_FIELD_ON_DETECTED',
1635
1636    /**
1637     * Nfc field off detected.
1638     *
1639     * @syscap SystemCapability.Notification.CommonEvent
1640     * @since arkts {'1.1':'9', '1.2':'20'}
1641     * @arkts 1.1&1.2
1642     */
1643    COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED = 'usual.event.nfc.action.RF_FIELD_OFF_DETECTED',
1644
1645    /**
1646     * Sent when stop charging battery.
1647     *
1648     * @syscap SystemCapability.Notification.CommonEvent
1649     * @since arkts {'1.1':'9', '1.2':'20'}
1650     * @arkts 1.1&1.2
1651     */
1652    COMMON_EVENT_DISCHARGING = 'usual.event.DISCHARGING',
1653
1654    /**
1655     * Sent when start charging battery.
1656     *
1657     * @syscap SystemCapability.Notification.CommonEvent
1658     * @since arkts {'1.1':'9', '1.2':'20'}
1659     * @arkts 1.1&1.2
1660     */
1661    COMMON_EVENT_CHARGING = 'usual.event.CHARGING',
1662
1663    /**
1664     * Sent when charge type changed.
1665     *
1666     * @syscap SystemCapability.Notification.CommonEvent
1667     * @systemapi
1668     * @since arkts {'1.1':'10', '1.2':'20'}
1669     * @arkts 1.1&1.2
1670     */
1671    COMMON_EVENT_CHARGE_TYPE_CHANGED = 'usual.event.CHARGE_TYPE_CHANGED',
1672
1673    /**
1674     * Sent when device's idle mode changed
1675     *
1676     * @syscap SystemCapability.Notification.CommonEvent
1677     * @since arkts {'1.1':'9', '1.2':'20'}
1678     * @arkts 1.1&1.2
1679     */
1680    COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED = 'usual.event.DEVICE_IDLE_MODE_CHANGED',
1681
1682    /**
1683     * Sent when device's charge idle mode changed.
1684     *
1685     * @syscap SystemCapability.Notification.CommonEvent
1686     * @since arkts {'1.1':'10', '1.2':'20'}
1687     * @arkts 1.1&1.2
1688     */
1689    COMMON_EVENT_CHARGE_IDLE_MODE_CHANGED = 'usual.event.CHARGE_IDLE_MODE_CHANGED',
1690
1691    /**
1692     * Sent when the list of exempt applications in idle mode is updated.
1693     *
1694     * @syscap SystemCapability.Notification.CommonEvent
1695     * @systemapi
1696     * @since arkts {'1.1':'10', '1.2':'20'}
1697     * @arkts 1.1&1.2
1698     */
1699    COMMON_EVENT_DEVICE_IDLE_EXEMPTION_LIST_UPDATED = 'usual.event.DEVICE_IDLE_EXEMPTION_LIST_UPDATED',
1700
1701    /**
1702     * Sent when device's power save mode changed
1703     *
1704     * @syscap SystemCapability.Notification.CommonEvent
1705     * @since arkts {'1.1':'9', '1.2':'20'}
1706     * @arkts 1.1&1.2
1707     */
1708    COMMON_EVENT_POWER_SAVE_MODE_CHANGED = 'usual.event.POWER_SAVE_MODE_CHANGED',
1709
1710    /**
1711     * User added.
1712     *
1713     * @syscap SystemCapability.Notification.CommonEvent
1714     * This API can be called only by system applications.
1715     * @since arkts {'1.1':'9', '1.2':'20'}
1716     * @arkts 1.1&1.2
1717     */
1718    COMMON_EVENT_USER_ADDED = 'usual.event.USER_ADDED',
1719
1720    /**
1721     * User removed.
1722     *
1723     * @syscap SystemCapability.Notification.CommonEvent
1724     * This API can be called only by system applications.
1725     * @since arkts {'1.1':'9', '1.2':'20'}
1726     * @arkts 1.1&1.2
1727     */
1728    COMMON_EVENT_USER_REMOVED = 'usual.event.USER_REMOVED',
1729
1730    /**
1731     * Sent when ability is added.
1732     *
1733     * @syscap SystemCapability.Notification.CommonEvent
1734     * @since arkts {'1.1':'9', '1.2':'20'}
1735     * @arkts 1.1&1.2
1736     */
1737    COMMON_EVENT_ABILITY_ADDED = 'common.event.ABILITY_ADDED',
1738
1739    /**
1740     * Sent when ability is removed.
1741     *
1742     * @syscap SystemCapability.Notification.CommonEvent
1743     * @since arkts {'1.1':'9', '1.2':'20'}
1744     * @arkts 1.1&1.2
1745     */
1746    COMMON_EVENT_ABILITY_REMOVED = 'common.event.ABILITY_REMOVED',
1747
1748    /**
1749     * Sent when ability is updated.
1750     *
1751     * @syscap SystemCapability.Notification.CommonEvent
1752     * @since arkts {'1.1':'9', '1.2':'20'}
1753     * @arkts 1.1&1.2
1754     */
1755    COMMON_EVENT_ABILITY_UPDATED = 'common.event.ABILITY_UPDATED',
1756
1757    /**
1758     * Gps mode state changed.
1759     *
1760     * @syscap SystemCapability.Notification.CommonEvent
1761     * @since arkts {'1.1':'9', '1.2':'20'}
1762     * @arkts 1.1&1.2
1763     */
1764    COMMON_EVENT_LOCATION_MODE_STATE_CHANGED = 'usual.event.location.MODE_STATE_CHANGED',
1765
1766    /**
1767     * The ivi is about to go into sleep state when the ivi is turned off power.
1768     * This is a protected common event that can only be sent by system.
1769     *
1770     * @syscap SystemCapability.Notification.CommonEvent
1771     * @since arkts {'1.1':'9', '1.2':'20'}
1772     * @arkts 1.1&1.2
1773     */
1774    COMMON_EVENT_IVI_SLEEP = 'common.event.IVI_SLEEP',
1775
1776    /**
1777     * The ivi is slept and notify the app stop playing.
1778     * This is a protected common event that can only be sent by system.
1779     *
1780     * @syscap SystemCapability.Notification.CommonEvent
1781     * @since arkts {'1.1':'9', '1.2':'20'}
1782     * @arkts 1.1&1.2
1783     */
1784    COMMON_EVENT_IVI_PAUSE = 'common.event.IVI_PAUSE',
1785
1786    /**
1787     * The ivi is standby and notify the app stop playing.
1788     * This is a protected common event that can only be sent by system.
1789     *
1790     * @syscap SystemCapability.Notification.CommonEvent
1791     * @since arkts {'1.1':'9', '1.2':'20'}
1792     * @arkts 1.1&1.2
1793     */
1794    COMMON_EVENT_IVI_STANDBY = 'common.event.IVI_STANDBY',
1795
1796    /**
1797     * The app stop playing and save state.
1798     * This is a protected common event that can only be sent by system.
1799     *
1800     * @syscap SystemCapability.Notification.CommonEvent
1801     * @since arkts {'1.1':'9', '1.2':'20'}
1802     * @arkts 1.1&1.2
1803     */
1804    COMMON_EVENT_IVI_LASTMODE_SAVE = 'common.event.IVI_LASTMODE_SAVE',
1805
1806    /**
1807     * The ivi is voltage abnormal.
1808     * This is a protected common event that can only be sent by system.
1809     *
1810     * @syscap SystemCapability.Notification.CommonEvent
1811     * @since arkts {'1.1':'9', '1.2':'20'}
1812     * @arkts 1.1&1.2
1813     */
1814    COMMON_EVENT_IVI_VOLTAGE_ABNORMAL = 'common.event.IVI_VOLTAGE_ABNORMAL',
1815
1816    /**
1817     * The ivi temperature is too high.
1818     * This is a protected common event that can only be sent by system.this common event will be delete later,
1819     * please use COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL.
1820     *
1821     * @syscap SystemCapability.Notification.CommonEvent
1822     * @since arkts {'1.1':'9', '1.2':'20'}
1823     * @arkts 1.1&1.2
1824     */
1825    COMMON_EVENT_IVI_HIGH_TEMPERATURE = 'common.event.IVI_HIGH_TEMPERATURE',
1826
1827    /**
1828     * The ivi temperature is extreme high.
1829     * This is a protected common event that can only be sent by system.this common event will be delete later,
1830     * please use COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL.
1831     *
1832     * @syscap SystemCapability.Notification.CommonEvent
1833     * @since arkts {'1.1':'9', '1.2':'20'}
1834     * @arkts 1.1&1.2
1835     */
1836    COMMON_EVENT_IVI_EXTREME_TEMPERATURE = 'common.event.IVI_EXTREME_TEMPERATURE',
1837
1838    /**
1839     * The ivi temperature is abnormal.
1840     * This is a protected common event that can only be sent by system.
1841     *
1842     * @syscap SystemCapability.Notification.CommonEvent
1843     * @since arkts {'1.1':'9', '1.2':'20'}
1844     * @arkts 1.1&1.2
1845     */
1846    COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL = 'common.event.IVI_TEMPERATURE_ABNORMAL',
1847
1848    /**
1849     * The ivi voltage is recovery.
1850     * This is a protected common event that can only be sent by system.
1851     *
1852     * @syscap SystemCapability.Notification.CommonEvent
1853     * @since arkts {'1.1':'9', '1.2':'20'}
1854     * @arkts 1.1&1.2
1855     */
1856    COMMON_EVENT_IVI_VOLTAGE_RECOVERY = 'common.event.IVI_VOLTAGE_RECOVERY',
1857
1858    /**
1859     * The ivi temperature is recovery.
1860     * This is a protected common event that can only be sent by system.
1861     *
1862     * @syscap SystemCapability.Notification.CommonEvent
1863     * @since arkts {'1.1':'9', '1.2':'20'}
1864     * @arkts 1.1&1.2
1865     */
1866    COMMON_EVENT_IVI_TEMPERATURE_RECOVERY = 'common.event.IVI_TEMPERATURE_RECOVERY',
1867
1868    /**
1869     * The battery service is active.
1870     * This is a protected common event that can only be sent by system.
1871     *
1872     * @syscap SystemCapability.Notification.CommonEvent
1873     * @since arkts {'1.1':'9', '1.2':'20'}
1874     * @arkts 1.1&1.2
1875     */
1876    COMMON_EVENT_IVI_ACTIVE = 'common.event.IVI_ACTIVE',
1877
1878    /**
1879     * The usb state change events.
1880     * This is a protected common event that can only be sent by system.
1881     *
1882     * @syscap SystemCapability.Notification.CommonEvent
1883     * @since arkts {'1.1':'9', '1.2':'20'}
1884     * @arkts 1.1&1.2
1885     */
1886    COMMON_EVENT_USB_STATE = 'usual.event.hardware.usb.action.USB_STATE',
1887
1888    /**
1889     * The usb port changed.
1890     * This is a protected common event that can only be sent by system.
1891     *
1892     * @syscap SystemCapability.Notification.CommonEvent
1893     * @since arkts {'1.1':'9', '1.2':'20'}
1894     * @arkts 1.1&1.2
1895     */
1896    COMMON_EVENT_USB_PORT_CHANGED = 'usual.event.hardware.usb.action.USB_PORT_CHANGED',
1897
1898    /**
1899     * The usb device attached.
1900     * This is a protected common event that can only be sent by system.
1901     *
1902     * @syscap SystemCapability.Notification.CommonEvent
1903     * @since arkts {'1.1':'9', '1.2':'20'}
1904     * @arkts 1.1&1.2
1905     */
1906    COMMON_EVENT_USB_DEVICE_ATTACHED = 'usual.event.hardware.usb.action.USB_DEVICE_ATTACHED',
1907
1908    /**
1909     * The usb device detached.
1910     * This is a protected common event that can only be sent by system.
1911     *
1912     * @syscap SystemCapability.Notification.CommonEvent
1913     * @since arkts {'1.1':'9', '1.2':'20'}
1914     * @arkts 1.1&1.2
1915     */
1916    COMMON_EVENT_USB_DEVICE_DETACHED = 'usual.event.hardware.usb.action.USB_DEVICE_DETACHED',
1917
1918    /**
1919     * The usb accessory attached.
1920     * This is a protected common event that can only be sent by system.
1921     *
1922     * @syscap SystemCapability.Notification.CommonEvent
1923     * @since arkts {'1.1':'9', '1.2':'20'}
1924     * @arkts 1.1&1.2
1925     */
1926    COMMON_EVENT_USB_ACCESSORY_ATTACHED = 'usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED',
1927
1928    /**
1929     * The usb accessory detached.
1930     * This is a protected common event that can only be sent by system.
1931     *
1932     * @syscap SystemCapability.Notification.CommonEvent
1933     * @since arkts {'1.1':'9', '1.2':'20'}
1934     * @arkts 1.1&1.2
1935     */
1936    COMMON_EVENT_USB_ACCESSORY_DETACHED = 'usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED',
1937
1938    /**
1939     * The external storage was removed.
1940     * This is a protected common event that can only be sent by system.
1941     *
1942     * @syscap SystemCapability.Notification.CommonEvent
1943     * @since arkts {'1.1':'9', '1.2':'20'}
1944     * @arkts 1.1&1.2
1945     */
1946    COMMON_EVENT_DISK_REMOVED = 'usual.event.data.DISK_REMOVED',
1947
1948    /**
1949     * The external storage was unmounted.
1950     * This is a protected common event that can only be sent by system.
1951     *
1952     * @syscap SystemCapability.Notification.CommonEvent
1953     * @since arkts {'1.1':'9', '1.2':'20'}
1954     * @arkts 1.1&1.2
1955     */
1956    COMMON_EVENT_DISK_UNMOUNTED = 'usual.event.data.DISK_UNMOUNTED',
1957
1958    /**
1959     * The external storage was mounted.
1960     * This is a protected common event that can only be sent by system.
1961     *
1962     * @syscap SystemCapability.Notification.CommonEvent
1963     * @since arkts {'1.1':'9', '1.2':'20'}
1964     * @arkts 1.1&1.2
1965     */
1966    COMMON_EVENT_DISK_MOUNTED = 'usual.event.data.DISK_MOUNTED',
1967
1968    /**
1969     * The external storage was bad removal.
1970     * This is a protected common event that can only be sent by system.
1971     *
1972     * @syscap SystemCapability.Notification.CommonEvent
1973     * @since arkts {'1.1':'9', '1.2':'20'}
1974     * @arkts 1.1&1.2
1975     */
1976    COMMON_EVENT_DISK_BAD_REMOVAL = 'usual.event.data.DISK_BAD_REMOVAL',
1977
1978    /**
1979     * The external storage was unmountable.
1980     * This is a protected common event that can only be sent by system.
1981     *
1982     * @syscap SystemCapability.Notification.CommonEvent
1983     * @since arkts {'1.1':'9', '1.2':'20'}
1984     * @arkts 1.1&1.2
1985     */
1986    COMMON_EVENT_DISK_UNMOUNTABLE = 'usual.event.data.DISK_UNMOUNTABLE',
1987
1988    /**
1989     * The external storage was eject.
1990     * This is a protected common event that can only be sent by system.
1991     *
1992     * @syscap SystemCapability.Notification.CommonEvent
1993     * @since arkts {'1.1':'9', '1.2':'20'}
1994     * @arkts 1.1&1.2
1995     */
1996    COMMON_EVENT_DISK_EJECT = 'usual.event.data.DISK_EJECT',
1997
1998    /**
1999     * The external storage was removed.
2000     * This is a protected common event that can only be sent by system.
2001     * This API can be called only by system applications.
2002     *
2003     * @syscap SystemCapability.Notification.CommonEvent
2004     * @since arkts {'1.1':'9', '1.2':'20'}
2005     * @arkts 1.1&1.2
2006     */
2007    COMMON_EVENT_VOLUME_REMOVED = 'usual.event.data.VOLUME_REMOVED',
2008
2009    /**
2010     * The external storage was unmounted.
2011     * This is a protected common event that can only be sent by system.
2012     * This API can be called only by system applications.
2013     *
2014     * @syscap SystemCapability.Notification.CommonEvent
2015     * @since arkts {'1.1':'9', '1.2':'20'}
2016     * @arkts 1.1&1.2
2017     */
2018    COMMON_EVENT_VOLUME_UNMOUNTED = 'usual.event.data.VOLUME_UNMOUNTED',
2019
2020    /**
2021     * The external storage was mounted.
2022     * This is a protected common event that can only be sent by system.
2023     * This API can be called only by system applications.
2024     *
2025     * @syscap SystemCapability.Notification.CommonEvent
2026     * @since arkts {'1.1':'9', '1.2':'20'}
2027     * @arkts 1.1&1.2
2028     */
2029    COMMON_EVENT_VOLUME_MOUNTED = 'usual.event.data.VOLUME_MOUNTED',
2030
2031    /**
2032     * The external storage was bad removal.
2033     * This is a protected common event that can only be sent by system.
2034     * This API can be called only by system applications.
2035     *
2036     * @syscap SystemCapability.Notification.CommonEvent
2037     * @since arkts {'1.1':'9', '1.2':'20'}
2038     * @arkts 1.1&1.2
2039     */
2040    COMMON_EVENT_VOLUME_BAD_REMOVAL = 'usual.event.data.VOLUME_BAD_REMOVAL',
2041
2042    /**
2043     * The external storage was eject.
2044     * This is a protected common event that can only be sent by system.
2045     * This API can be called only by system applications.
2046     *
2047     * @syscap SystemCapability.Notification.CommonEvent
2048     * @since arkts {'1.1':'9', '1.2':'20'}
2049     * @arkts 1.1&1.2
2050     */
2051    COMMON_EVENT_VOLUME_EJECT = 'usual.event.data.VOLUME_EJECT',
2052
2053    /**
2054     * The visible of account was updated.
2055     * This is a protected common event that can only be sent by system.
2056     *
2057     * @syscap SystemCapability.Notification.CommonEvent
2058     * @since arkts {'1.1':'9', '1.2':'20'}
2059     * @arkts 1.1&1.2
2060     */
2061    COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED = 'usual.event.data.VISIBLE_ACCOUNTS_UPDATED',
2062
2063    /**
2064     * Account was deleted.
2065     * This is a protected common event that can only be sent by system.
2066     *
2067     * @syscap SystemCapability.Notification.CommonEvent
2068     * This API can be called only by system applications.
2069     * @since arkts {'1.1':'9', '1.2':'20'}
2070     * @arkts 1.1&1.2
2071     */
2072    COMMON_EVENT_ACCOUNT_DELETED = 'usual.event.data.ACCOUNT_DELETED',
2073
2074    /**
2075     * Foundation was ready.
2076     * This is a protected common event that can only be sent by system.
2077     *
2078     * @syscap SystemCapability.Notification.CommonEvent
2079     * @since arkts {'1.1':'9', '1.2':'20'}
2080     * @arkts 1.1&1.2
2081     */
2082    COMMON_EVENT_FOUNDATION_READY = 'common.event.FOUNDATION_READY',
2083
2084    /**
2085     * Indicates the common event Action indicating that the airplane mode status of the device changes.
2086     * Users can register this event to listen to the change of the airplane mode status of the device.
2087     *
2088     * @syscap SystemCapability.Notification.CommonEvent
2089     * @since arkts {'1.1':'9', '1.2':'20'}
2090     * @arkts 1.1&1.2
2091     */
2092    COMMON_EVENT_AIRPLANE_MODE_CHANGED = 'usual.event.AIRPLANE_MODE',
2093
2094    /**
2095     * sent by the window manager service when the window mode is split.
2096     *
2097     * @syscap SystemCapability.Notification.CommonEvent
2098     * @since 9
2099     */
2100    /**
2101     * sent by the window manager service when the window mode is split.
2102     *
2103     * @syscap SystemCapability.Notification.CommonEvent
2104     * @atomicservice
2105     * @since arkts {'1.1':'11', '1.2':'20'}
2106     * @arkts 1.1&1.2
2107     */
2108    COMMON_EVENT_SPLIT_SCREEN = 'common.event.SPLIT_SCREEN',
2109
2110    /**
2111     * The notification slot has been updated.
2112     * This is a protected common event that can only be sent by system.
2113     * This API can be called only by system applications.
2114     *
2115     * @syscap SystemCapability.Notification.CommonEvent
2116     * @since arkts {'1.1':'9', '1.2':'20'}
2117     * @arkts 1.1&1.2
2118     */
2119    COMMON_EVENT_SLOT_CHANGE = 'usual.event.SLOT_CHANGE',
2120
2121    /**
2122     * Indicate the action of a common event that the spn display information has been updated.
2123     * This common event can be triggered only by system.
2124     *
2125     * @syscap SystemCapability.Notification.CommonEvent
2126     * @since arkts {'1.1':'9', '1.2':'20'}
2127     * @arkts 1.1&1.2
2128     */
2129    COMMON_EVENT_SPN_INFO_CHANGED = 'usual.event.SPN_INFO_CHANGED',
2130
2131    /**
2132     * Indicate the result of quick fix apply.
2133     * This common event can be triggered only by system.
2134     *
2135     * @syscap SystemCapability.Notification.CommonEvent
2136     * @since arkts {'1.1':'9', '1.2':'20'}
2137     * @arkts 1.1&1.2
2138     */
2139    COMMON_EVENT_QUICK_FIX_APPLY_RESULT = 'usual.event.QUICK_FIX_APPLY_RESULT',
2140
2141    /**
2142     * Indicate the result of quick fix revoke.
2143     * This common event can be triggered only by system.
2144     *
2145     * @syscap SystemCapability.Notification.CommonEvent
2146     * @since arkts {'1.1':'10', '1.2':'20'}
2147     * @arkts 1.1&1.2
2148     */
2149    COMMON_EVENT_QUICK_FIX_REVOKE_RESULT = 'usual.event.QUICK_FIX_REVOKE_RESULT',
2150
2151    /**
2152     * Indicate the action of a common event that the user information has been updated.
2153     * This common event can be triggered only by system.
2154     *
2155     * @syscap SystemCapability.Notification.CommonEvent
2156     * @since arkts {'1.1':'9', '1.2':'20'}
2157     * @arkts 1.1&1.2
2158     */
2159    COMMON_EVENT_USER_INFO_UPDATED = 'usual.event.USER_INFO_UPDATED',
2160
2161    /**
2162     * Indicate http proxy has been changed.
2163     * This is a protected common event that can only be sent by system.
2164     *
2165     * @syscap SystemCapability.Notification.CommonEvent
2166     * @since arkts {'1.1':'10', '1.2':'20'}
2167     * @arkts 1.1&1.2
2168     */
2169    COMMON_EVENT_HTTP_PROXY_CHANGE = 'usual.event.HTTP_PROXY_CHANGE',
2170
2171    /**
2172     * Indicates the action of a common event that the phone SIM card state has changed.
2173     * This is a protected common event that can only be sent by system.
2174     *
2175     * @syscap SystemCapability.Notification.CommonEvent
2176     * @since arkts {'1.1':'10', '1.2':'20'}
2177     * @arkts 1.1&1.2
2178     */
2179    COMMON_EVENT_SIM_STATE_CHANGED = 'usual.event.SIM_STATE_CHANGED',
2180
2181    /**
2182     * Indicate the action of a common event that a new sms bas been received by the device.
2183     * To subscribe to this common event, your application must have the ohos.permission.RECEIVE_SMS permission.
2184     * This common event can be triggered only by system.
2185     *
2186     * @syscap SystemCapability.Notification.CommonEvent
2187     * @systemapi
2188     * @since arkts {'1.1':'10', '1.2':'20'}
2189     * @arkts 1.1&1.2
2190     */
2191    COMMON_EVENT_SMS_RECEIVE_COMPLETED = 'usual.event.SMS_RECEIVE_COMPLETED',
2192
2193    /**
2194     * Indicate the action of a common event that a new sms emergency cell broadcast bas been received by the device.
2195     * This common event can be triggered only by system.
2196     *
2197     * @syscap SystemCapability.Notification.CommonEvent
2198     * @systemapi
2199     * @since arkts {'1.1':'10', '1.2':'20'}
2200     * @arkts 1.1&1.2
2201     */
2202    COMMON_EVENT_SMS_EMERGENCY_CB_RECEIVE_COMPLETED = 'usual.event.SMS_EMERGENCY_CB_RECEIVE_COMPLETED',
2203
2204    /**
2205     * Indicate the action of a common event that a new sms normal cell broadcast bas been received by the device.
2206     * This common event can be triggered only by system.
2207     *
2208     * @syscap SystemCapability.Notification.CommonEvent
2209     * @systemapi
2210     * @since arkts {'1.1':'10', '1.2':'20'}
2211     * @arkts 1.1&1.2
2212     */
2213    COMMON_EVENT_SMS_CB_RECEIVE_COMPLETED = 'usual.event.SMS_CB_RECEIVE_COMPLETED',
2214
2215    /**
2216     * Indicate the action of a common event that a STK command has been received by the device.
2217     * To subscribe to this protected common event, your application must have the ohos.permission.STK_MESSAGES_RECEIVED
2218     * permission.
2219     * This common event can be triggered only by system.
2220     *
2221     * @syscap SystemCapability.Notification.CommonEvent
2222     * @systemapi
2223     * @since arkts {'1.1':'10', '1.2':'20'}
2224     * @arkts 1.1&1.2
2225     */
2226    COMMON_EVENT_STK_COMMAND = 'usual.event.STK_COMMAND',
2227
2228    /**
2229     * Indicate the action of a common event that STK session end.
2230     * To subscribe to this protected common event, your application must have the ohos.permission.STK_MESSAGES_RECEIVED
2231     * permission.
2232     * This common event can be triggered only by system.
2233     *
2234     * @syscap SystemCapability.Notification.CommonEvent
2235     * @systemapi
2236     * @since arkts {'1.1':'10', '1.2':'20'}
2237     * @arkts 1.1&1.2
2238     */
2239    COMMON_EVENT_STK_SESSION_END = 'usual.event.STK_SESSION_END',
2240
2241    /**
2242     * Indicate the action of a common event that the STK phone card state has changed.
2243     * To subscribe to this protected common event, your application must have the ohos.permission.STK_MESSAGES_RECEIVED
2244     * permission.
2245     * This common event can be triggered only by system.
2246     *
2247     * @syscap SystemCapability.Notification.CommonEvent
2248     * @systemapi
2249     * @since arkts {'1.1':'10', '1.2':'20'}
2250     * @arkts 1.1&1.2
2251     */
2252    COMMON_EVENT_STK_CARD_STATE_CHANGED = 'usual.event.STK_CARD_STATE_CHANGED',
2253
2254    /**
2255     * Indicate the action of a common event that an alpha string during call control has been received by the device.
2256     * To subscribe to this protected common event, your application must have the ohos.permission.STK_MESSAGES_RECEIVED
2257     * permission.
2258     * This common event can be triggered only by system.
2259     *
2260     * @syscap SystemCapability.Notification.CommonEvent
2261     * @systemapi
2262     * @since arkts {'1.1':'10', '1.2':'20'}
2263     * @arkts 1.1&1.2
2264     */
2265    COMMON_EVENT_STK_ALPHA_IDENTIFIER = 'usual.event.STK_ALPHA_IDENTIFIER',
2266
2267    /**
2268     * Indicate the action of a common event that a new sms wappush has been received by the device.
2269     * This common event can be triggered only by system.
2270     *
2271     * @syscap SystemCapability.Notification.CommonEvent
2272     * @systemapi
2273     * @since arkts {'1.1':'10', '1.2':'20'}
2274     * @arkts 1.1&1.2
2275     */
2276    COMMON_EVENT_SMS_WAPPUSH_RECEIVE_COMPLETED = 'usual.event.SMS_WAPPUSH_RECEIVE_COMPLETED',
2277
2278    /**
2279     * Indicate the action of a common event that the operator config has been updated.
2280     * This common event can be triggered only by system.
2281     *
2282     * @syscap SystemCapability.Notification.CommonEvent
2283     * @systemapi
2284     * @since arkts {'1.1':'10', '1.2':'20'}
2285     * @arkts 1.1&1.2
2286     */
2287    COMMON_EVENT_OPERATOR_CONFIG_CHANGED = 'usual.event.OPERATOR_CONFIG_CHANGED',
2288
2289    /**
2290     * Indicates the action of a common event that the default SMS subscription has been changed.
2291     * This is a protected common event that can only be sent by system.
2292     *
2293     * @syscap SystemCapability.Notification.CommonEvent
2294     * @systemapi
2295     * @since arkts {'1.1':'10', '1.2':'20'}
2296     * @arkts 1.1&1.2
2297     */
2298    COMMON_EVENT_SIM_CARD_DEFAULT_SMS_SUBSCRIPTION_CHANGED = 'usual.event.SIM.DEFAULT_SMS_SUBSCRIPTION_CHANGED',
2299
2300    /**
2301     * Indicates the action of a common event that the default data subscription has been changed.
2302     * This is a protected common event that can only be sent by system.
2303     *
2304     * @syscap SystemCapability.Notification.CommonEvent
2305     * @systemapi
2306     * @since arkts {'1.1':'10', '1.2':'20'}
2307     * @arkts 1.1&1.2
2308     */
2309    COMMON_EVENT_SIM_CARD_DEFAULT_DATA_SUBSCRIPTION_CHANGED = 'usual.event.SIM.DEFAULT_DATA_SUBSCRIPTION_CHANGED',
2310
2311    /**
2312     * Indicates the action of a common event that the default main subscription has been changed.
2313     * This is a protected common event that can only be sent by system.
2314     *
2315     * @syscap SystemCapability.Notification.CommonEvent
2316     * @systemapi
2317     * @since arkts {'1.1':'10', '1.2':'20'}
2318     * @arkts 1.1&1.2
2319     */
2320    COMMON_EVENT_SIM_CARD_DEFAULT_MAIN_SUBSCRIPTION_CHANGED = 'usual.event.SIM.DEFAULT_MAIN_SUBSCRIPTION_CHANGED',
2321
2322    /**
2323     * Indicates the action of a common event that the status of setting primary slot has been changed.
2324     * This is a protected common event that can only be sent by system.
2325     *
2326     * @syscap SystemCapability.Notification.CommonEvent
2327     * @systemapi
2328     * @since arkts {'1.1':'11', '1.2':'20'}
2329     * @arkts 1.1&1.2
2330     */
2331    COMMON_EVENT_SET_PRIMARY_SLOT_STATUS = 'usual.event.SET_PRIMARY_SLOT_STATUS',
2332
2333    /**
2334     * Indicates the action of a common event that the roaming status of main card has been changed.
2335     * This is a protected common event that can only be sent by system.
2336     *
2337     * @syscap SystemCapability.Notification.CommonEvent
2338     * @systemapi
2339     * @since arkts {'1.1':'11', '1.2':'20'}
2340     * @arkts 1.1&1.2
2341     */
2342    COMMON_EVENT_PRIMARY_SLOT_ROAMING = 'usual.event.PRIMARY_SLOT_ROAMING',
2343
2344    /**
2345     * Indicates the action of a common event that the default voice subscription has been changed.
2346     * This is a protected common event that can only be sent by system.
2347     *
2348     * @syscap SystemCapability.Notification.CommonEvent
2349     * @systemapi
2350     * @since arkts {'1.1':'10', '1.2':'20'}
2351     * @arkts 1.1&1.2
2352     */
2353    COMMON_EVENT_SIM_CARD_DEFAULT_VOICE_SUBSCRIPTION_CHANGED = 'usual.event.SIM.DEFAULT_VOICE_SUBSCRIPTION_CHANGED',
2354
2355    /**
2356     * Indicates the action of a common event that the call state has been changed.
2357     * To subscribe to this protected common event, your application must have the ohos.permission.GET_TELEPHONY_STATE
2358     * permission.
2359     * This is a protected common event that can only be sent by system.
2360     *
2361     * @syscap SystemCapability.Notification.CommonEvent
2362     * @since arkts {'1.1':'10', '1.2':'20'}
2363     * @arkts 1.1&1.2
2364     */
2365    COMMON_EVENT_CALL_STATE_CHANGED = 'usual.event.CALL_STATE_CHANGED',
2366
2367    /**
2368     * Indicates the action of a common event that the cellular data state has been changed.
2369     * This is a protected common event that can only be sent by system.
2370     *
2371     * @syscap SystemCapability.Notification.CommonEvent
2372     * @systemapi
2373     * @since arkts {'1.1':'10', '1.2':'20'}
2374     * @arkts 1.1&1.2
2375     */
2376    COMMON_EVENT_CELLULAR_DATA_STATE_CHANGED = 'usual.event.CELLULAR_DATA_STATE_CHANGED',
2377
2378    /**
2379     * Indicates the action of a common event that the network state has been changed.
2380     * This is a protected common event that can only be sent by system.
2381     *
2382     * @syscap SystemCapability.Notification.CommonEvent
2383     * @since arkts {'1.1':'10', '1.2':'20'}
2384     * @arkts 1.1&1.2
2385     */
2386    COMMON_EVENT_NETWORK_STATE_CHANGED = 'usual.event.NETWORK_STATE_CHANGED',
2387
2388    /**
2389     * Indicates the action of a common event that the signal info has been changed.
2390     * This is a protected common event that can only be sent by system.
2391     *
2392     * @syscap SystemCapability.Notification.CommonEvent
2393     * @since arkts {'1.1':'10', '1.2':'20'}
2394     * @arkts 1.1&1.2
2395     */
2396    COMMON_EVENT_SIGNAL_INFO_CHANGED = 'usual.event.SIGNAL_INFO_CHANGED',
2397
2398    /**
2399     * Indicates the action of a common event that the incoming call has been missed.
2400     * To subscribe to this protected common event, your application must have the ohos.permission.GET_TELEPHONY_STATE
2401     * permission.
2402     * This is a protected common event that can only be sent by system.
2403     *
2404     * @syscap SystemCapability.Notification.CommonEvent
2405     * @systemapi
2406     * @since arkts {'1.1':'10', '1.2':'20'}
2407     * @arkts 1.1&1.2
2408     */
2409    COMMON_EVENT_INCOMING_CALL_MISSED = 'usual.event.INCOMING_CALL_MISSED',
2410
2411    /**
2412     * Indicates the action of a common event that radio state change.
2413     * This is a protected common event that can only be sent by system.
2414     *
2415     * @syscap SystemCapability.Notification.CommonEvent
2416     * @systemapi
2417     * @since arkts {'1.1':'10', '1.2':'20'}
2418     * @arkts 1.1&1.2
2419     */
2420    COMMON_EVENT_RADIO_STATE_CHANGE = 'usual.event.RADIO_STATE_CHANGE',
2421
2422    /**
2423     * Indicate the action of a common event that domain account status has been changed.
2424     * To subscribe to this protected common event, your application must have the ohos.permission.GET_LOCAL_ACCOUNTS
2425     *
2426     * @syscap SystemCapability.Notification.CommonEvent
2427     * @systemapi
2428     * @since arkts {'1.1':'10', '1.2':'20'}
2429     * @arkts 1.1&1.2
2430     */
2431    COMMON_EVENT_DOMAIN_ACCOUNT_STATUS_CHANGED = 'usual.event.DOMAIN_ACCOUNT_STATUS_CHANGED',
2432
2433    /**
2434     * This commonEvent means when the screen is unlocked.
2435     *
2436     * @syscap SystemCapability.Notification.CommonEvent
2437     * @since 10
2438     */
2439    /**
2440     * This commonEvent means when the screen is unlocked.
2441     *
2442     * @syscap SystemCapability.Notification.CommonEvent
2443     * @atomicservice
2444     * @since arkts {'1.1':'11', '1.2':'20'}
2445     * @arkts 1.1&1.2
2446     */
2447    COMMON_EVENT_SCREEN_UNLOCKED = 'usual.event.SCREEN_UNLOCKED',
2448
2449    /**
2450     * This commonEvent means when the screen is locked.
2451     *
2452     * @syscap SystemCapability.Notification.CommonEvent
2453     * @since 10
2454     */
2455    /**
2456     * This commonEvent means when the screen is locked.
2457     *
2458     * @syscap SystemCapability.Notification.CommonEvent
2459     * @atomicservice
2460     * @since arkts {'1.1':'11', '1.2':'20'}
2461     * @arkts 1.1&1.2
2462     */
2463    COMMON_EVENT_SCREEN_LOCKED = 'usual.event.SCREEN_LOCKED',
2464
2465    /**
2466     * Indicates the action of a common event that the network connectivity changed.
2467     * This is a protected common event that can only be sent by system.
2468     *
2469     * @syscap SystemCapability.Notification.CommonEvent
2470     * @since 10
2471     */
2472    /**
2473     * Indicates the action of a common event that the network connectivity changed.
2474     * This is a protected common event that can only be sent by system.
2475     *
2476     * @syscap SystemCapability.Notification.CommonEvent
2477     * @atomicservice
2478     * @since arkts {'1.1':'11', '1.2':'20'}
2479     * @arkts 1.1&1.2
2480     */
2481    COMMON_EVENT_CONNECTIVITY_CHANGE = 'usual.event.CONNECTIVITY_CHANGE',
2482
2483    /**
2484     * Indicates the action of a common event that special number has been entered by dialer
2485     * This is a protected common event that can only be sent by system.
2486     *
2487     * @syscap SystemCapability.Notification.CommonEvent
2488     * @systemapi
2489     * @since arkts {'1.1':'10', '1.2':'20'}
2490     * @arkts 1.1&1.2
2491     */
2492    COMMON_EVENT_SPECIAL_CODE = 'common.event.SPECIAL_CODE',
2493
2494    /**
2495      * Indicates the action of a common event that audio quality change.
2496      * This is a protected common event that can only be sent by system.
2497      *
2498      * @syscap SystemCapability.Notification.CommonEvent
2499      * @systemapi
2500      * @since arkts {'1.1':'10', '1.2':'20'}
2501      * @arkts 1.1&1.2
2502      */
2503    COMMON_EVENT_AUDIO_QUALITY_CHANGE = 'usual.event.AUDIO_QUALITY_CHANGE',
2504
2505    /**
2506     * Indicates the action of a common event that bluetooth handsfree ag connection state change.
2507     * To subscribe to this protected common event, your application must have the ohos.permission.ACCESS_BLUETOOTH
2508     *
2509     * @syscap SystemCapability.Notification.CommonEvent
2510     * @since 20
2511     * @arkts 1.1&1.2
2512     */
2513    COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_CHANGE =
2514        "usual.event.bluetooth.handsfree.ag.CONNECT_STATE_CHANGE",
2515
2516    /**
2517      * Indicates that the privacy status is changed.
2518      * This is a protected common event that can only be sent by system.
2519      *
2520      * @syscap SystemCapability.Notification.CommonEvent
2521      * @systemapi
2522      * @since arkts {'1.1':'11', '1.2':'20'}
2523      * @arkts 1.1&1.2
2524      */
2525    COMMON_EVENT_PRIVACY_STATE_CHANGED = 'usual.event.PRIVACY_STATE_CHANGED',
2526
2527    /**
2528     * This commonEvent means when a new application package start to install on the device.
2529     * This is a protected common event that can only be sent by system.
2530     *
2531     * @syscap SystemCapability.Notification.CommonEvent
2532     * @systemapi
2533     * @since arkts {'1.1':'12', '1.2':'20'}
2534     * @arkts 1.1&1.2
2535     */
2536    COMMON_EVENT_PACKAGE_INSTALLATION_STARTED = 'usual.event.PACKAGE_INSTALLATION_STARTED',
2537
2538    /**
2539     * This common event means an application package enables or disables a dynamic icon.
2540     * This is a protected common event that can only be sent by system.
2541     *
2542     * @syscap SystemCapability.Notification.CommonEvent
2543     * @systemapi
2544     * @since arkts {'1.1':'12', '1.2':'20'}
2545     * @arkts 1.1&1.2
2546     */
2547    COMMON_EVENT_DYNAMIC_ICON_CHANGED = 'usual.event.DYNAMIC_ICON_CHANGED',
2548
2549    /**
2550     * This common event means that minors mode is enabled.
2551     * This is a protected common event that can only be sent by system.
2552     *
2553     * @syscap SystemCapability.Notification.CommonEvent
2554     * @atomicservice
2555     * @since arkts {'1.1':'12', '1.2':'20'}
2556     * @arkts 1.1&1.2
2557     */
2558    COMMON_EVENT_MINORSMODE_ON = 'usual.event.MINORSMODE_ON',
2559
2560    /**
2561     * This common event means that minors mode is disabled.
2562     * This is a protected common event that can only be sent by system.
2563     *
2564     * @syscap SystemCapability.Notification.CommonEvent
2565     * @atomicservice
2566     * @since arkts {'1.1':'12', '1.2':'20'}
2567     * @arkts 1.1&1.2
2568     */
2569    COMMON_EVENT_MINORSMODE_OFF = 'usual.event.MINORSMODE_OFF',
2570
2571    /**
2572     * Indicates the action of a common event that the bundle resources have been changed.
2573     * To subscribe to this common event, your application must have the ohos.permission.GET_BUNDLE_RESOURCES
2574     * permission.
2575     * This is a protected common event, which can be sent only by the system.
2576     *
2577     * @syscap SystemCapability.Notification.CommonEvent
2578     * @systemapi
2579     * @since arkts {'1.1':'15', '1.2':'20'}
2580     * @arkts 1.1&1.2
2581     */
2582    COMMON_EVENT_BUNDLE_RESOURCES_CHANGED = 'usual.event.BUNDLE_RESOURCES_CHANGED',
2583
2584    /**
2585     * This common event means that datashare is ready.
2586     * This is a protected common event that can only be sent by system.
2587     *
2588     * @syscap SystemCapability.Notification.CommonEvent
2589     * @atomicservice
2590     * @since arkts {'1.1':'12', '1.2':'20'}
2591     * @arkts 1.1&1.2
2592     */
2593    COMMON_EVENT_DATA_SHARE_READY = 'usual.event.DATA_SHARE_READY',
2594
2595    /**
2596     * This common event means that vpn connection status has been changed.
2597     * This is a protected common event that can only be sent by system.
2598     *
2599     * @syscap SystemCapability.Notification.CommonEvent
2600     * @systemapi
2601     * @since arkts {'1.1':'12', '1.2':'20'}
2602     * @arkts 1.1&1.2
2603     */
2604    COMMON_EVENT_VPN_CONNECTION_STATUS_CHANGED = 'usual.event.VPN_CONNECTION_STATUS_CHANGED',
2605
2606    /**
2607     * Indicates that an application begins to restored.
2608     * To subscribe to this common event, your application must have the ohos.permission.START_RESTORE_NOTIFICATION
2609     * permission.
2610     * This is a protected common event that can only be sent by system.
2611     *
2612     * @syscap SystemCapability.Notification.CommonEvent
2613     * @systemapi
2614     * @since arkts {'1.1':'13', '1.2':'20'}
2615     * @arkts 1.1&1.2
2616     */
2617    COMMON_EVENT_RESTORE_START = 'usual.event.RESTORE_START',
2618
2619    /**
2620     * Indicates the action of a common event that bluetooth a2dp source connection state change.
2621     * To subscribe to this protected common event, your application must have the ohos.permission.ACCESS_BLUETOOTH
2622     *
2623     * @syscap SystemCapability.Notification.CommonEvent
2624     * @since 20
2625     * @arkts 1.1&1.2
2626     */
2627    COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_CHANGE =
2628        "usual.event.bluetooth.a2dpsource.CONNECT_STATE_CHANGE",
2629
2630    /**
2631     * Indicates the action of a common event that bluetooth avrcp connection state change.
2632     * To subscribe to this protected common event, your application must have the ohos.permission.ACCESS_BLUETOOTH
2633     *
2634     * @syscap SystemCapability.Notification.CommonEvent
2635     * @since 20
2636     * @arkts 1.1&1.2
2637     */
2638    COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_CHANGE =
2639        "usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_CHANGE",
2640
2641    /**
2642     * Indicates the action of a common event that bluetooth codec change.
2643     * To subscribe to this protected common event, your application must have the ohos.permission.ACCESS_BLUETOOTH
2644     *
2645     * @syscap SystemCapability.Notification.CommonEvent
2646     * @since 20
2647     * @arkts 1.1&1.2
2648     */
2649    COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_CHANGE =
2650        "usual.event.bluetooth.a2dpsource.CODEC_VALUE_CHANGE",
2651
2652    /**
2653     * Indicates the action of a common event that bluetooth remote device acl state change.
2654     * To subscribe to this protected common event, your application must have the ohos.permission.ACCESS_BLUETOOTH
2655     *
2656     * @syscap SystemCapability.Notification.CommonEvent
2657     * @since 20
2658     * @arkts 1.1&1.2
2659     */
2660    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_STATE_CHANGE =
2661        "usual.event.bluetooth.remotedevice.ACL_STATE_CHANGE",
2662
2663    /**
2664     * Indicates the action of a common event that bluetooth pair state change.
2665     * To subscribe to this protected common event, your application must have the ohos.permission.ACCESS_BLUETOOTH
2666     *
2667     * @syscap SystemCapability.Notification.CommonEvent
2668     * @since 20
2669     * @arkts 1.1&1.2
2670     */
2671    COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE_CHANGE =
2672        "usual.event.bluetooth.remotedevice.PAIR_STATE_CHANGE",
2673
2674    /**
2675     * Indicates that the managed browser policy is changed.
2676     * This is a protected common event that can only be sent by system.
2677     *
2678     * @syscap SystemCapability.Notification.CommonEvent
2679     * @since arkts {'1.1':'15', '1.2':'20'}
2680     * @arkts 1.1&1.2
2681     */
2682    COMMON_EVENT_MANAGED_BROWSER_POLICY_CHANGED = 'usual.event.MANAGED_BROWSER_POLICY_CHANGED',
2683
2684    /**
2685     * Indicates that the default application is changed.
2686     * To subscribe to this common event, your application must have the ohos.permission.CHANGE_DEFAULT_APPLICATION
2687     * permission.
2688     * This is a protected common event that can only be sent by system.
2689     *
2690     * @syscap SystemCapability.Notification.CommonEvent
2691     * @systemapi
2692     * @since arkts {'1.1':'19', '1.2':'20'}
2693     * @arkts 1.1&1.2
2694     */
2695    COMMON_EVENT_DEFAULT_APPLICATION_CHANGED = 'usual.event.DEFAULT_APPLICATION_CHANGED',
2696
2697    /**
2698     * This common event means that shortcut has been changed.
2699     * To subscribe to this common event, your application must have the ohos.permission.MANAGE_SHORTCUTS permission.
2700     * This is a protected common event that can only be sent by system.
2701     *
2702     * @syscap SystemCapability.Notification.CommonEvent
2703     * @systemapi
2704     * @since 20
2705     * @arkts 1.1&1.2
2706     */
2707    COMMON_EVENT_SHORTCUT_CHANGED = 'usual.event.SHORTCUT_CHANGED',
2708
2709    /**
2710     * This common event means that kiosk mode is on.
2711     * This is a protected common event that can only be sent by system.
2712     *
2713     * @syscap SystemCapability.Notification.CommonEvent
2714     * @since 20
2715     * @arkts 1.1&1.2
2716     */
2717    COMMON_EVENT_KIOSK_MODE_ON = 'usual.event.KIOSK_MODE_ON',
2718
2719    /**
2720     * This common event means that kiosk mode is off.
2721     * This is a protected common event that can only be sent by system.
2722     *
2723     * @syscap SystemCapability.Notification.CommonEvent
2724     * @since 20
2725     * @arkts 1.1&1.2
2726     */
2727    COMMON_EVENT_KIOSK_MODE_OFF = 'usual.event.KIOSK_MODE_OFF',
2728
2729    /**
2730     * This common event means that the config policy of customazation subsystem has been updated.
2731     * This is a protected common event that can only be sent by system.
2732     * @syscap SystemCapability.Notification.CommonEvent
2733     * @systemapi
2734     * @since 20
2735     * @arkts 1.1&1.2
2736     */
2737    COMMON_EVENT_CUSTOM_CONFIG_POLICY_UPDATED = 'usual.event.CUSTOM_CONFIG_POLICY_UPDATED',
2738
2739    /**
2740     * This common event means that the custom roaming region of device has been updated.
2741     * This is a protected common event that can only be sent by system.
2742     * @syscap SystemCapability.Notification.CommonEvent
2743     * @systemapi
2744     * @since 20
2745     * @arkts 1.1&1.2
2746     */
2747    COMMON_EVENT_CUSTOM_ROAMING_REGION_UPDATED = 'usual.event.CUSTOM_ROAMING_REGION_UPDATED',
2748
2749    /**
2750     * This common event means that screen capture.
2751     * This is a protected common event that can only be sent by system.
2752     * @syscap SystemCapability.Notification.CommonEvent
2753     * @systemapi
2754     * @since 20
2755     * @arkts 1.1&1.2
2756     */
2757    COMMON_EVENT_SCREEN_SHARE = 'usual.event.SCREEN_SHARE',
2758  }
2759
2760  /**
2761   * Describes the data of the common event
2762   *
2763   * @syscap SystemCapability.Notification.CommonEvent
2764   * @since 10
2765   */
2766  /**
2767   * Describes the data of the common event
2768   *
2769   * @typedef { _CommonEventData } CommonEventData
2770   * @syscap SystemCapability.Notification.CommonEvent
2771   * @atomicservice
2772   * @since arkts {'1.1':'11', '1.2':'20'}
2773   * @arkts 1.1&1.2
2774   */
2775  export type CommonEventData = _CommonEventData;
2776
2777  /**
2778   * Describes the subscriber of common event
2779   *
2780   * @syscap SystemCapability.Notification.CommonEvent
2781   * @since 10
2782   */
2783  /**
2784   * Describes the subscriber of common event
2785   *
2786   * @typedef { _CommonEventSubscriber } CommonEventSubscriber
2787   * @syscap SystemCapability.Notification.CommonEvent
2788   * @atomicservice
2789   * @since arkts {'1.1':'11', '1.2':'20'}
2790   * @arkts 1.1&1.2
2791   */
2792  export type CommonEventSubscriber = _CommonEventSubscriber;
2793
2794  /**
2795   * Describes the information of the subscriber
2796   *
2797   * @syscap SystemCapability.Notification.CommonEvent
2798   * @since 10
2799   */
2800  /**
2801   * Describes the information of the subscriber
2802   *
2803   * @typedef { _CommonEventSubscribeInfo } CommonEventSubscribeInfo
2804   * @syscap SystemCapability.Notification.CommonEvent
2805   * @atomicservice
2806   * @since arkts {'1.1':'11', '1.2':'20'}
2807   * @arkts 1.1&1.2
2808   */
2809  export type CommonEventSubscribeInfo = _CommonEventSubscribeInfo;
2810
2811  /**
2812   * Describes the information of the subscriber
2813   *
2814   * @syscap SystemCapability.Notification.CommonEvent
2815   * @since 10
2816   */
2817  /**
2818   * Describes the information of the subscriber
2819   *
2820   * @syscap SystemCapability.Notification.CommonEvent
2821   * @atomicservice
2822   * @since arkts {'1.1':'11', '1.2':'20'}
2823   * @arkts 1.1&1.2
2824   */
2825  /**
2826   * Describes the information of the subscriber
2827   *
2828   * @typedef { _CommonEventPublishData } CommonEventPublishData
2829   * @syscap SystemCapability.Notification.CommonEvent
2830   * @crossplatform
2831   * @atomicservice
2832   * @since arkts {'1.1':'12', '1.2':'20'}
2833   * @arkts 1.1&1.2
2834   */
2835  export type CommonEventPublishData = _CommonEventPublishData;
2836}
2837
2838export default commonEventManager;
2839