harmony 鸿蒙Common Events of the Network Management Subsystem
Common Events of the Network Management Subsystem
This document lists the common system events provided by the network management subsystem to applications. Applications can use APIs to subscribe to common system events.
COMMON_EVENT_CONNECTIVITY_CHANGE10+
Indicates that the network connection state has changed.
- Value: usual.event.CONNECTIVITY_CHANGE
- Required subscriber permissions: none
When 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.
COMMON_EVENT_AIRPLANE_MODE_CHANGED10+
Indicates that the airplane mode state has changed.
- Value: usual.event.AIRPLANE_MODE
- Required subscriber permissions: none
When the airplane mode is set, the event notification service is triggered to publish this event.
COMMON_EVENT_HTTP_PROXY_CHANGE10+
Indicates that the HTTP proxy configuration has changed.
- Value: usual.event.HTTP_PROXY_CHANGE
- Required subscriber permissions: none
When 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.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Common Events of the Ability Subsystem
harmony 鸿蒙Common Events of the Account Subsystem
harmony 鸿蒙Common Events of the Notification Service
harmony 鸿蒙Common Events of the Bundle Management Subsystem
harmony 鸿蒙Common Events of the File Management Subsystem
harmony 鸿蒙Common Events of the Language Subsystem
harmony 鸿蒙Common Events of the SMS Application
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦