get_connectivity


Description:

[ Version ( since = "0.9.8.6" ) ]
public ConnectivityState get_connectivity ()

Gets the current network connectivity state.

Contrast check_connectivity and check_connectivity_async, which re-check the connectivity state first before returning any information.

Parameters:

this

an Client

Returns:

the current connectivity state