You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
path: path on the server where the IP and ISP info can be fetched
isp: if set to true, it will fetch ISP info, otherwise it will only fetch the IP address
distance: if isp is set to true, this specifies how the distance should be measured
SpeedtestConfig.DISTANCE_NO: do not calculate distance
SpeedtestConfig.DISTANCE_KM: kilometers
SpeedtestConfig.DISTANCE_MILES: miles
Callbacks:
onDataReceived(String data): if the operation succedes, this is called with a JSON string representing the result (see getIP.php implementation detalis for more information)
onError(String err): if the operation fails, this is called with an error message