Class Location

java.lang.Object
com.signalquest.api.Location

public class Location extends Object
Contains the sensor's location information.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Location(long iTow, double latitude, double longitude, double height, double horizontalAccuracy, double verticalAccuracy)
    Constructor for serialization (e.g.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    The height above ellipsoid, in meters
    double
    The horizontal accuracy, in meters
    long
    The GPS time of week, in milliseconds
    double
    The latitude, in decimal degrees (WGS 84)
    double
    The longitude, in decimal degrees (WGS 84)
    double
    The vertical accuracy, in meters

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Location

      public Location(long iTow, double latitude, double longitude, double height, double horizontalAccuracy, double verticalAccuracy)
      Constructor for serialization (e.g. Android Parcelable)
  • Method Details

    • getITow

      public long getITow()
      The GPS time of week, in milliseconds
    • getLatitude

      public double getLatitude()
      The latitude, in decimal degrees (WGS 84)
    • getLongitude

      public double getLongitude()
      The longitude, in decimal degrees (WGS 84)
    • getHeight

      public double getHeight()
      The height above ellipsoid, in meters
    • getHorizontalAccuracy

      public double getHorizontalAccuracy()
      The horizontal accuracy, in meters
    • getVerticalAccuracy

      public double getVerticalAccuracy()
      The vertical accuracy, in meters