161847f8eSopenharmony_ci/* 261847f8eSopenharmony_ci * Copyright (c) 2021-2023 Huawei Device Co., Ltd. 361847f8eSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 461847f8eSopenharmony_ci * you may not use this file except in compliance with the License. 561847f8eSopenharmony_ci * You may obtain a copy of the License at 661847f8eSopenharmony_ci * 761847f8eSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 861847f8eSopenharmony_ci * 961847f8eSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 1061847f8eSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 1161847f8eSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1261847f8eSopenharmony_ci * See the License for the specific language governing permissions and 1361847f8eSopenharmony_ci * limitations under the License. 1461847f8eSopenharmony_ci */ 1561847f8eSopenharmony_ci 1661847f8eSopenharmony_ciimport { AsyncCallback } from './@ohos.base'; 1761847f8eSopenharmony_ciimport { CommonEventData } from './commonEvent/commonEventData'; 1861847f8eSopenharmony_ciimport { CommonEventSubscriber } from './commonEvent/commonEventSubscriber'; 1961847f8eSopenharmony_ciimport { CommonEventSubscribeInfo } from './commonEvent/commonEventSubscribeInfo'; 2061847f8eSopenharmony_ciimport { CommonEventPublishData } from './commonEvent/commonEventPublishData'; 2161847f8eSopenharmony_ci 2261847f8eSopenharmony_ci/** 2361847f8eSopenharmony_ci * Common event definition 2461847f8eSopenharmony_ci * 2561847f8eSopenharmony_ci * @namespace commonEvent 2661847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 2761847f8eSopenharmony_ci * @since 7 2861847f8eSopenharmony_ci * @deprecated since 9 2961847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager 3061847f8eSopenharmony_ci */ 3161847f8eSopenharmony_cideclare namespace commonEvent { 3261847f8eSopenharmony_ci /** 3361847f8eSopenharmony_ci * Publishes an ordered, sticky, or standard common event. 3461847f8eSopenharmony_ci * 3561847f8eSopenharmony_ci * @param { string } event - name of the common event. 3661847f8eSopenharmony_ci * @param { AsyncCallback<void> } callback - Specified callback method. 3761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 3861847f8eSopenharmony_ci * @since 7 3961847f8eSopenharmony_ci * @deprecated since 9 4061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager#publish 4161847f8eSopenharmony_ci */ 4261847f8eSopenharmony_ci function publish(event: string, callback: AsyncCallback<void>): void; 4361847f8eSopenharmony_ci 4461847f8eSopenharmony_ci /** 4561847f8eSopenharmony_ci * Publishes an ordered, sticky, or standard common event. 4661847f8eSopenharmony_ci * 4761847f8eSopenharmony_ci * @param { string } event - name of the common event. 4861847f8eSopenharmony_ci * @param { CommonEventPublishData } options - Indicate the CommonEventPublishData containing the common event content 4961847f8eSopenharmony_ci * and attributes. 5061847f8eSopenharmony_ci * @param { AsyncCallback<void> } callback - Specified callback method. 5161847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 5261847f8eSopenharmony_ci * @since 7 5361847f8eSopenharmony_ci * @deprecated since 9 5461847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager#publish 5561847f8eSopenharmony_ci */ 5661847f8eSopenharmony_ci function publish(event: string, options: CommonEventPublishData, callback: AsyncCallback<void>): void; 5761847f8eSopenharmony_ci 5861847f8eSopenharmony_ci /** 5961847f8eSopenharmony_ci * Publishes an ordered, sticky, or standard common event to a specified user. 6061847f8eSopenharmony_ci * 6161847f8eSopenharmony_ci * @param { string } event - Specified the names of the common events. 6261847f8eSopenharmony_ci * @param { number } userId - Specified the user to receive the common events. 6361847f8eSopenharmony_ci * @param { AsyncCallback<void> } callback - Specified callback method. 6461847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 6561847f8eSopenharmony_ci * @systemapi 6661847f8eSopenharmony_ci * @since 8 6761847f8eSopenharmony_ci * @deprecated since 9 6861847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager#publishAsUser 6961847f8eSopenharmony_ci */ 7061847f8eSopenharmony_ci function publishAsUser(event: string, userId: number, callback: AsyncCallback<void>): void; 7161847f8eSopenharmony_ci 7261847f8eSopenharmony_ci /** 7361847f8eSopenharmony_ci * Publishes an ordered, sticky, or standard common event to a specified user. 7461847f8eSopenharmony_ci * 7561847f8eSopenharmony_ci * @param { string } event - Specified the names of the common events. 7661847f8eSopenharmony_ci * @param { number } userId - Specified the user to receive the common events. 7761847f8eSopenharmony_ci * @param { CommonEventPublishData } options - Indicates the CommonEventPublishData containing the common event content 7861847f8eSopenharmony_ci * and attributes. 7961847f8eSopenharmony_ci * @param { AsyncCallback<void> } callback - Specified callback method. 8061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 8161847f8eSopenharmony_ci * @systemapi 8261847f8eSopenharmony_ci * @since 8 8361847f8eSopenharmony_ci * @deprecated since 9 8461847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager#publishAsUser 8561847f8eSopenharmony_ci */ 8661847f8eSopenharmony_ci function publishAsUser( 8761847f8eSopenharmony_ci event: string, 8861847f8eSopenharmony_ci userId: number, 8961847f8eSopenharmony_ci options: CommonEventPublishData, 9061847f8eSopenharmony_ci callback: AsyncCallback<void> 9161847f8eSopenharmony_ci ): void; 9261847f8eSopenharmony_ci 9361847f8eSopenharmony_ci /** 9461847f8eSopenharmony_ci * creates a CommonEventSubscriber for the SubscriberInfo. 9561847f8eSopenharmony_ci * 9661847f8eSopenharmony_ci * @param { CommonEventSubscribeInfo } subscribeInfo - Indicates the information of the subscriber. 9761847f8eSopenharmony_ci * @param { AsyncCallback<CommonEventSubscriber> } callback - Specified callback method. 9861847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 9961847f8eSopenharmony_ci * @since 7 10061847f8eSopenharmony_ci * @deprecated since 9 10161847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager#createSubscriber 10261847f8eSopenharmony_ci */ 10361847f8eSopenharmony_ci function createSubscriber( 10461847f8eSopenharmony_ci subscribeInfo: CommonEventSubscribeInfo, 10561847f8eSopenharmony_ci callback: AsyncCallback<CommonEventSubscriber> 10661847f8eSopenharmony_ci ): void; 10761847f8eSopenharmony_ci 10861847f8eSopenharmony_ci /** 10961847f8eSopenharmony_ci * create the CommonEventSubscriber for the SubscriberInfo. 11061847f8eSopenharmony_ci * 11161847f8eSopenharmony_ci * @param { CommonEventSubscribeInfo } subscribeInfo - Indicates the information of the subscriber. 11261847f8eSopenharmony_ci * @returns { Promise<CommonEventSubscriber> } Returns common event subscriber object 11361847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 11461847f8eSopenharmony_ci * @since 7 11561847f8eSopenharmony_ci * @deprecated since 9 11661847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager#createSubscriber 11761847f8eSopenharmony_ci */ 11861847f8eSopenharmony_ci function createSubscriber(subscribeInfo: CommonEventSubscribeInfo): Promise<CommonEventSubscriber>; 11961847f8eSopenharmony_ci 12061847f8eSopenharmony_ci /** 12161847f8eSopenharmony_ci * subscribe an ordered, sticky, or standard common event. 12261847f8eSopenharmony_ci * 12361847f8eSopenharmony_ci * @param { CommonEventSubscriber } subscriber - Indicate the subscriber of the common event. 12461847f8eSopenharmony_ci * @param { AsyncCallback<CommonEventData> } callback - Specified callback method. 12561847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 12661847f8eSopenharmony_ci * @since 7 12761847f8eSopenharmony_ci * @deprecated since 9 12861847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager#subscribe 12961847f8eSopenharmony_ci */ 13061847f8eSopenharmony_ci function subscribe(subscriber: CommonEventSubscriber, callback: AsyncCallback<CommonEventData>): void; 13161847f8eSopenharmony_ci 13261847f8eSopenharmony_ci /** 13361847f8eSopenharmony_ci * unsubscribe from an ordered, sticky, or standard common event. 13461847f8eSopenharmony_ci * 13561847f8eSopenharmony_ci * @param { CommonEventSubscriber } subscriber - Indicate the subscriber of the common event. 13661847f8eSopenharmony_ci * @param { AsyncCallback<void> } [callback] - Specified callback method. 13761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 13861847f8eSopenharmony_ci * @since 7 13961847f8eSopenharmony_ci * @deprecated since 9 14061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager#unsubscribe 14161847f8eSopenharmony_ci */ 14261847f8eSopenharmony_ci function unsubscribe(subscriber: CommonEventSubscriber, callback?: AsyncCallback<void>): void; 14361847f8eSopenharmony_ci 14461847f8eSopenharmony_ci /** 14561847f8eSopenharmony_ci * the event type that the commonEvent supported 14661847f8eSopenharmony_ci * 14761847f8eSopenharmony_ci * @enum { string } 14861847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 14961847f8eSopenharmony_ci * @since 7 15061847f8eSopenharmony_ci * @deprecated since 9 15161847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager#Support 15261847f8eSopenharmony_ci */ 15361847f8eSopenharmony_ci export enum Support { 15461847f8eSopenharmony_ci /** 15561847f8eSopenharmony_ci * This commonEvent means when the device is booted or system upgrade completed, and only be sent by system. 15661847f8eSopenharmony_ci * 15761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 15861847f8eSopenharmony_ci * @since 7 15961847f8eSopenharmony_ci * @deprecated since 9 16061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BOOT_COMPLETED 16161847f8eSopenharmony_ci */ 16261847f8eSopenharmony_ci COMMON_EVENT_BOOT_COMPLETED = 'usual.event.BOOT_COMPLETED', 16361847f8eSopenharmony_ci 16461847f8eSopenharmony_ci /** 16561847f8eSopenharmony_ci * This commonEvent means when the device finnish booting, but still in the locked state. 16661847f8eSopenharmony_ci * 16761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 16861847f8eSopenharmony_ci * @since 7 16961847f8eSopenharmony_ci * @deprecated since 9 17061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_LOCKED_BOOT_COMPLETED 17161847f8eSopenharmony_ci */ 17261847f8eSopenharmony_ci COMMON_EVENT_LOCKED_BOOT_COMPLETED = 'usual.event.LOCKED_BOOT_COMPLETED', 17361847f8eSopenharmony_ci 17461847f8eSopenharmony_ci /** 17561847f8eSopenharmony_ci * This commonEvent means when the device is shutting down, note: turn off, not sleeping. 17661847f8eSopenharmony_ci * 17761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 17861847f8eSopenharmony_ci * @since 7 17961847f8eSopenharmony_ci * @deprecated since 9 18061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_SHUTDOWN 18161847f8eSopenharmony_ci */ 18261847f8eSopenharmony_ci COMMON_EVENT_SHUTDOWN = 'usual.event.SHUTDOWN', 18361847f8eSopenharmony_ci 18461847f8eSopenharmony_ci /** 18561847f8eSopenharmony_ci * This commonEvent means when the charging state, level and so on about the battery. 18661847f8eSopenharmony_ci * 18761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 18861847f8eSopenharmony_ci * @since 7 18961847f8eSopenharmony_ci * @deprecated since 9 19061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BATTERY_CHANGED 19161847f8eSopenharmony_ci */ 19261847f8eSopenharmony_ci COMMON_EVENT_BATTERY_CHANGED = 'usual.event.BATTERY_CHANGED', 19361847f8eSopenharmony_ci 19461847f8eSopenharmony_ci /** 19561847f8eSopenharmony_ci * This commonEvent means when the device in low battery state.. 19661847f8eSopenharmony_ci * 19761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 19861847f8eSopenharmony_ci * @since 7 19961847f8eSopenharmony_ci * @deprecated since 9 20061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BATTERY_LOW 20161847f8eSopenharmony_ci */ 20261847f8eSopenharmony_ci COMMON_EVENT_BATTERY_LOW = 'usual.event.BATTERY_LOW', 20361847f8eSopenharmony_ci 20461847f8eSopenharmony_ci /** 20561847f8eSopenharmony_ci * This commonEvent means when the battery level is an ok state. 20661847f8eSopenharmony_ci * 20761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 20861847f8eSopenharmony_ci * @since 7 20961847f8eSopenharmony_ci * @deprecated since 9 21061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BATTERY_OKAY 21161847f8eSopenharmony_ci */ 21261847f8eSopenharmony_ci COMMON_EVENT_BATTERY_OKAY = 'usual.event.BATTERY_OKAY', 21361847f8eSopenharmony_ci 21461847f8eSopenharmony_ci /** 21561847f8eSopenharmony_ci * This commonEvent means when the other power is connected to the device. 21661847f8eSopenharmony_ci * 21761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 21861847f8eSopenharmony_ci * @since 7 21961847f8eSopenharmony_ci * @deprecated since 9 22061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_POWER_CONNECTED 22161847f8eSopenharmony_ci */ 22261847f8eSopenharmony_ci COMMON_EVENT_POWER_CONNECTED = 'usual.event.POWER_CONNECTED', 22361847f8eSopenharmony_ci 22461847f8eSopenharmony_ci /** 22561847f8eSopenharmony_ci * This commonEvent means when the other power is removed from the device. 22661847f8eSopenharmony_ci * 22761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 22861847f8eSopenharmony_ci * @since 7 22961847f8eSopenharmony_ci * @deprecated since 9 23061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_POWER_DISCONNECTED 23161847f8eSopenharmony_ci */ 23261847f8eSopenharmony_ci COMMON_EVENT_POWER_DISCONNECTED = 'usual.event.POWER_DISCONNECTED', 23361847f8eSopenharmony_ci 23461847f8eSopenharmony_ci /** 23561847f8eSopenharmony_ci * This commonEvent means when the screen is turned off. 23661847f8eSopenharmony_ci * 23761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 23861847f8eSopenharmony_ci * @since 7 23961847f8eSopenharmony_ci * @deprecated since 9 24061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_SCREEN_OFF 24161847f8eSopenharmony_ci */ 24261847f8eSopenharmony_ci COMMON_EVENT_SCREEN_OFF = 'usual.event.SCREEN_OFF', 24361847f8eSopenharmony_ci 24461847f8eSopenharmony_ci /** 24561847f8eSopenharmony_ci * This commonEvent means when the device is awakened and interactive. 24661847f8eSopenharmony_ci * 24761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 24861847f8eSopenharmony_ci * @since 7 24961847f8eSopenharmony_ci * @deprecated since 9 25061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_SCREEN_ON 25161847f8eSopenharmony_ci */ 25261847f8eSopenharmony_ci COMMON_EVENT_SCREEN_ON = 'usual.event.SCREEN_ON', 25361847f8eSopenharmony_ci 25461847f8eSopenharmony_ci /** 25561847f8eSopenharmony_ci * This commonEvent means when the thermal state level change 25661847f8eSopenharmony_ci * 25761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 25861847f8eSopenharmony_ci * @since 8 25961847f8eSopenharmony_ci * @deprecated since 9 26061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_THERMAL_LEVEL_CHANGED 26161847f8eSopenharmony_ci */ 26261847f8eSopenharmony_ci COMMON_EVENT_THERMAL_LEVEL_CHANGED = 'usual.event.THERMAL_LEVEL_CHANGED', 26361847f8eSopenharmony_ci 26461847f8eSopenharmony_ci /** 26561847f8eSopenharmony_ci * This commonEvent means when the user is present after the device is awakened. 26661847f8eSopenharmony_ci * 26761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 26861847f8eSopenharmony_ci * @since 7 26961847f8eSopenharmony_ci * @deprecated since 9 27061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_PRESENT 27161847f8eSopenharmony_ci */ 27261847f8eSopenharmony_ci COMMON_EVENT_USER_PRESENT = 'usual.event.USER_PRESENT', 27361847f8eSopenharmony_ci 27461847f8eSopenharmony_ci /** 27561847f8eSopenharmony_ci * This commonEvent means when the current time is changed. 27661847f8eSopenharmony_ci * 27761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 27861847f8eSopenharmony_ci * @since 7 27961847f8eSopenharmony_ci * @deprecated since 9 28061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_TIME_TICK 28161847f8eSopenharmony_ci */ 28261847f8eSopenharmony_ci COMMON_EVENT_TIME_TICK = 'usual.event.TIME_TICK', 28361847f8eSopenharmony_ci 28461847f8eSopenharmony_ci /** 28561847f8eSopenharmony_ci * This commonEvent means when the time is set. 28661847f8eSopenharmony_ci * 28761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 28861847f8eSopenharmony_ci * @since 7 28961847f8eSopenharmony_ci * @deprecated since 9 29061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_TIME_CHANGED 29161847f8eSopenharmony_ci */ 29261847f8eSopenharmony_ci COMMON_EVENT_TIME_CHANGED = 'usual.event.TIME_CHANGED', 29361847f8eSopenharmony_ci 29461847f8eSopenharmony_ci /** 29561847f8eSopenharmony_ci * This commonEvent means when the current date is changed. 29661847f8eSopenharmony_ci * 29761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 29861847f8eSopenharmony_ci * @since 7 29961847f8eSopenharmony_ci * @deprecated since 9 30061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DATE_CHANGED 30161847f8eSopenharmony_ci */ 30261847f8eSopenharmony_ci COMMON_EVENT_DATE_CHANGED = 'usual.event.DATE_CHANGED', 30361847f8eSopenharmony_ci 30461847f8eSopenharmony_ci /** 30561847f8eSopenharmony_ci * This commonEvent means when the time zone is changed. 30661847f8eSopenharmony_ci * 30761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 30861847f8eSopenharmony_ci * @since 7 30961847f8eSopenharmony_ci * @deprecated since 9 31061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_TIMEZONE_CHANGED 31161847f8eSopenharmony_ci */ 31261847f8eSopenharmony_ci COMMON_EVENT_TIMEZONE_CHANGED = 'usual.event.TIMEZONE_CHANGED', 31361847f8eSopenharmony_ci 31461847f8eSopenharmony_ci /** 31561847f8eSopenharmony_ci * This commonEvent means when the dialog to dismiss. 31661847f8eSopenharmony_ci * 31761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 31861847f8eSopenharmony_ci * @since 7 31961847f8eSopenharmony_ci * @deprecated since 9 32061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_CLOSE_SYSTEM_DIALOGS 32161847f8eSopenharmony_ci */ 32261847f8eSopenharmony_ci COMMON_EVENT_CLOSE_SYSTEM_DIALOGS = 'usual.event.CLOSE_SYSTEM_DIALOGS', 32361847f8eSopenharmony_ci 32461847f8eSopenharmony_ci /** 32561847f8eSopenharmony_ci * This commonEvent means when a new application package is installed on the device. 32661847f8eSopenharmony_ci * 32761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 32861847f8eSopenharmony_ci * @since 7 32961847f8eSopenharmony_ci * @deprecated since 9 33061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_ADDED 33161847f8eSopenharmony_ci */ 33261847f8eSopenharmony_ci COMMON_EVENT_PACKAGE_ADDED = 'usual.event.PACKAGE_ADDED', 33361847f8eSopenharmony_ci 33461847f8eSopenharmony_ci /** 33561847f8eSopenharmony_ci * This commonEvent means when a new version application package is installed on the device and 33661847f8eSopenharmony_ci * replace the old version.the data contains the name of the package. 33761847f8eSopenharmony_ci * 33861847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 33961847f8eSopenharmony_ci * @since 7 34061847f8eSopenharmony_ci * @deprecated since 9 34161847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_REPLACED 34261847f8eSopenharmony_ci */ 34361847f8eSopenharmony_ci COMMON_EVENT_PACKAGE_REPLACED = 'usual.event.PACKAGE_REPLACED', 34461847f8eSopenharmony_ci 34561847f8eSopenharmony_ci /** 34661847f8eSopenharmony_ci * This commonEvent means when a new version application package is installed on the device and 34761847f8eSopenharmony_ci * replace the old version, it does not contain additional data and only be sent to the replaced application. 34861847f8eSopenharmony_ci * 34961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 35061847f8eSopenharmony_ci * @since 7 35161847f8eSopenharmony_ci * @deprecated since 9 35261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_MY_PACKAGE_REPLACED 35361847f8eSopenharmony_ci */ 35461847f8eSopenharmony_ci COMMON_EVENT_MY_PACKAGE_REPLACED = 'usual.event.MY_PACKAGE_REPLACED', 35561847f8eSopenharmony_ci 35661847f8eSopenharmony_ci /** 35761847f8eSopenharmony_ci * This commonEvent means when an existing application package is removed from the device. 35861847f8eSopenharmony_ci * 35961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 36061847f8eSopenharmony_ci * @since 7 36161847f8eSopenharmony_ci * @deprecated since 9 36261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_REMOVED 36361847f8eSopenharmony_ci */ 36461847f8eSopenharmony_ci COMMON_EVENT_PACKAGE_REMOVED = 'usual.event.PACKAGE_REMOVED', 36561847f8eSopenharmony_ci 36661847f8eSopenharmony_ci /** 36761847f8eSopenharmony_ci * This commonEvent means when an existing application package is removed from the device. 36861847f8eSopenharmony_ci * 36961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 37061847f8eSopenharmony_ci * @since 7 37161847f8eSopenharmony_ci * @deprecated since 9 37261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BUNDLE_REMOVED 37361847f8eSopenharmony_ci */ 37461847f8eSopenharmony_ci COMMON_EVENT_BUNDLE_REMOVED = 'usual.event.BUNDLE_REMOVED', 37561847f8eSopenharmony_ci 37661847f8eSopenharmony_ci /** 37761847f8eSopenharmony_ci * This commonEvent means when an existing application package is completely removed from the device. 37861847f8eSopenharmony_ci * 37961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 38061847f8eSopenharmony_ci * @since 7 38161847f8eSopenharmony_ci * @deprecated since 9 38261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_FULLY_REMOVED 38361847f8eSopenharmony_ci */ 38461847f8eSopenharmony_ci COMMON_EVENT_PACKAGE_FULLY_REMOVED = 'usual.event.PACKAGE_FULLY_REMOVED', 38561847f8eSopenharmony_ci 38661847f8eSopenharmony_ci /** 38761847f8eSopenharmony_ci * This commonEvent means when an existing application package has been changed. 38861847f8eSopenharmony_ci * 38961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 39061847f8eSopenharmony_ci * @since 7 39161847f8eSopenharmony_ci * @deprecated since 9 39261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_CHANGED 39361847f8eSopenharmony_ci */ 39461847f8eSopenharmony_ci COMMON_EVENT_PACKAGE_CHANGED = 'usual.event.PACKAGE_CHANGED', 39561847f8eSopenharmony_ci 39661847f8eSopenharmony_ci /** 39761847f8eSopenharmony_ci * This commonEvent means the user has restarted a package, and all of its processes have been killed. 39861847f8eSopenharmony_ci * 39961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 40061847f8eSopenharmony_ci * @since 7 40161847f8eSopenharmony_ci * @deprecated since 9 40261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_RESTARTED 40361847f8eSopenharmony_ci */ 40461847f8eSopenharmony_ci COMMON_EVENT_PACKAGE_RESTARTED = 'usual.event.PACKAGE_RESTARTED', 40561847f8eSopenharmony_ci 40661847f8eSopenharmony_ci /** 40761847f8eSopenharmony_ci * This commonEvent means the user has cleared the package data. 40861847f8eSopenharmony_ci * 40961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 41061847f8eSopenharmony_ci * @since 7 41161847f8eSopenharmony_ci * @deprecated since 9 41261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_DATA_CLEARED 41361847f8eSopenharmony_ci */ 41461847f8eSopenharmony_ci COMMON_EVENT_PACKAGE_DATA_CLEARED = 'usual.event.PACKAGE_DATA_CLEARED', 41561847f8eSopenharmony_ci 41661847f8eSopenharmony_ci /** 41761847f8eSopenharmony_ci * This commonEvent means the packages have been suspended. 41861847f8eSopenharmony_ci * 41961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 42061847f8eSopenharmony_ci * @since 7 42161847f8eSopenharmony_ci * @deprecated since 9 42261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGES_SUSPENDED 42361847f8eSopenharmony_ci */ 42461847f8eSopenharmony_ci COMMON_EVENT_PACKAGES_SUSPENDED = 'usual.event.PACKAGES_SUSPENDED', 42561847f8eSopenharmony_ci 42661847f8eSopenharmony_ci /** 42761847f8eSopenharmony_ci * This commonEvent means the packages have been un-suspended. 42861847f8eSopenharmony_ci * 42961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 43061847f8eSopenharmony_ci * @since 7 43161847f8eSopenharmony_ci * @deprecated since 9 43261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGES_UNSUSPENDED 43361847f8eSopenharmony_ci */ 43461847f8eSopenharmony_ci COMMON_EVENT_PACKAGES_UNSUSPENDED = 'usual.event.PACKAGES_UNSUSPENDED', 43561847f8eSopenharmony_ci 43661847f8eSopenharmony_ci /** 43761847f8eSopenharmony_ci * This commonEvent Sent to a package that has been suspended by the system. 43861847f8eSopenharmony_ci * 43961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 44061847f8eSopenharmony_ci * @since 7 44161847f8eSopenharmony_ci * @deprecated since 9 44261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_MY_PACKAGE_SUSPENDED 44361847f8eSopenharmony_ci */ 44461847f8eSopenharmony_ci COMMON_EVENT_MY_PACKAGE_SUSPENDED = 'usual.event.MY_PACKAGE_SUSPENDED', 44561847f8eSopenharmony_ci 44661847f8eSopenharmony_ci /** 44761847f8eSopenharmony_ci * Sent to a package that has been un-suspended. 44861847f8eSopenharmony_ci * 44961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 45061847f8eSopenharmony_ci * @since 7 45161847f8eSopenharmony_ci * @deprecated since 9 45261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_MY_PACKAGE_UNSUSPENDED 45361847f8eSopenharmony_ci */ 45461847f8eSopenharmony_ci COMMON_EVENT_MY_PACKAGE_UNSUSPENDED = 'usual.event.MY_PACKAGE_UNSUSPENDED', 45561847f8eSopenharmony_ci 45661847f8eSopenharmony_ci /** 45761847f8eSopenharmony_ci * A user id has been removed from the system. 45861847f8eSopenharmony_ci * 45961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 46061847f8eSopenharmony_ci * @since 7 46161847f8eSopenharmony_ci * @deprecated since 9 46261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_UID_REMOVED 46361847f8eSopenharmony_ci */ 46461847f8eSopenharmony_ci COMMON_EVENT_UID_REMOVED = 'usual.event.UID_REMOVED', 46561847f8eSopenharmony_ci 46661847f8eSopenharmony_ci /** 46761847f8eSopenharmony_ci * The application is first launched after installed. 46861847f8eSopenharmony_ci * 46961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 47061847f8eSopenharmony_ci * @since 7 47161847f8eSopenharmony_ci * @deprecated since 9 47261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_FIRST_LAUNCH 47361847f8eSopenharmony_ci */ 47461847f8eSopenharmony_ci COMMON_EVENT_PACKAGE_FIRST_LAUNCH = 'usual.event.PACKAGE_FIRST_LAUNCH', 47561847f8eSopenharmony_ci 47661847f8eSopenharmony_ci /** 47761847f8eSopenharmony_ci * Sent by system package verifier when a package need to be verified. 47861847f8eSopenharmony_ci * 47961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 48061847f8eSopenharmony_ci * @since 7 48161847f8eSopenharmony_ci * @deprecated since 9 48261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION 48361847f8eSopenharmony_ci */ 48461847f8eSopenharmony_ci COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION = 'usual.event.PACKAGE_NEEDS_VERIFICATION', 48561847f8eSopenharmony_ci 48661847f8eSopenharmony_ci /** 48761847f8eSopenharmony_ci * Sent by system package verifier when a package is verified. 48861847f8eSopenharmony_ci * 48961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 49061847f8eSopenharmony_ci * @since 7 49161847f8eSopenharmony_ci * @deprecated since 9 49261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_PACKAGE_VERIFIED 49361847f8eSopenharmony_ci */ 49461847f8eSopenharmony_ci COMMON_EVENT_PACKAGE_VERIFIED = 'usual.event.PACKAGE_VERIFIED', 49561847f8eSopenharmony_ci 49661847f8eSopenharmony_ci /** 49761847f8eSopenharmony_ci * Resources for a set of packages (which were previously unavailable) are currently 49861847f8eSopenharmony_ci * available since the media on which they exist is available. 49961847f8eSopenharmony_ci * 50061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 50161847f8eSopenharmony_ci * @since 7 50261847f8eSopenharmony_ci * @deprecated since 9 50361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE 50461847f8eSopenharmony_ci */ 50561847f8eSopenharmony_ci COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE = 'usual.event.EXTERNAL_APPLICATIONS_AVAILABLE', 50661847f8eSopenharmony_ci 50761847f8eSopenharmony_ci /** 50861847f8eSopenharmony_ci * Resources for a set of packages are currently unavailable since the media on which they exist is unavailable. 50961847f8eSopenharmony_ci * 51061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 51161847f8eSopenharmony_ci * @since 7 51261847f8eSopenharmony_ci * @deprecated since 9 51361847f8eSopenharmony_ci * @useinstead ohos.commonEventManage/commonEventManager.Support#COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE 51461847f8eSopenharmony_ci */ 51561847f8eSopenharmony_ci COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE = 'usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE', 51661847f8eSopenharmony_ci 51761847f8eSopenharmony_ci /** 51861847f8eSopenharmony_ci * The device configuration such as orientation,locale have been changed. 51961847f8eSopenharmony_ci * 52061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 52161847f8eSopenharmony_ci * @since 7 52261847f8eSopenharmony_ci * @deprecated since 9 52361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_CONFIGURATION_CHANGED 52461847f8eSopenharmony_ci */ 52561847f8eSopenharmony_ci COMMON_EVENT_CONFIGURATION_CHANGED = 'usual.event.CONFIGURATION_CHANGED', 52661847f8eSopenharmony_ci 52761847f8eSopenharmony_ci /** 52861847f8eSopenharmony_ci * The current device's locale has changed. 52961847f8eSopenharmony_ci * 53061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 53161847f8eSopenharmony_ci * @since 7 53261847f8eSopenharmony_ci * @deprecated since 9 53361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_LOCALE_CHANGED 53461847f8eSopenharmony_ci */ 53561847f8eSopenharmony_ci COMMON_EVENT_LOCALE_CHANGED = 'usual.event.LOCALE_CHANGED', 53661847f8eSopenharmony_ci 53761847f8eSopenharmony_ci /** 53861847f8eSopenharmony_ci * Indicates low memory condition notification acknowledged by user and package management should be started. 53961847f8eSopenharmony_ci * 54061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 54161847f8eSopenharmony_ci * @since 7 54261847f8eSopenharmony_ci * @deprecated since 9 54361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_MANAGE_PACKAGE_STORAGE 54461847f8eSopenharmony_ci */ 54561847f8eSopenharmony_ci COMMON_EVENT_MANAGE_PACKAGE_STORAGE = 'usual.event.MANAGE_PACKAGE_STORAGE', 54661847f8eSopenharmony_ci 54761847f8eSopenharmony_ci /** 54861847f8eSopenharmony_ci * Sent by the smart function when the system in drive mode. 54961847f8eSopenharmony_ci * 55061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 55161847f8eSopenharmony_ci * @since 7 55261847f8eSopenharmony_ci * @deprecated since 9 55361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DRIVE_MODE 55461847f8eSopenharmony_ci */ 55561847f8eSopenharmony_ci COMMON_EVENT_DRIVE_MODE = 'common.event.DRIVE_MODE', 55661847f8eSopenharmony_ci 55761847f8eSopenharmony_ci /** 55861847f8eSopenharmony_ci * Sent by the smart function when the system in home mode. 55961847f8eSopenharmony_ci * 56061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 56161847f8eSopenharmony_ci * @since 7 56261847f8eSopenharmony_ci * @deprecated since 9 56361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_HOME_MODE 56461847f8eSopenharmony_ci */ 56561847f8eSopenharmony_ci COMMON_EVENT_HOME_MODE = 'common.event.HOME_MODE', 56661847f8eSopenharmony_ci 56761847f8eSopenharmony_ci /** 56861847f8eSopenharmony_ci * Sent by the smart function when the system in office mode. 56961847f8eSopenharmony_ci * 57061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 57161847f8eSopenharmony_ci * @since 7 57261847f8eSopenharmony_ci * @deprecated since 9 57361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_OFFICE_MODE 57461847f8eSopenharmony_ci */ 57561847f8eSopenharmony_ci COMMON_EVENT_OFFICE_MODE = 'common.event.OFFICE_MODE', 57661847f8eSopenharmony_ci 57761847f8eSopenharmony_ci /** 57861847f8eSopenharmony_ci * Remind new user of preparing to start. 57961847f8eSopenharmony_ci * 58061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 58161847f8eSopenharmony_ci * @since 7 58261847f8eSopenharmony_ci * @deprecated since 9 58361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_STARTED 58461847f8eSopenharmony_ci */ 58561847f8eSopenharmony_ci COMMON_EVENT_USER_STARTED = 'usual.event.USER_STARTED', 58661847f8eSopenharmony_ci 58761847f8eSopenharmony_ci /** 58861847f8eSopenharmony_ci * Remind previous user of that the service has been the background. 58961847f8eSopenharmony_ci * 59061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 59161847f8eSopenharmony_ci * @since 7 59261847f8eSopenharmony_ci * @deprecated since 9 59361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_BACKGROUND 59461847f8eSopenharmony_ci */ 59561847f8eSopenharmony_ci COMMON_EVENT_USER_BACKGROUND = 'usual.event.USER_BACKGROUND', 59661847f8eSopenharmony_ci 59761847f8eSopenharmony_ci /** 59861847f8eSopenharmony_ci * Remind new user of that the service has been the foreground. 59961847f8eSopenharmony_ci * 60061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 60161847f8eSopenharmony_ci * @since 7 60261847f8eSopenharmony_ci * @deprecated since 9 60361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_FOREGROUND 60461847f8eSopenharmony_ci */ 60561847f8eSopenharmony_ci COMMON_EVENT_USER_FOREGROUND = 'usual.event.USER_FOREGROUND', 60661847f8eSopenharmony_ci 60761847f8eSopenharmony_ci /** 60861847f8eSopenharmony_ci * Remind new user of that the service has been switched to new user. 60961847f8eSopenharmony_ci * 61061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 61161847f8eSopenharmony_ci * @since 7 61261847f8eSopenharmony_ci * @deprecated since 9 61361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_SWITCHED 61461847f8eSopenharmony_ci */ 61561847f8eSopenharmony_ci COMMON_EVENT_USER_SWITCHED = 'usual.event.USER_SWITCHED', 61661847f8eSopenharmony_ci 61761847f8eSopenharmony_ci /** 61861847f8eSopenharmony_ci * Remind new user of that the service has been starting. 61961847f8eSopenharmony_ci * 62061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 62161847f8eSopenharmony_ci * @since 7 62261847f8eSopenharmony_ci * @deprecated since 9 62361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_STARTING 62461847f8eSopenharmony_ci */ 62561847f8eSopenharmony_ci COMMON_EVENT_USER_STARTING = 'usual.event.USER_STARTING', 62661847f8eSopenharmony_ci 62761847f8eSopenharmony_ci /** 62861847f8eSopenharmony_ci * Remind new user of that the service has been unlocked. 62961847f8eSopenharmony_ci * 63061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 63161847f8eSopenharmony_ci * @since 7 63261847f8eSopenharmony_ci * @deprecated since 9 63361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_UNLOCKED 63461847f8eSopenharmony_ci */ 63561847f8eSopenharmony_ci COMMON_EVENT_USER_UNLOCKED = 'usual.event.USER_UNLOCKED', 63661847f8eSopenharmony_ci 63761847f8eSopenharmony_ci /** 63861847f8eSopenharmony_ci * Remind new user of that the service has been stopping. 63961847f8eSopenharmony_ci * 64061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 64161847f8eSopenharmony_ci * @since 7 64261847f8eSopenharmony_ci * @deprecated since 9 64361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_STOPPING 64461847f8eSopenharmony_ci */ 64561847f8eSopenharmony_ci COMMON_EVENT_USER_STOPPING = 'usual.event.USER_STOPPING', 64661847f8eSopenharmony_ci 64761847f8eSopenharmony_ci /** 64861847f8eSopenharmony_ci * Remind new user of that the service has stopped. 64961847f8eSopenharmony_ci * 65061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 65161847f8eSopenharmony_ci * @since 7 65261847f8eSopenharmony_ci * @deprecated since 9 65361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_STOPPED 65461847f8eSopenharmony_ci */ 65561847f8eSopenharmony_ci COMMON_EVENT_USER_STOPPED = 'usual.event.USER_STOPPED', 65661847f8eSopenharmony_ci 65761847f8eSopenharmony_ci /** 65861847f8eSopenharmony_ci * HW id login successfully. 65961847f8eSopenharmony_ci * 66061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 66161847f8eSopenharmony_ci * @since 7 66261847f8eSopenharmony_ci * @deprecated since 9 66361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_HWID_LOGIN 66461847f8eSopenharmony_ci */ 66561847f8eSopenharmony_ci COMMON_EVENT_HWID_LOGIN = 'common.event.HWID_LOGIN', 66661847f8eSopenharmony_ci 66761847f8eSopenharmony_ci /** 66861847f8eSopenharmony_ci * HW id logout successfully. 66961847f8eSopenharmony_ci * 67061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 67161847f8eSopenharmony_ci * @since 7 67261847f8eSopenharmony_ci * @deprecated since 9 67361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_HWID_LOGOUT 67461847f8eSopenharmony_ci */ 67561847f8eSopenharmony_ci COMMON_EVENT_HWID_LOGOUT = 'common.event.HWID_LOGOUT', 67661847f8eSopenharmony_ci 67761847f8eSopenharmony_ci /** 67861847f8eSopenharmony_ci * HW id is invalid. 67961847f8eSopenharmony_ci * 68061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 68161847f8eSopenharmony_ci * @since 7 68261847f8eSopenharmony_ci * @deprecated since 9 68361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_HWID_TOKEN_INVALID 68461847f8eSopenharmony_ci */ 68561847f8eSopenharmony_ci COMMON_EVENT_HWID_TOKEN_INVALID = 'common.event.HWID_TOKEN_INVALID', 68661847f8eSopenharmony_ci 68761847f8eSopenharmony_ci /** 68861847f8eSopenharmony_ci * HW id logs off. 68961847f8eSopenharmony_ci * 69061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 69161847f8eSopenharmony_ci * @since 7 69261847f8eSopenharmony_ci * @deprecated since 9 69361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_HWID_LOGOFF 69461847f8eSopenharmony_ci */ 69561847f8eSopenharmony_ci COMMON_EVENT_HWID_LOGOFF = 'common.event.HWID_LOGOFF', 69661847f8eSopenharmony_ci 69761847f8eSopenharmony_ci /** 69861847f8eSopenharmony_ci * WIFI state. 69961847f8eSopenharmony_ci * 70061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 70161847f8eSopenharmony_ci * @since 7 70261847f8eSopenharmony_ci * @deprecated since 9 70361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_POWER_STATE 70461847f8eSopenharmony_ci */ 70561847f8eSopenharmony_ci COMMON_EVENT_WIFI_POWER_STATE = 'usual.event.wifi.POWER_STATE', 70661847f8eSopenharmony_ci 70761847f8eSopenharmony_ci /** 70861847f8eSopenharmony_ci * WIFI scan results. 70961847f8eSopenharmony_ci * 71061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 71161847f8eSopenharmony_ci * @since 7 71261847f8eSopenharmony_ci * @deprecated since 9 71361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_SCAN_FINISHED 71461847f8eSopenharmony_ci */ 71561847f8eSopenharmony_ci COMMON_EVENT_WIFI_SCAN_FINISHED = 'usual.event.wifi.SCAN_FINISHED', 71661847f8eSopenharmony_ci 71761847f8eSopenharmony_ci /** 71861847f8eSopenharmony_ci * WIFI RSSI change. 71961847f8eSopenharmony_ci * 72061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 72161847f8eSopenharmony_ci * @since 7 72261847f8eSopenharmony_ci * @deprecated since 9 72361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_RSSI_VALUE 72461847f8eSopenharmony_ci */ 72561847f8eSopenharmony_ci COMMON_EVENT_WIFI_RSSI_VALUE = 'usual.event.wifi.RSSI_VALUE', 72661847f8eSopenharmony_ci 72761847f8eSopenharmony_ci /** 72861847f8eSopenharmony_ci * WIFI connect state. 72961847f8eSopenharmony_ci * 73061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 73161847f8eSopenharmony_ci * @since 7 73261847f8eSopenharmony_ci * @deprecated since 9 73361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_CONN_STATE 73461847f8eSopenharmony_ci */ 73561847f8eSopenharmony_ci COMMON_EVENT_WIFI_CONN_STATE = 'usual.event.wifi.CONN_STATE', 73661847f8eSopenharmony_ci 73761847f8eSopenharmony_ci /** 73861847f8eSopenharmony_ci * WIFI hotspot state. 73961847f8eSopenharmony_ci * 74061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 74161847f8eSopenharmony_ci * @since 7 74261847f8eSopenharmony_ci * @deprecated since 9 74361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_HOTSPOT_STATE 74461847f8eSopenharmony_ci */ 74561847f8eSopenharmony_ci COMMON_EVENT_WIFI_HOTSPOT_STATE = 'usual.event.wifi.HOTSPOT_STATE', 74661847f8eSopenharmony_ci 74761847f8eSopenharmony_ci /** 74861847f8eSopenharmony_ci * WIFI ap sta join. 74961847f8eSopenharmony_ci * 75061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 75161847f8eSopenharmony_ci * @since 7 75261847f8eSopenharmony_ci * @deprecated since 9 75361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_AP_STA_JOIN 75461847f8eSopenharmony_ci */ 75561847f8eSopenharmony_ci COMMON_EVENT_WIFI_AP_STA_JOIN = 'usual.event.wifi.WIFI_HS_STA_JOIN', 75661847f8eSopenharmony_ci 75761847f8eSopenharmony_ci /** 75861847f8eSopenharmony_ci * WIFI ap sta join. 75961847f8eSopenharmony_ci * 76061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 76161847f8eSopenharmony_ci * @since 7 76261847f8eSopenharmony_ci * @deprecated since 9 76361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_AP_STA_LEAVE 76461847f8eSopenharmony_ci */ 76561847f8eSopenharmony_ci COMMON_EVENT_WIFI_AP_STA_LEAVE = 'usual.event.wifi.WIFI_HS_STA_LEAVE', 76661847f8eSopenharmony_ci 76761847f8eSopenharmony_ci /** 76861847f8eSopenharmony_ci * Indicates Wi-Fi MpLink state notification acknowledged by binding or unbinding MpLink. 76961847f8eSopenharmony_ci * 77061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 77161847f8eSopenharmony_ci * @since 7 77261847f8eSopenharmony_ci * @deprecated since 9 77361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE 77461847f8eSopenharmony_ci */ 77561847f8eSopenharmony_ci COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE = 'usual.event.wifi.mplink.STATE_CHANGE', 77661847f8eSopenharmony_ci 77761847f8eSopenharmony_ci /** 77861847f8eSopenharmony_ci * Indicates Wi-Fi P2P connection state notification acknowledged by connecting or disconnected P2P. 77961847f8eSopenharmony_ci * 78061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 78161847f8eSopenharmony_ci * @since 7 78261847f8eSopenharmony_ci * @deprecated since 9 78361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_P2P_CONN_STATE 78461847f8eSopenharmony_ci */ 78561847f8eSopenharmony_ci COMMON_EVENT_WIFI_P2P_CONN_STATE = 'usual.event.wifi.p2p.CONN_STATE_CHANGE', 78661847f8eSopenharmony_ci 78761847f8eSopenharmony_ci /** 78861847f8eSopenharmony_ci * Indicates that the Wi-Fi P2P state change. 78961847f8eSopenharmony_ci * 79061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 79161847f8eSopenharmony_ci * @since 7 79261847f8eSopenharmony_ci * @deprecated since 9 79361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_P2P_STATE_CHANGED 79461847f8eSopenharmony_ci */ 79561847f8eSopenharmony_ci COMMON_EVENT_WIFI_P2P_STATE_CHANGED = 'usual.event.wifi.p2p.STATE_CHANGE', 79661847f8eSopenharmony_ci 79761847f8eSopenharmony_ci /** 79861847f8eSopenharmony_ci * Indicates that the Wi-Fi P2P peers state change. 79961847f8eSopenharmony_ci * 80061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 80161847f8eSopenharmony_ci * @since 7 80261847f8eSopenharmony_ci * @deprecated since 9 80361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED 80461847f8eSopenharmony_ci */ 80561847f8eSopenharmony_ci COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED = 'usual.event.wifi.p2p.DEVICES_CHANGE', 80661847f8eSopenharmony_ci 80761847f8eSopenharmony_ci /** 80861847f8eSopenharmony_ci * Indicates that the Wi-Fi P2P discovery state change. 80961847f8eSopenharmony_ci * 81061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 81161847f8eSopenharmony_ci * @since 7 81261847f8eSopenharmony_ci * @deprecated since 9 81361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED 81461847f8eSopenharmony_ci */ 81561847f8eSopenharmony_ci COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED = 'usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE', 81661847f8eSopenharmony_ci 81761847f8eSopenharmony_ci /** 81861847f8eSopenharmony_ci * Indicates that the Wi-Fi P2P current device state change. 81961847f8eSopenharmony_ci * 82061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 82161847f8eSopenharmony_ci * @since 7 82261847f8eSopenharmony_ci * @deprecated since 9 82361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED 82461847f8eSopenharmony_ci */ 82561847f8eSopenharmony_ci COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED = 'usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE', 82661847f8eSopenharmony_ci 82761847f8eSopenharmony_ci /** 82861847f8eSopenharmony_ci * Indicates that the Wi-Fi P2P group info is changed. 82961847f8eSopenharmony_ci * 83061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 83161847f8eSopenharmony_ci * @since 7 83261847f8eSopenharmony_ci * @deprecated since 9 83361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED 83461847f8eSopenharmony_ci */ 83561847f8eSopenharmony_ci COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED = 'usual.event.wifi.p2p.GROUP_STATE_CHANGED', 83661847f8eSopenharmony_ci 83761847f8eSopenharmony_ci /** 83861847f8eSopenharmony_ci * bluetooth.handsfree.ag.connect.state.update. 83961847f8eSopenharmony_ci * 84061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 84161847f8eSopenharmony_ci * @since 7 84261847f8eSopenharmony_ci * @deprecated since 9 84361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE 84461847f8eSopenharmony_ci */ 84561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE', 84661847f8eSopenharmony_ci 84761847f8eSopenharmony_ci /** 84861847f8eSopenharmony_ci * bluetooth.handsfree.ag.current.device.update. 84961847f8eSopenharmony_ci * 85061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 85161847f8eSopenharmony_ci * @since 7 85261847f8eSopenharmony_ci * @deprecated since 9 85361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE 85461847f8eSopenharmony_ci */ 85561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE = 'usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE', 85661847f8eSopenharmony_ci 85761847f8eSopenharmony_ci /** 85861847f8eSopenharmony_ci * bluetooth.handsfree.ag.audio.state.update. 85961847f8eSopenharmony_ci * 86061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 86161847f8eSopenharmony_ci * @since 7 86261847f8eSopenharmony_ci * @deprecated since 9 86361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE 86461847f8eSopenharmony_ci */ 86561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE = 'usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE', 86661847f8eSopenharmony_ci 86761847f8eSopenharmony_ci /** 86861847f8eSopenharmony_ci * bluetooth.a2dpsource.connect.state.update. 86961847f8eSopenharmony_ci * 87061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 87161847f8eSopenharmony_ci * @since 7 87261847f8eSopenharmony_ci * @deprecated since 9 87361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE 87461847f8eSopenharmony_ci */ 87561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE', 87661847f8eSopenharmony_ci 87761847f8eSopenharmony_ci /** 87861847f8eSopenharmony_ci * bluetooth.a2dpsource.current.device.update. 87961847f8eSopenharmony_ci * 88061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 88161847f8eSopenharmony_ci * @since 7 88261847f8eSopenharmony_ci * @deprecated since 9 88361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE 88461847f8eSopenharmony_ci */ 88561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE = 'usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE', 88661847f8eSopenharmony_ci 88761847f8eSopenharmony_ci /** 88861847f8eSopenharmony_ci * bluetooth.a2dpsource.playing.state.update. 88961847f8eSopenharmony_ci * 89061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 89161847f8eSopenharmony_ci * @since 7 89261847f8eSopenharmony_ci * @deprecated since 9 89361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE 89461847f8eSopenharmony_ci */ 89561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE = 'usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE', 89661847f8eSopenharmony_ci 89761847f8eSopenharmony_ci /** 89861847f8eSopenharmony_ci * bluetooth.a2dpsource.avrcp.connect.state.update. 89961847f8eSopenharmony_ci * 90061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 90161847f8eSopenharmony_ci * @since 7 90261847f8eSopenharmony_ci * @deprecated since 9 90361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE 90461847f8eSopenharmony_ci */ 90561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE', 90661847f8eSopenharmony_ci 90761847f8eSopenharmony_ci /** 90861847f8eSopenharmony_ci * bluetooth.a2dpsource.codec.value.update. 90961847f8eSopenharmony_ci * 91061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 91161847f8eSopenharmony_ci * @since 7 91261847f8eSopenharmony_ci * @deprecated since 9 91361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE 91461847f8eSopenharmony_ci */ 91561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE = 'usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE', 91661847f8eSopenharmony_ci 91761847f8eSopenharmony_ci /** 91861847f8eSopenharmony_ci * bluetooth.remotedevice.discovered. 91961847f8eSopenharmony_ci * 92061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 92161847f8eSopenharmony_ci * @since 7 92261847f8eSopenharmony_ci * @deprecated since 9 92361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED 92461847f8eSopenharmony_ci */ 92561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED = 'usual.event.bluetooth.remotedevice.DISCOVERED', 92661847f8eSopenharmony_ci 92761847f8eSopenharmony_ci /** 92861847f8eSopenharmony_ci * bluetooth.remotedevice.class.value.update. 92961847f8eSopenharmony_ci * 93061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 93161847f8eSopenharmony_ci * @since 7 93261847f8eSopenharmony_ci * @deprecated since 9 93361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE 93461847f8eSopenharmony_ci */ 93561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE = 'usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE', 93661847f8eSopenharmony_ci 93761847f8eSopenharmony_ci /** 93861847f8eSopenharmony_ci * bluetooth.remotedevice.acl.connected. 93961847f8eSopenharmony_ci * 94061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 94161847f8eSopenharmony_ci * @since 7 94261847f8eSopenharmony_ci * @deprecated since 9 94361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED 94461847f8eSopenharmony_ci */ 94561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED = 'usual.event.bluetooth.remotedevice.ACL_CONNECTED', 94661847f8eSopenharmony_ci 94761847f8eSopenharmony_ci /** 94861847f8eSopenharmony_ci * bluetooth.remotedevice.acl.disconnected. 94961847f8eSopenharmony_ci * 95061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 95161847f8eSopenharmony_ci * @since 7 95261847f8eSopenharmony_ci * @deprecated since 9 95361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED 95461847f8eSopenharmony_ci */ 95561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED = 'usual.event.bluetooth.remotedevice.ACL_DISCONNECTED', 95661847f8eSopenharmony_ci 95761847f8eSopenharmony_ci /** 95861847f8eSopenharmony_ci * bluetooth.remotedevice.name.update. 95961847f8eSopenharmony_ci * 96061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 96161847f8eSopenharmony_ci * @since 7 96261847f8eSopenharmony_ci * @deprecated since 9 96361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE 96461847f8eSopenharmony_ci */ 96561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE = 'usual.event.bluetooth.remotedevice.NAME_UPDATE', 96661847f8eSopenharmony_ci 96761847f8eSopenharmony_ci /** 96861847f8eSopenharmony_ci * bluetooth.remotedevice.pair.state. 96961847f8eSopenharmony_ci * 97061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 97161847f8eSopenharmony_ci * @since 7 97261847f8eSopenharmony_ci * @deprecated since 9 97361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE 97461847f8eSopenharmony_ci */ 97561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE = 'usual.event.bluetooth.remotedevice.PAIR_STATE', 97661847f8eSopenharmony_ci 97761847f8eSopenharmony_ci /** 97861847f8eSopenharmony_ci * bluetooth.remotedevice.battery.value.update. 97961847f8eSopenharmony_ci * 98061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 98161847f8eSopenharmony_ci * @since 7 98261847f8eSopenharmony_ci * @deprecated since 9 98361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE 98461847f8eSopenharmony_ci */ 98561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE = 'usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE', 98661847f8eSopenharmony_ci 98761847f8eSopenharmony_ci /** 98861847f8eSopenharmony_ci * bluetooth.remotedevice.sdp.result. 98961847f8eSopenharmony_ci * 99061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 99161847f8eSopenharmony_ci * @since 7 99261847f8eSopenharmony_ci * @deprecated since 9 99361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT 99461847f8eSopenharmony_ci */ 99561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT = 'usual.event.bluetooth.remotedevice.SDP_RESULT', 99661847f8eSopenharmony_ci 99761847f8eSopenharmony_ci /** 99861847f8eSopenharmony_ci * bluetooth.remotedevice.uuid.value. 99961847f8eSopenharmony_ci * 100061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 100161847f8eSopenharmony_ci * @since 7 100261847f8eSopenharmony_ci * @deprecated since 9 100361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE 100461847f8eSopenharmony_ci */ 100561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE = 'usual.event.bluetooth.remotedevice.UUID_VALUE', 100661847f8eSopenharmony_ci 100761847f8eSopenharmony_ci /** 100861847f8eSopenharmony_ci * bluetooth.remotedevice.pairing.req. 100961847f8eSopenharmony_ci * 101061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 101161847f8eSopenharmony_ci * @since 7 101261847f8eSopenharmony_ci * @deprecated since 9 101361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ 101461847f8eSopenharmony_ci */ 101561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ = 'usual.event.bluetooth.remotedevice.PAIRING_REQ', 101661847f8eSopenharmony_ci 101761847f8eSopenharmony_ci /** 101861847f8eSopenharmony_ci * bluetooth.remotedevice.pairing.cancel. 101961847f8eSopenharmony_ci * 102061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 102161847f8eSopenharmony_ci * @since 7 102261847f8eSopenharmony_ci * @deprecated since 9 102361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL 102461847f8eSopenharmony_ci */ 102561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL = 'usual.event.bluetooth.remotedevice.PAIRING_CANCEL', 102661847f8eSopenharmony_ci 102761847f8eSopenharmony_ci /** 102861847f8eSopenharmony_ci * bluetooth.remotedevice.connect.req. 102961847f8eSopenharmony_ci * 103061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 103161847f8eSopenharmony_ci * @since 7 103261847f8eSopenharmony_ci * @deprecated since 9 103361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ 103461847f8eSopenharmony_ci */ 103561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ = 'usual.event.bluetooth.remotedevice.CONNECT_REQ', 103661847f8eSopenharmony_ci 103761847f8eSopenharmony_ci /** 103861847f8eSopenharmony_ci * bluetooth.remotedevice.connect.reply. 103961847f8eSopenharmony_ci * 104061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 104161847f8eSopenharmony_ci * @since 7 104261847f8eSopenharmony_ci * @deprecated since 9 104361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY 104461847f8eSopenharmony_ci */ 104561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY = 'usual.event.bluetooth.remotedevice.CONNECT_REPLY', 104661847f8eSopenharmony_ci 104761847f8eSopenharmony_ci /** 104861847f8eSopenharmony_ci * bluetooth.remotedevice.connect.cancel. 104961847f8eSopenharmony_ci * 105061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 105161847f8eSopenharmony_ci * @since 7 105261847f8eSopenharmony_ci * @deprecated since 9 105361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL 105461847f8eSopenharmony_ci */ 105561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL = 'usual.event.bluetooth.remotedevice.CONNECT_CANCEL', 105661847f8eSopenharmony_ci 105761847f8eSopenharmony_ci /** 105861847f8eSopenharmony_ci * bluetooth.handsfreeunit.connect.state.update. 105961847f8eSopenharmony_ci * 106061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 106161847f8eSopenharmony_ci * @since 7 106261847f8eSopenharmony_ci * @deprecated since 9 106361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE 106461847f8eSopenharmony_ci */ 106561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE', 106661847f8eSopenharmony_ci 106761847f8eSopenharmony_ci /** 106861847f8eSopenharmony_ci * bluetooth.handsfreeunit.audio.state.update. 106961847f8eSopenharmony_ci * 107061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 107161847f8eSopenharmony_ci * @since 7 107261847f8eSopenharmony_ci * @deprecated since 9 107361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE 107461847f8eSopenharmony_ci */ 107561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE = 'usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE', 107661847f8eSopenharmony_ci 107761847f8eSopenharmony_ci /** 107861847f8eSopenharmony_ci * bluetooth.handsfreeunit.ag.common.event. 107961847f8eSopenharmony_ci * 108061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 108161847f8eSopenharmony_ci * @since 7 108261847f8eSopenharmony_ci * @deprecated since 9 108361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT 108461847f8eSopenharmony_ci */ 108561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT = 'usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT', 108661847f8eSopenharmony_ci 108761847f8eSopenharmony_ci /** 108861847f8eSopenharmony_ci * bluetooth.handsfreeunit.ag.call.state.update. 108961847f8eSopenharmony_ci * 109061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 109161847f8eSopenharmony_ci * @since 7 109261847f8eSopenharmony_ci * @deprecated since 9 109361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE 109461847f8eSopenharmony_ci */ 109561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE = 'usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE', 109661847f8eSopenharmony_ci 109761847f8eSopenharmony_ci /** 109861847f8eSopenharmony_ci * bluetooth.host.state.update. 109961847f8eSopenharmony_ci * 110061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 110161847f8eSopenharmony_ci * @since 7 110261847f8eSopenharmony_ci * @deprecated since 9 110361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE 110461847f8eSopenharmony_ci */ 110561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE = 'usual.event.bluetooth.host.STATE_UPDATE', 110661847f8eSopenharmony_ci 110761847f8eSopenharmony_ci /** 110861847f8eSopenharmony_ci * bluetooth.host.req.discoverable. 110961847f8eSopenharmony_ci * 111061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 111161847f8eSopenharmony_ci * @since 7 111261847f8eSopenharmony_ci * @deprecated since 9 111361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE 111461847f8eSopenharmony_ci */ 111561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE = 'usual.event.bluetooth.host.REQ_DISCOVERABLE', 111661847f8eSopenharmony_ci 111761847f8eSopenharmony_ci /** 111861847f8eSopenharmony_ci * bluetooth.host.req.enable. 111961847f8eSopenharmony_ci * 112061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 112161847f8eSopenharmony_ci * @since 7 112261847f8eSopenharmony_ci * @deprecated since 9 112361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE 112461847f8eSopenharmony_ci */ 112561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE = 'usual.event.bluetooth.host.REQ_ENABLE', 112661847f8eSopenharmony_ci 112761847f8eSopenharmony_ci /** 112861847f8eSopenharmony_ci * bluetooth.host.req.disable. 112961847f8eSopenharmony_ci * 113061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 113161847f8eSopenharmony_ci * @since 7 113261847f8eSopenharmony_ci * @deprecated since 9 113361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE 113461847f8eSopenharmony_ci */ 113561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE = 'usual.event.bluetooth.host.REQ_DISABLE', 113661847f8eSopenharmony_ci 113761847f8eSopenharmony_ci /** 113861847f8eSopenharmony_ci * bluetooth.host.scan.mode.update. 113961847f8eSopenharmony_ci * 114061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 114161847f8eSopenharmony_ci * @since 7 114261847f8eSopenharmony_ci * @deprecated since 9 114361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE 114461847f8eSopenharmony_ci */ 114561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE = 'usual.event.bluetooth.host.SCAN_MODE_UPDATE', 114661847f8eSopenharmony_ci 114761847f8eSopenharmony_ci /** 114861847f8eSopenharmony_ci * bluetooth.host.discovery.stated. 114961847f8eSopenharmony_ci * 115061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 115161847f8eSopenharmony_ci * @since 7 115261847f8eSopenharmony_ci * @deprecated since 9 115361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED 115461847f8eSopenharmony_ci */ 115561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED = 'usual.event.bluetooth.host.DISCOVERY_STARTED', 115661847f8eSopenharmony_ci 115761847f8eSopenharmony_ci /** 115861847f8eSopenharmony_ci * bluetooth.host.discovery.finished. 115961847f8eSopenharmony_ci * 116061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 116161847f8eSopenharmony_ci * @since 7 116261847f8eSopenharmony_ci * @deprecated since 9 116361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED 116461847f8eSopenharmony_ci */ 116561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED = 'usual.event.bluetooth.host.DISCOVERY_FINISHED', 116661847f8eSopenharmony_ci 116761847f8eSopenharmony_ci /** 116861847f8eSopenharmony_ci * bluetooth.host.name.update. 116961847f8eSopenharmony_ci * 117061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 117161847f8eSopenharmony_ci * @since 7 117261847f8eSopenharmony_ci * @deprecated since 9 117361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE 117461847f8eSopenharmony_ci */ 117561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE = 'usual.event.bluetooth.host.NAME_UPDATE', 117661847f8eSopenharmony_ci 117761847f8eSopenharmony_ci /** 117861847f8eSopenharmony_ci * bluetooth.a2dp.connect.state.update. 117961847f8eSopenharmony_ci * 118061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 118161847f8eSopenharmony_ci * @since 7 118261847f8eSopenharmony_ci * @deprecated since 9 118361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE 118461847f8eSopenharmony_ci */ 118561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE', 118661847f8eSopenharmony_ci 118761847f8eSopenharmony_ci /** 118861847f8eSopenharmony_ci * bluetooth.a2dp.playing.state.update. 118961847f8eSopenharmony_ci * 119061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 119161847f8eSopenharmony_ci * @since 7 119261847f8eSopenharmony_ci * @deprecated since 9 119361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE 119461847f8eSopenharmony_ci */ 119561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE = 'usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE', 119661847f8eSopenharmony_ci 119761847f8eSopenharmony_ci /** 119861847f8eSopenharmony_ci * bluetooth.a2dp.audio.state.update. 119961847f8eSopenharmony_ci * 120061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 120161847f8eSopenharmony_ci * @since 7 120261847f8eSopenharmony_ci * @deprecated since 9 120361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE 120461847f8eSopenharmony_ci */ 120561847f8eSopenharmony_ci COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE = 'usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE', 120661847f8eSopenharmony_ci 120761847f8eSopenharmony_ci /** 120861847f8eSopenharmony_ci * Nfc state change. 120961847f8eSopenharmony_ci * 121061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 121161847f8eSopenharmony_ci * @since 7 121261847f8eSopenharmony_ci * @deprecated since 9 121361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED 121461847f8eSopenharmony_ci */ 121561847f8eSopenharmony_ci COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED = 'usual.event.nfc.action.ADAPTER_STATE_CHANGED', 121661847f8eSopenharmony_ci 121761847f8eSopenharmony_ci /** 121861847f8eSopenharmony_ci * Nfc field on detected. 121961847f8eSopenharmony_ci * 122061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 122161847f8eSopenharmony_ci * @since 7 122261847f8eSopenharmony_ci * @deprecated since 9 122361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED 122461847f8eSopenharmony_ci */ 122561847f8eSopenharmony_ci COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED = 'usual.event.nfc.action.RF_FIELD_ON_DETECTED', 122661847f8eSopenharmony_ci 122761847f8eSopenharmony_ci /** 122861847f8eSopenharmony_ci * Nfc field off detected. 122961847f8eSopenharmony_ci * 123061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 123161847f8eSopenharmony_ci * @since 7 123261847f8eSopenharmony_ci * @deprecated since 9 123361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED 123461847f8eSopenharmony_ci */ 123561847f8eSopenharmony_ci COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED = 'usual.event.nfc.action.RF_FIELD_OFF_DETECTED', 123661847f8eSopenharmony_ci 123761847f8eSopenharmony_ci /** 123861847f8eSopenharmony_ci * Sent when stop charging battery. 123961847f8eSopenharmony_ci * 124061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 124161847f8eSopenharmony_ci * @since 7 124261847f8eSopenharmony_ci * @deprecated since 9 124361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISCHARGING 124461847f8eSopenharmony_ci */ 124561847f8eSopenharmony_ci COMMON_EVENT_DISCHARGING = 'usual.event.DISCHARGING', 124661847f8eSopenharmony_ci 124761847f8eSopenharmony_ci /** 124861847f8eSopenharmony_ci * Sent when start charging battery. 124961847f8eSopenharmony_ci * 125061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 125161847f8eSopenharmony_ci * @since 7 125261847f8eSopenharmony_ci * @deprecated since 9 125361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_CHARGING 125461847f8eSopenharmony_ci */ 125561847f8eSopenharmony_ci COMMON_EVENT_CHARGING = 'usual.event.CHARGING', 125661847f8eSopenharmony_ci 125761847f8eSopenharmony_ci /** 125861847f8eSopenharmony_ci * Sent when device's idle mode changed 125961847f8eSopenharmony_ci * 126061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 126161847f8eSopenharmony_ci * @since 7 126261847f8eSopenharmony_ci * @deprecated since 9 126361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED 126461847f8eSopenharmony_ci */ 126561847f8eSopenharmony_ci COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED = 'usual.event.DEVICE_IDLE_MODE_CHANGED', 126661847f8eSopenharmony_ci 126761847f8eSopenharmony_ci /** 126861847f8eSopenharmony_ci * Sent when device's power save mode changed 126961847f8eSopenharmony_ci * 127061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 127161847f8eSopenharmony_ci * @since 7 127261847f8eSopenharmony_ci * @deprecated since 9 127361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_POWER_SAVE_MODE_CHANGED 127461847f8eSopenharmony_ci */ 127561847f8eSopenharmony_ci COMMON_EVENT_POWER_SAVE_MODE_CHANGED = 'usual.event.POWER_SAVE_MODE_CHANGED', 127661847f8eSopenharmony_ci 127761847f8eSopenharmony_ci /** 127861847f8eSopenharmony_ci * User added. 127961847f8eSopenharmony_ci * 128061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 128161847f8eSopenharmony_ci * @since 7 128261847f8eSopenharmony_ci * @deprecated since 9 128361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_ADDED 128461847f8eSopenharmony_ci */ 128561847f8eSopenharmony_ci COMMON_EVENT_USER_ADDED = 'usual.event.USER_ADDED', 128661847f8eSopenharmony_ci 128761847f8eSopenharmony_ci /** 128861847f8eSopenharmony_ci * User removed. 128961847f8eSopenharmony_ci * 129061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 129161847f8eSopenharmony_ci * @since 7 129261847f8eSopenharmony_ci * @deprecated since 9 129361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USER_REMOVED 129461847f8eSopenharmony_ci */ 129561847f8eSopenharmony_ci COMMON_EVENT_USER_REMOVED = 'usual.event.USER_REMOVED', 129661847f8eSopenharmony_ci 129761847f8eSopenharmony_ci /** 129861847f8eSopenharmony_ci * Sent when ability is added. 129961847f8eSopenharmony_ci * 130061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 130161847f8eSopenharmony_ci * @since 7 130261847f8eSopenharmony_ci * @deprecated since 9 130361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_ABILITY_ADDED 130461847f8eSopenharmony_ci */ 130561847f8eSopenharmony_ci COMMON_EVENT_ABILITY_ADDED = 'common.event.ABILITY_ADDED', 130661847f8eSopenharmony_ci 130761847f8eSopenharmony_ci /** 130861847f8eSopenharmony_ci * Sent when ability is removed. 130961847f8eSopenharmony_ci * 131061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 131161847f8eSopenharmony_ci * @since 7 131261847f8eSopenharmony_ci * @deprecated since 9 131361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_ABILITY_REMOVED 131461847f8eSopenharmony_ci */ 131561847f8eSopenharmony_ci COMMON_EVENT_ABILITY_REMOVED = 'common.event.ABILITY_REMOVED', 131661847f8eSopenharmony_ci 131761847f8eSopenharmony_ci /** 131861847f8eSopenharmony_ci * Sent when ability is updated. 131961847f8eSopenharmony_ci * 132061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 132161847f8eSopenharmony_ci * @since 7 132261847f8eSopenharmony_ci * @deprecated since 9 132361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_ABILITY_UPDATED 132461847f8eSopenharmony_ci */ 132561847f8eSopenharmony_ci COMMON_EVENT_ABILITY_UPDATED = 'common.event.ABILITY_UPDATED', 132661847f8eSopenharmony_ci 132761847f8eSopenharmony_ci /** 132861847f8eSopenharmony_ci * Gps mode state changed. 132961847f8eSopenharmony_ci * 133061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 133161847f8eSopenharmony_ci * @since 7 133261847f8eSopenharmony_ci * @deprecated since 9 133361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_LOCATION_MODE_STATE_CHANGED 133461847f8eSopenharmony_ci */ 133561847f8eSopenharmony_ci COMMON_EVENT_LOCATION_MODE_STATE_CHANGED = 'usual.event.location.MODE_STATE_CHANGED', 133661847f8eSopenharmony_ci 133761847f8eSopenharmony_ci /** 133861847f8eSopenharmony_ci * The ivi is about to go into sleep state when the ivi is turned off power. 133961847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 134061847f8eSopenharmony_ci * 134161847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 134261847f8eSopenharmony_ci * @since 7 134361847f8eSopenharmony_ci * @deprecated since 9 134461847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_SLEEP 134561847f8eSopenharmony_ci */ 134661847f8eSopenharmony_ci COMMON_EVENT_IVI_SLEEP = 'common.event.IVI_SLEEP', 134761847f8eSopenharmony_ci 134861847f8eSopenharmony_ci /** 134961847f8eSopenharmony_ci * The ivi is slept and notify the app stop playing. 135061847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 135161847f8eSopenharmony_ci * 135261847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 135361847f8eSopenharmony_ci * @since 7 135461847f8eSopenharmony_ci * @deprecated since 9 135561847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_PAUSE 135661847f8eSopenharmony_ci */ 135761847f8eSopenharmony_ci COMMON_EVENT_IVI_PAUSE = 'common.event.IVI_PAUSE', 135861847f8eSopenharmony_ci 135961847f8eSopenharmony_ci /** 136061847f8eSopenharmony_ci * The ivi is standby and notify the app stop playing. 136161847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 136261847f8eSopenharmony_ci * 136361847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 136461847f8eSopenharmony_ci * @since 7 136561847f8eSopenharmony_ci * @deprecated since 9 136661847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_STANDBY 136761847f8eSopenharmony_ci */ 136861847f8eSopenharmony_ci COMMON_EVENT_IVI_STANDBY = 'common.event.IVI_STANDBY', 136961847f8eSopenharmony_ci 137061847f8eSopenharmony_ci /** 137161847f8eSopenharmony_ci * The app stop playing and save state. 137261847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 137361847f8eSopenharmony_ci * 137461847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 137561847f8eSopenharmony_ci * @since 7 137661847f8eSopenharmony_ci * @deprecated since 9 137761847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_LASTMODE_SAVE 137861847f8eSopenharmony_ci */ 137961847f8eSopenharmony_ci COMMON_EVENT_IVI_LASTMODE_SAVE = 'common.event.IVI_LASTMODE_SAVE', 138061847f8eSopenharmony_ci 138161847f8eSopenharmony_ci /** 138261847f8eSopenharmony_ci * The ivi is voltage abnormal. 138361847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 138461847f8eSopenharmony_ci * 138561847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 138661847f8eSopenharmony_ci * @since 7 138761847f8eSopenharmony_ci * @deprecated since 9 138861847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_VOLTAGE_ABNORMAL 138961847f8eSopenharmony_ci */ 139061847f8eSopenharmony_ci COMMON_EVENT_IVI_VOLTAGE_ABNORMAL = 'common.event.IVI_VOLTAGE_ABNORMAL', 139161847f8eSopenharmony_ci 139261847f8eSopenharmony_ci /** 139361847f8eSopenharmony_ci * The ivi temperature is too high. 139461847f8eSopenharmony_ci * This is a protected common event that can only be sent by system.this common event will be delete later, 139561847f8eSopenharmony_ci * please use COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL. 139661847f8eSopenharmony_ci * 139761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 139861847f8eSopenharmony_ci * @since 7 139961847f8eSopenharmony_ci * @deprecated since 9 140061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_HIGH_TEMPERATURE 140161847f8eSopenharmony_ci */ 140261847f8eSopenharmony_ci COMMON_EVENT_IVI_HIGH_TEMPERATURE = 'common.event.IVI_HIGH_TEMPERATURE', 140361847f8eSopenharmony_ci 140461847f8eSopenharmony_ci /** 140561847f8eSopenharmony_ci * The ivi temperature is extreme high. 140661847f8eSopenharmony_ci * This is a protected common event that can only be sent by system.this common event will be delete later, 140761847f8eSopenharmony_ci * please use COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL. 140861847f8eSopenharmony_ci * 140961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 141061847f8eSopenharmony_ci * @since 7 141161847f8eSopenharmony_ci * @deprecated since 9 141261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_EXTREME_TEMPERATURE 141361847f8eSopenharmony_ci */ 141461847f8eSopenharmony_ci COMMON_EVENT_IVI_EXTREME_TEMPERATURE = 'common.event.IVI_EXTREME_TEMPERATURE', 141561847f8eSopenharmony_ci 141661847f8eSopenharmony_ci /** 141761847f8eSopenharmony_ci * The ivi temperature is abnormal. 141861847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 141961847f8eSopenharmony_ci * 142061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 142161847f8eSopenharmony_ci * @since 7 142261847f8eSopenharmony_ci * @deprecated since 9 142361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL 142461847f8eSopenharmony_ci */ 142561847f8eSopenharmony_ci COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL = 'common.event.IVI_TEMPERATURE_ABNORMAL', 142661847f8eSopenharmony_ci 142761847f8eSopenharmony_ci /** 142861847f8eSopenharmony_ci * The ivi voltage is recovery. 142961847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 143061847f8eSopenharmony_ci * 143161847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 143261847f8eSopenharmony_ci * @since 7 143361847f8eSopenharmony_ci * @deprecated since 9 143461847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_VOLTAGE_RECOVERY 143561847f8eSopenharmony_ci */ 143661847f8eSopenharmony_ci COMMON_EVENT_IVI_VOLTAGE_RECOVERY = 'common.event.IVI_VOLTAGE_RECOVERY', 143761847f8eSopenharmony_ci 143861847f8eSopenharmony_ci /** 143961847f8eSopenharmony_ci * The ivi temperature is recovery. 144061847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 144161847f8eSopenharmony_ci * 144261847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 144361847f8eSopenharmony_ci * @since 7 144461847f8eSopenharmony_ci * @deprecated since 9 144561847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_TEMPERATURE_RECOVERY 144661847f8eSopenharmony_ci */ 144761847f8eSopenharmony_ci COMMON_EVENT_IVI_TEMPERATURE_RECOVERY = 'common.event.IVI_TEMPERATURE_RECOVERY', 144861847f8eSopenharmony_ci 144961847f8eSopenharmony_ci /** 145061847f8eSopenharmony_ci * The battery service is active. 145161847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 145261847f8eSopenharmony_ci * 145361847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 145461847f8eSopenharmony_ci * @since 7 145561847f8eSopenharmony_ci * @deprecated since 9 145661847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_IVI_ACTIVE 145761847f8eSopenharmony_ci */ 145861847f8eSopenharmony_ci COMMON_EVENT_IVI_ACTIVE = 'common.event.IVI_ACTIVE', 145961847f8eSopenharmony_ci 146061847f8eSopenharmony_ci /** 146161847f8eSopenharmony_ci * The usb device attached. 146261847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 146361847f8eSopenharmony_ci * 146461847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 146561847f8eSopenharmony_ci * @since 7 146661847f8eSopenharmony_ci * @deprecated since 9 146761847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USB_DEVICE_ATTACHED 146861847f8eSopenharmony_ci */ 146961847f8eSopenharmony_ci COMMON_EVENT_USB_DEVICE_ATTACHED = 'usual.event.hardware.usb.action.USB_DEVICE_ATTACHED', 147061847f8eSopenharmony_ci 147161847f8eSopenharmony_ci /** 147261847f8eSopenharmony_ci * The usb device detached. 147361847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 147461847f8eSopenharmony_ci * 147561847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 147661847f8eSopenharmony_ci * @since 7 147761847f8eSopenharmony_ci * @deprecated since 9 147861847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USB_DEVICE_DETACHED 147961847f8eSopenharmony_ci */ 148061847f8eSopenharmony_ci COMMON_EVENT_USB_DEVICE_DETACHED = 'usual.event.hardware.usb.action.USB_DEVICE_DETACHED', 148161847f8eSopenharmony_ci 148261847f8eSopenharmony_ci /** 148361847f8eSopenharmony_ci * The usb accessory attached. 148461847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 148561847f8eSopenharmony_ci * 148661847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 148761847f8eSopenharmony_ci * @since 7 148861847f8eSopenharmony_ci * @deprecated since 9 148961847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USB_ACCESSORY_ATTACHED 149061847f8eSopenharmony_ci */ 149161847f8eSopenharmony_ci COMMON_EVENT_USB_ACCESSORY_ATTACHED = 'usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED', 149261847f8eSopenharmony_ci 149361847f8eSopenharmony_ci /** 149461847f8eSopenharmony_ci * The usb accessory detached. 149561847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 149661847f8eSopenharmony_ci * 149761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 149861847f8eSopenharmony_ci * @since 7 149961847f8eSopenharmony_ci * @deprecated since 9 150061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_USB_ACCESSORY_DETACHED 150161847f8eSopenharmony_ci */ 150261847f8eSopenharmony_ci COMMON_EVENT_USB_ACCESSORY_DETACHED = 'usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED', 150361847f8eSopenharmony_ci 150461847f8eSopenharmony_ci /** 150561847f8eSopenharmony_ci * The external storage was removed. 150661847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 150761847f8eSopenharmony_ci * 150861847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 150961847f8eSopenharmony_ci * @since 7 151061847f8eSopenharmony_ci * @deprecated since 9 151161847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISK_REMOVED 151261847f8eSopenharmony_ci */ 151361847f8eSopenharmony_ci COMMON_EVENT_DISK_REMOVED = 'usual.event.data.DISK_REMOVED', 151461847f8eSopenharmony_ci 151561847f8eSopenharmony_ci /** 151661847f8eSopenharmony_ci * The external storage was unmounted. 151761847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 151861847f8eSopenharmony_ci * 151961847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 152061847f8eSopenharmony_ci * @since 7 152161847f8eSopenharmony_ci * @deprecated since 9 152261847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISK_UNMOUNTED 152361847f8eSopenharmony_ci */ 152461847f8eSopenharmony_ci COMMON_EVENT_DISK_UNMOUNTED = 'usual.event.data.DISK_UNMOUNTED', 152561847f8eSopenharmony_ci 152661847f8eSopenharmony_ci /** 152761847f8eSopenharmony_ci * The external storage was mounted. 152861847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 152961847f8eSopenharmony_ci * 153061847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 153161847f8eSopenharmony_ci * @since 7 153261847f8eSopenharmony_ci * @deprecated since 9 153361847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISK_MOUNTED 153461847f8eSopenharmony_ci */ 153561847f8eSopenharmony_ci COMMON_EVENT_DISK_MOUNTED = 'usual.event.data.DISK_MOUNTED', 153661847f8eSopenharmony_ci 153761847f8eSopenharmony_ci /** 153861847f8eSopenharmony_ci * The external storage was bad removal. 153961847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 154061847f8eSopenharmony_ci * 154161847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 154261847f8eSopenharmony_ci * @since 7 154361847f8eSopenharmony_ci * @deprecated since 9 154461847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISK_BAD_REMOVAL 154561847f8eSopenharmony_ci */ 154661847f8eSopenharmony_ci COMMON_EVENT_DISK_BAD_REMOVAL = 'usual.event.data.DISK_BAD_REMOVAL', 154761847f8eSopenharmony_ci 154861847f8eSopenharmony_ci /** 154961847f8eSopenharmony_ci * The external storage was unmountable. 155061847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 155161847f8eSopenharmony_ci * 155261847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 155361847f8eSopenharmony_ci * @since 7 155461847f8eSopenharmony_ci * @deprecated since 9 155561847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISK_UNMOUNTABLE 155661847f8eSopenharmony_ci */ 155761847f8eSopenharmony_ci COMMON_EVENT_DISK_UNMOUNTABLE = 'usual.event.data.DISK_UNMOUNTABLE', 155861847f8eSopenharmony_ci 155961847f8eSopenharmony_ci /** 156061847f8eSopenharmony_ci * The external storage was eject. 156161847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 156261847f8eSopenharmony_ci * 156361847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 156461847f8eSopenharmony_ci * @since 7 156561847f8eSopenharmony_ci * @deprecated since 9 156661847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_DISK_EJECT 156761847f8eSopenharmony_ci */ 156861847f8eSopenharmony_ci COMMON_EVENT_DISK_EJECT = 'usual.event.data.DISK_EJECT', 156961847f8eSopenharmony_ci 157061847f8eSopenharmony_ci /** 157161847f8eSopenharmony_ci * The visible of account was updated. 157261847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 157361847f8eSopenharmony_ci * 157461847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 157561847f8eSopenharmony_ci * @since 7 157661847f8eSopenharmony_ci * @deprecated since 9 157761847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED 157861847f8eSopenharmony_ci */ 157961847f8eSopenharmony_ci COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED = 'usual.event.data.VISIBLE_ACCOUNTS_UPDATED', 158061847f8eSopenharmony_ci 158161847f8eSopenharmony_ci /** 158261847f8eSopenharmony_ci * Account was deleted. 158361847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 158461847f8eSopenharmony_ci * 158561847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 158661847f8eSopenharmony_ci * @since 7 158761847f8eSopenharmony_ci * @deprecated since 9 158861847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_ACCOUNT_DELETED 158961847f8eSopenharmony_ci */ 159061847f8eSopenharmony_ci COMMON_EVENT_ACCOUNT_DELETED = 'usual.event.data.ACCOUNT_DELETED', 159161847f8eSopenharmony_ci 159261847f8eSopenharmony_ci /** 159361847f8eSopenharmony_ci * Foundation was ready. 159461847f8eSopenharmony_ci * This is a protected common event that can only be sent by system. 159561847f8eSopenharmony_ci * 159661847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 159761847f8eSopenharmony_ci * @since 7 159861847f8eSopenharmony_ci * @deprecated since 9 159961847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_FOUNDATION_READY 160061847f8eSopenharmony_ci */ 160161847f8eSopenharmony_ci COMMON_EVENT_FOUNDATION_READY = 'common.event.FOUNDATION_READY', 160261847f8eSopenharmony_ci 160361847f8eSopenharmony_ci /** 160461847f8eSopenharmony_ci * Indicates the common event Action indicating that the airplane mode status of the device changes. 160561847f8eSopenharmony_ci * Users can register this event to listen to the change of the airplane mode status of the device. 160661847f8eSopenharmony_ci * 160761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 160861847f8eSopenharmony_ci * @since 7 160961847f8eSopenharmony_ci * @deprecated since 9 161061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_AIRPLANE_MODE_CHANGED 161161847f8eSopenharmony_ci */ 161261847f8eSopenharmony_ci COMMON_EVENT_AIRPLANE_MODE_CHANGED = 'usual.event.AIRPLANE_MODE', 161361847f8eSopenharmony_ci 161461847f8eSopenharmony_ci /** 161561847f8eSopenharmony_ci * sent by the window manager service when the window mode is split. 161661847f8eSopenharmony_ci * 161761847f8eSopenharmony_ci * @syscap SystemCapability.Notification.CommonEvent 161861847f8eSopenharmony_ci * @since 8 161961847f8eSopenharmony_ci * @deprecated since 9 162061847f8eSopenharmony_ci * @useinstead ohos.commonEventManager/commonEventManager.Support#COMMON_EVENT_SPLIT_SCREEN 162161847f8eSopenharmony_ci */ 162261847f8eSopenharmony_ci COMMON_EVENT_SPLIT_SCREEN = 'common.event.SPLIT_SCREEN' 162361847f8eSopenharmony_ci } 162461847f8eSopenharmony_ci} 162561847f8eSopenharmony_ci 162661847f8eSopenharmony_ciexport default commonEvent; 1627