1# NetConn_NetConnCallback 2 3## 概述 4 5网络状态监听回调集合。 6 7**起始版本:** 12 8 9**相关模块:** [NetConnection](capi-netconnection.md) 10 11**所在头文件:** [net_connection_type.h](capi-net-connection-type-h.md) 12 13## 汇总 14 15### 成员变量 16 17| 名称 | 描述 | 18|------------------------------------------------------------------------------------------------------------------------------------------| -- | 19| [OH_NetConn_NetworkAvailable](capi-net-connection-type-h.md#oh_netconn_networkavailable) onNetworkAvailable | 网络可用回调。 | 20| [OH_NetConn_NetCapabilitiesChange](capi-net-connection-type-h.md#oh_netconn_netcapabilitieschange) onNetCapabilitiesChange | 网络能力集变更回调。 | 21| [OH_NetConn_NetConnectionPropertiesChange](capi-net-connection-type-h.md#oh_netconn_netconnectionpropertieschange) onConnetionProperties | 网络连接属性变更回调。 | 22| [OH_NetConn_NetLost](capi-net-connection-type-h.md#oh_netconn_netlost) onNetLost | 网络断开回调。 | 23| [OH_NetConn_NetUnavailable](capi-net-connection-type-h.md#oh_netconn_netunavailable) onNetUnavailable | 网络不可用回调, 在指定的超时时间内网络未激活时触发该回调,如果未设置超时时间则不会触发该回调。 | 24| [OH_NetConn_NetBlockStatusChange](capi-net-connection-type-h.md#oh_netconn_netblockstatuschange) onNetBlockStatusChange | 网络阻塞状态变更回调。 | 25