• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Common Events of the Network Management Subsystem
2This document lists the common system events provided by the network management subsystem to applications. Applications can use [APIs](../js-apis-commonEventManager.md) to subscribe to common system events.
3
4
5## COMMON_EVENT_CONNECTIVITY_CHANGE<sup>10+<sup>
6
7Indicates that the network connection state has changed.
8
9- Value: usual.event.CONNECTIVITY_CHANGE
10- Required subscriber permissions: none
11
12When the (Ethernet, Wi-Fi, or cellular) network connection state changes (to disconnected, connecting, or connected), the event notification service is triggered to publish this event.
13
14## COMMON_EVENT_AIRPLANE_MODE_CHANGED<sup>10+<sup>
15
16Indicates that the airplane mode state has changed.
17
18- Value: usual.event.AIRPLANE_MODE
19- Required subscriber permissions: none
20
21When the airplane mode is set, the event notification service is triggered to publish this event.
22
23## COMMON_EVENT_HTTP_PROXY_CHANGE<sup>10+<sup>
24
25Indicates that the HTTP proxy configuration has changed.
26
27- Value: usual.event.HTTP_PROXY_CHANGE
28- Required subscriber permissions: none
29
30When the configuration of the global or network-specific (such as Ethernet and Wi-Fi) HTTP proxy changes, the event notification service is triggered to publish this event.
31
32## COMMON_EVENT_NET_QUOTA_WARNING<sup>10+<sup>
33
34Indicates that the network data usage has reached the alarm threshold.
35
36- Value: usual.event.QUOTA_WARNING
37- Required subscriber permissions: none
38
39When the network data usage reaches 80% of the limit, the event notification service is triggered to publish this event.
40
41## COMMON_EVENT_NET_QUOTA_LIMIT_REMINDED<sup>10+<sup>
42
43Indicates that the network data usage has reached the upper limit, and network access is still available.
44
45- Value: usual.event.NET_QUOTA_LIMIT_REMINDED
46- Required subscriber permissions: none
47
48When the network data usage reaches the upper limit and the user chooses to continue to use the network, the event notification service is triggered to publish this event.
49
50## COMMON_EVENT_NET_QUOTA_LIMIT<sup>10+<sup>
51
52Indicates that the network data usage has reached the upper limit, and network access becomes unavailable.
53
54- Value: usual.event.NET_QUOTA_LIMIT
55- Required subscriber permissions: none
56
57When the network data usage reaches the upper limit and continuing to use the network is not allowed, the event notification service is triggered to publish this event.
58