Package com.geouniq.android
Class GeoUniq.Location
java.lang.Object
com.geouniq.android.GeoUniq.Location
- Enclosing class:
- GeoUniq
A location detected for the device.
-
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoublelonggetTime()intvoidsetAccuracy(double accuracy) voidsetLatitude(double lat) voidsetLongitude(double lng) voidsetTime(long time) voidsetVisitDuration(int duration) toString()
-
Method Details
-
toString
-
getNestedLocations
-
getLatitude
public double getLatitude()- Returns:
- the latitude
-
getLongitude
public double getLongitude()- Returns:
- the longitude
-
getTime
public long getTime()- Returns:
- the time
-
getAccuracy
public double getAccuracy()- Returns:
- the accuracy in meters
-
setAccuracy
public void setAccuracy(double accuracy) -
setLatitude
public void setLatitude(double lat) - Parameters:
lat- the latitude to set
-
setLongitude
public void setLongitude(double lng) - Parameters:
lng- the longitude to set
-
setTime
public void setTime(long time) - Parameters:
time- the time to set
-
getVisitDuration
public int getVisitDuration()- Returns:
- the duration of the visit in seconds
-
setVisitDuration
public void setVisitDuration(int duration)
-