check_connectivity
Description:
[ Version ( since = "0.9.8.6" ) ]
public ConnectivityState check_connectivity (Cancellable? cancellable = null) throws Error
public ConnectivityState check_connectivity (Cancellable? cancellable = null) throws Error
Updates the network connectivity state and returns the (new) current state.
Contrast get_connectivity, which returns the most recent known state without re-checking.
This is a blocking call; use check_connectivity_async if you do not want to block.
Parameters:
this |
an Client |
cancellable |
Returns:
the (new) current connectivity state |