Package com.signalquest.api
Class Status
java.lang.Object
com.signalquest.api.Status
Contains the sensor status information.
-
Constructor Summary
ConstructorDescriptionStatus
(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 TypeMethodDescriptionboolean[]
Reports which of the 8 latest RTCM messages were used.int
The battery percentage remaining, 0-100.long
getITow()
The GPS time of week, in milliseconds.int
getMode()
The GNSS operational mode or solution state.Provides the text label forgetMode()
int
The number of satellites used to calculate location solution.long
getTime()
The Unix time, in seconds.boolean
Indicates whether the sensor is actively charging.
-
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
Provides the text label forgetMode()
-