public enum GpsFixStatus extends Enum<GpsFixStatus>
FaaMode
,
GpsFixQuality
,
DataStatus
Enum Constant and Description |
---|
GPS_2D
2D GPS fix (lat/lon)
|
GPS_3D
3D GPS fix (lat/lon/alt)
|
GPS_NA
No GPS fix available
|
Modifier and Type | Method and Description |
---|---|
int |
toInt()
Returns the corresponding int value for fix status enum.
|
static GpsFixStatus |
valueOf(int val)
Returns the GpsFixStatus enum corresponding to actual int identifier used
in the sentences.
|
static GpsFixStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GpsFixStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GpsFixStatus GPS_NA
public static final GpsFixStatus GPS_2D
public static final GpsFixStatus GPS_3D
public static GpsFixStatus[] values()
for (GpsFixStatus c : GpsFixStatus.values()) System.out.println(c);
public static GpsFixStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int toInt()
public static GpsFixStatus valueOf(int val)
val
- Fix status indentifier intCopyright (C) 2010-2017 Java Marine API authors. All Rights Reserved.