public class NetworkInfo extends Object
Use ConnectivityManager.getActiveNetworkInfo() to get an instance that represents the current network
connection.
| Constructor and Description |
|---|
NetworkInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isConnected()
Indicates whether network connectivity exists and it is possible to establish connections and pass data.
|