public interface IConnectivityWatcher
Modifier and Type | Method and Description |
---|---|
void |
onConnectivityChanged(int connectivity_type,
int state,
boolean overall_connectivity)
This method will be called to give notification that the connection status has changed on an interface.
|
void onConnectivityChanged(int connectivity_type, int state, boolean overall_connectivity)
STATE_*
and one of the TYPE_*
constants defined in ConnectivityStatusRequester
.connectivity_type
- The type of connection that has changed state.state
- The new state of that connection..overall_connectivity
- Will be false
if connectivity is no longer available on any interface.ConnectivityStatusRequester