Class GeoUniq.Location

  • Enclosing class:
    GeoUniq

    public static class GeoUniq.Location
    extends java.lang.Object
    A location detected for the device.
    • Method Detail

      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getNestedLocations

        @NonNull
        public java.util.ArrayList<GeoUniq.Location> 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)