Package | Description |
---|---|
android.net |
Modifier and Type | Method and Description |
---|---|
NetworkInfo |
ConnectivityManager.getActiveNetworkInfo()
Returns details about the currently active default data network.
|
NetworkInfo |
ConnectivityManager.getNetworkInfo(Network network)
Returns connection status information about a particular Network.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ConnectivityManager.setAvailable(boolean available,
Network network,
NetworkInfo networkInfo)
Sets the network availability.
|