|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface ConnectivityWrapper
Interface for a connectivity wrapper.
| Method Summary | |
|---|---|
boolean |
isAnyConnectionAvailable(Context context)
Test method for any available Internet connection |
boolean |
isNetworkConnected(Context context,
int networkType)
Test method for an available network connection |
boolean |
testHostReachability(Context context,
String hostName)
Does test if the host is reachable |
| Method Detail |
|---|
boolean isNetworkConnected(Context context,
int networkType)
context - the application contextnetworkType - the network type
boolean testHostReachability(Context context,
String hostName)
context - the application contexthostName - the host name to detect route to
boolean isAnyConnectionAvailable(Context context)
context - the application context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||