1# NetConn_NetConnCallback 2 3## Overview 4 5Defines network status callbacks. 6 7**Since**: 12 8 9**Related module**: [NetConnection](capi-netconnection.md) 10 11**Header file**: [net_connection_type.h](capi-net-connection-type-h.md) 12 13## Summary 14 15### Member Variables 16 17| Name | Description| 18|------------------------------------------------------------------------------------------------------------------------------------------| -- | 19| [OH_NetConn_NetworkAvailable](capi-net-connection-type-h.md#oh_netconn_networkavailable) onNetworkAvailable | Callback invoked when the network is available.| 20| [OH_NetConn_NetCapabilitiesChange](capi-net-connection-type-h.md#oh_netconn_netcapabilitieschange) onNetCapabilitiesChange | Callback invoked when the network capabilities change.| 21| [OH_NetConn_NetConnectionPropertiesChange](capi-net-connection-type-h.md#oh_netconn_netconnectionpropertieschange) onConnetionProperties | Callback invoked when network connection properties change.| 22| [OH_NetConn_NetLost](capi-net-connection-type-h.md#oh_netconn_netlost) onNetLost | Callback invoked when the network is disconnected.| 23| [OH_NetConn_NetUnavailable](capi-net-connection-type-h.md#oh_netconn_netunavailable) onNetUnavailable | Callback invoked when the network is unavailable. This callback is triggered when the network is not activated within the specified timeout interval. If the timeout interval is not set, this callback is not triggered.| 24| [OH_NetConn_NetBlockStatusChange](capi-net-connection-type-h.md#oh_netconn_netblockstatuschange) onNetBlockStatusChange | Callback invoked when the network blocking status changes.| 25