check_connectivity_async
Description:
[ Version ( since = "0.9.8.6" ) ]
public async ConnectivityState check_connectivity_async (Cancellable? cancellable) throws Error
public async ConnectivityState check_connectivity_async (Cancellable? cancellable) throws Error
Asynchronously updates the network connectivity state and invokes callback when complete.
Contrast get_connectivity, which (immediately) returns the most recent known state without re-checking, and check_connectivity, which blocks.
Parameters:
| this |
an Client |
| cancellable | |
| callback |
callback to call with the result |
| user_data |
data for |