com.anywherecommerce.android.sdk.geolocation
Class GeolocationController
-
java.lang.Object
-
com.anywherecommerce.android.sdk.geolocation.GeolocationController
-
public class <span class="typeNameLabel">GeolocationController</span> extends java.lang.Object
Field Summary
Modifier and TypeField and Description`static java.lang.String``<span class="memberNameLink">
DEFAULT_LATITUDE
static java.lang.String``
Method Summary
Modifier and TypeMethod and Description`void``<span class="memberNameLink">
destroy()`*************************************************** Destuctors ***************************************************
`java.lang.String``<span class="memberNameLink">
getCurrentLocationAddress()
static java.lang.String``
getCurrentLocationLatitude()
static java.lang.String``
getCurrentLocationLongitude()
static
getInstance(Context ctx)
static
getLastKnownPosition()
boolean``
hasNewLocation()
void``
startLocationSearch()`*************************************************** Location Methods ***************************************************
Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
Field Detail
DEFAULT_LATITUDE
`public static java.lang.String DEFAULT_LATITUDE`
DEFAULT_LONGITUDE
`public static java.lang.String DEFAULT_LONGITUDE`
Method Detail
getInstance
`public static
GeolocationController getInstance(Context ctx)`
destroy
`public void destroy()`\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Destuctors \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
hasNewLocation
`public boolean hasNewLocation()`
getCurrentLocationLatitude
`public static java.lang.String getCurrentLocationLatitude()`
getCurrentLocationLongitude
`public static java.lang.String getCurrentLocationLongitude()`
getCurrentLocationAddress
`public java.lang.String getCurrentLocationAddress()`
startLocationSearch
`public void startLocationSearch()`\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Location Methods \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
getLastKnownPosition
`public static
GeolocationData getLastKnownPosition()`