get_connectivity


Description:

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