Package android.net
Class NetworkInfo
- java.lang.Object
-
- android.net.NetworkInfo
-
public class NetworkInfo extends Object
Describes the status of a network interface.Use
ConnectivityManager.getActiveNetworkInfo()to get an instance that represents the current network connection.
-
-
Constructor Summary
Constructors Constructor Description NetworkInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisConnected()Indicates whether network connectivity exists and it is possible to establish connections and pass data.
-