public interface NetworkConnectivityManager
Modifier and Type | Interface and Description |
---|---|
static interface |
NetworkConnectivityManager.Observer |
Modifier and Type | Method and Description |
---|---|
boolean |
isConnected() |
void |
registerObserver(NetworkConnectivityManager.Observer observer) |
void |
unregisterObserver(NetworkConnectivityManager.Observer observer) |
boolean isConnected()
void registerObserver(@NonNull NetworkConnectivityManager.Observer observer)
void unregisterObserver(@NonNull NetworkConnectivityManager.Observer observer)