From 31f0de2bd5d96353a10fdcfcb4aef3de3c7c5a42 Mon Sep 17 00:00:00 2001 From: daiqc Date: Thu, 21 Jul 2022 11:27:56 +0800 Subject: [PATCH] Add broadcast Change-Id: Ie275af33790e0c379ea7e12e8be648601d327aca --- api/@ohos.commonEvent.d.ts | 39 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/api/@ohos.commonEvent.d.ts b/api/@ohos.commonEvent.d.ts index 5734f84a1c..09d2ba33f4 100644 --- a/api/@ohos.commonEvent.d.ts +++ b/api/@ohos.commonEvent.d.ts @@ -978,8 +978,43 @@ declare namespace commonEvent { * This common event can be triggered only by system. * @since 9 */ - COMMON_EVENT_SPN_INFO_CHANGED = "usual.event.SPN_INFO_CHANGED" - } + COMMON_EVENT_SPN_INFO_CHANGED = "usual.event.SPN_INFO_CHANGED", + + /** + * Indicates the action of a common event that the net quota has arrived limit. + * This is a protected common event that can only be sent by system. + * @since 9 + */ + COMMON_EVENT_NET_QUOTA_LIMIT = "usual.event.NET_QUOTA_LIMIT", + + /** + * Indicates the action of a common event that the net quota has arrived reminded limit. + * This is a protected common event that can only be sent by system. + * @since 9 + */ + COMMON_EVENT_NET_QUOTA_LIMIT_REMINDED = "usual.event.NET_QUOTA_LIMIT_REMINDED", + + /** + * Indicates the action of a common event that the net quota has arrived warning limit. + * This is a protected common event that can only be sent by system. + * @since 9 + */ + COMMON_EVENT_NET_QUOTA_WARNING = "usual.event.NET_QUOTA_WARNING", + + /** + * This will be triggered when the network connection state changes + * @since 9 + */ + COMMON_EVENT_CONNECTIVITY_CHANGE = "usual.event.CONNECTIVITY_CHANGE", + + /** + * Indicates the action of a common event that regularly according to the status of screen + * notify desktop apps the iface and uid stats updates. + * This is a protected common event that can only be sent by system. + * @since 9 + */ + COMMON_EVENT_NETMANAGER_NETSTATES_UPDATED = "usual.event.NETMANAGER_NETSTATES_UPDATED" + } } export default commonEvent; -- Gitee