Class Status

java.lang.Object
com.signalquest.api.Status

public class Status extends Object
Contains the sensor status information.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Status(long iTow, long time, int mode, int satellites, int battery, boolean charging, boolean[] aidingQuality)
    Constructor for serialization (e.g., Android Parcelable)
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean[]
    Reports which of the 8 latest RTCM messages were used.
    int
    The battery percentage remaining, 0-100.
    long
    The GPS time of week, in milliseconds.
    int
    The GNSS operational mode or solution state.
    Provides the text label for getMode()
    int
    The number of satellites used to calculate location solution.
    long
    The Unix time, in seconds.
    boolean
    Indicates whether the sensor is actively charging.

    Methods inherited from class java.lang.Object

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

    • Status

      public Status(long iTow, long time, int mode, int satellites, int battery, boolean charging, boolean[] aidingQuality)
      Constructor for serialization (e.g., Android Parcelable)
  • Method Details

    • getITow

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

      public long getTime()
      The Unix time, in seconds.
    • getMode

      public int getMode()
      The GNSS operational mode or solution state.

       

      Mode Values
      Value Mode
      0 Offline
      1 Acquiring
      2 2D
      3 3D
      4 RTK Float
      5 RTK Fixed
      6 Base Autosurvey
      7 Fixed Base
    • getSatellites

      public int getSatellites()
      The number of satellites used to calculate location solution.
    • getBattery

      public int getBattery()
      The battery percentage remaining, 0-100.
    • isCharging

      public boolean isCharging()
      Indicates whether the sensor is actively charging.
    • getAidingQuality

      public boolean[] getAidingQuality()
      Reports which of the 8 latest RTCM messages were used.
    • getModeLabel

      public String getModeLabel()
      Provides the text label for getMode()