-
- All Implemented Interfaces:
-
org.osmdroid.tileprovider.modules.INetworkAvailablityCheck
public class NetworkAvailabliltyCheck implements INetworkAvailablityCheck
A straightforward network check implementation.
-
-
Constructor Summary
Constructors Constructor Description NetworkAvailabliltyCheck(Context aContext)
-
Method Summary
Modifier and Type Method Description booleangetNetworkAvailable()booleangetWiFiNetworkAvailable()booleangetCellularDataNetworkAvailable()booleangetRouteToPathExists(int hostAddress)this method calls a method that was removed API26and this method will be removed from osmdroid sometime afterv6.0.0. -
-
Constructor Detail
-
NetworkAvailabliltyCheck
NetworkAvailabliltyCheck(Context aContext)
-
-
Method Detail
-
getNetworkAvailable
boolean getNetworkAvailable()
-
getWiFiNetworkAvailable
boolean getWiFiNetworkAvailable()
-
getCellularDataNetworkAvailable
boolean getCellularDataNetworkAvailable()
-
getRouteToPathExists
@Deprecated() boolean getRouteToPathExists(int hostAddress)
this method calls a method that was removed API26and this method will be removed from osmdroid sometime afterv6.0.0.
-
-
-
-