Package com.swrve.sdk.geo
Class SwrveGeoplaceFetcher
- java.lang.Object
-
- com.swrve.sdk.geo.SwrveGeoplaceFetcher
-
public class SwrveGeoplaceFetcher extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected double
lat
protected double
lng
protected GeoLocalStorage
localStorage
-
Constructor Summary
Constructors Constructor Description SwrveGeoplaceFetcher(android.content.Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fetchGeoplaces(double lat, double lng)
protected com.swrve.sdk.rest.IRESTClient
getRESTClient()
protected com.swrve.sdk.rest.IRESTResponseListener
getRestResponseListener()
protected void
processGeoplacesResponse(java.lang.String geoplacesResponse)
-
-
-
Field Detail
-
localStorage
protected GeoLocalStorage localStorage
-
lat
protected double lat
-
lng
protected double lng
-
-
Method Detail
-
fetchGeoplaces
public void fetchGeoplaces(double lat, double lng) throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
-
getRESTClient
protected com.swrve.sdk.rest.IRESTClient getRESTClient()
-
getRestResponseListener
protected com.swrve.sdk.rest.IRESTResponseListener getRestResponseListener()
-
processGeoplacesResponse
protected void processGeoplacesResponse(java.lang.String geoplacesResponse) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-