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.
this |
an Client |
cancellable |
a Cancellable |
callback |
callback to call with the result |
user_data |
data for |