public class AndroidConnectivity extends java.lang.Object implements Connectivity
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hasMobile |
protected boolean |
hasWifi |
protected boolean |
inAirplaneMode |
| Constructor and Description |
|---|
AndroidConnectivity(android.content.Context context)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasWAN() |
boolean |
hasWifi() |
boolean |
isConnected() |
protected boolean hasWifi
protected boolean hasMobile
protected boolean inAirplaneMode
public AndroidConnectivity(android.content.Context context)
context - public boolean isConnected()
isConnected in interface Connectivitypublic boolean hasWifi()
hasWifi in interface Connectivitypublic boolean hasWAN()
hasWAN in interface Connectivity