public enum GpsFixQuality extends java.lang.Enum<GpsFixQuality>
Enum Constant and Description |
---|
DGPS
Differential GPS fix.
|
DR
Estimated dead-reckoned fix.
|
FLOAT_RTK
float Real-Time Kinematic fix.
|
GPS_SPS
Standard GPS fix.
|
INVALID
No fix.
|
MANUAL
Manual input.
|
PPS
Providing only time reference.
|
RTK
Real-time kinematic fix.
|
SIM
Simulation.
|
Modifier and Type | Method and Description |
---|---|
static GpsFixQuality |
getByModeChar(char ch)
Look up the GpsFixQuality enum by is $xxGNS sentence mode indicator.
|
int |
getRank()
Get the preferred rank of this quality to compare qualities if multiple constellations were used to
provide an answer.
|
static void |
initMap()
Initialize the mode map if it isn't already initialized.
|
boolean |
isValid()
Indicate whether this quality code indicates valid position data.
|
static GpsFixQuality |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GpsFixQuality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GpsFixQuality INVALID
public static final GpsFixQuality GPS_SPS
public static final GpsFixQuality DGPS
public static final GpsFixQuality PPS
public static final GpsFixQuality RTK
public static final GpsFixQuality FLOAT_RTK
public static final GpsFixQuality DR
public static final GpsFixQuality MANUAL
public static final GpsFixQuality SIM
public static GpsFixQuality[] values()
for (GpsFixQuality c : GpsFixQuality.values()) System.out.println(c);
public static GpsFixQuality valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final boolean isValid()
public static void initMap()
public static GpsFixQuality getByModeChar(char ch)
ch
- mode indicator character from a $GNGNS sentencepublic int getRank()