Package com.esri.arcgisruntime.location
Class NmeaLocationDataSource.NmeaLocation
- java.lang.Object
-
- com.esri.arcgisruntime.location.LocationDataSource.Location
-
- com.esri.arcgisruntime.location.NmeaLocationDataSource.NmeaLocation
-
- Enclosing class:
- NmeaLocationDataSource
public static final class NmeaLocationDataSource.NmeaLocation extends LocationDataSource.Location
An NMEA location object. Contains information about parsed NMEA location.- Since:
- 100.10.0
-
-
Field Summary
-
Fields inherited from class com.esri.arcgisruntime.location.LocationDataSource.Location
KEY_FLOOR, KEY_POSITION_SOURCE, KEY_SATELLITE_COUNT, KEY_TRANSMITTER_COUNT, POSITION_SOURCE_BLUETOOTH, POSITION_SOURCE_CELL, POSITION_SOURCE_GNSS, POSITION_SOURCE_WIFI
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NmeaAccuracyType
getAccuracyType()
Gets the accuracy type of the location.double
getDgpsAge()
Gets the DGPS age of the location in seconds.NmeaFixType
getFixType()
Gets the fix type of the location.double
getGeoidalSeparation()
Gets the geoidal separation meters.double
getHdop()
Gets the HDOP (horizontal dilution of precision) of the location, 0.5 through 99.9.double
getHeightAboveGeoid()
Gets the height above the geoid surface in meters.com.esri.arcgisruntime.internal.jni.CoreNMEALocation
getInternal()
double
getPdop()
Gets the PDOP (positional dilution of precision) of the location 0.5 through 99.9.Point
getReceivedPosition()
Gets the position originally returned by the receiver.int
getReferenceStationId()
Gets the reference station ID of the location.java.util.List<NmeaSatelliteInfo>
getSatellites()
Gets the satellites info of the location.double
getVdop()
Gets the VDOP (vertical dilution of precision) of the location, 0.5 through 99.9.-
Methods inherited from class com.esri.arcgisruntime.location.LocationDataSource.Location
getAdditionalSourceProperties, getCourse, getHorizontalAccuracy, getPosition, getTimeStamp, getVelocity, getVerticalAccuracy, isLastKnown
-
-
-
-
Method Detail
-
getAccuracyType
public NmeaAccuracyType getAccuracyType()
Gets the accuracy type of the location.- Returns:
- the accuracy type of the location
- Since:
- 100.10.0
-
getDgpsAge
public double getDgpsAge()
Gets the DGPS age of the location in seconds. The DGPSAge shows the age of the differential data (in seconds) and the time elapsed since the last valid differential correction received. Because the validity of a differential correction depends on the difference between the time the differential signal is calculated and the time it is used by the receiver, smaller values are better.- Returns:
- the DGPS age of the location in seconds
- Since:
- 100.10.0
-
getFixType
public NmeaFixType getFixType()
Gets the fix type of the location.- Returns:
- the fix type of the location.
- Since:
- 100.10.0
-
getGeoidalSeparation
public double getGeoidalSeparation()
Gets the geoidal separation meters.- Returns:
- the geoidal separation in meters
- Since:
- 100.10.0
-
getHdop
public double getHdop()
Gets the HDOP (horizontal dilution of precision) of the location, 0.5 through 99.9.- Returns:
- the HDOP (horizontal dilution of precision) of the location, 0.5 through 99.9
- Since:
- 100.10.0
-
getHeightAboveGeoid
public double getHeightAboveGeoid()
Gets the height above the geoid surface in meters.- Returns:
- the height above the geoid surface in meters
- Since:
- 100.10.0
-
getPdop
public double getPdop()
Gets the PDOP (positional dilution of precision) of the location 0.5 through 99.9.- Returns:
- the PDOP (positional dilution of precision) of the location 0.5 through 99.9
- Since:
- 100.10.0
-
getReceivedPosition
public Point getReceivedPosition()
Gets the position originally returned by the receiver. If the incoming data was projected this position may differ fromLocationDataSource.Location.getPosition()
.- Returns:
- the position originally returned by the receiver
- Since:
- 100.10.0
-
getReferenceStationId
public int getReferenceStationId()
Gets the reference station ID of the location.- Returns:
- the reference station ID of the location
- Since:
- 100.10.0
-
getSatellites
public java.util.List<NmeaSatelliteInfo> getSatellites()
Gets the satellites info of the location.- Returns:
- the satellites info of the location
- Since:
- 100.10.0
-
getVdop
public double getVdop()
Gets the VDOP (vertical dilution of precision) of the location, 0.5 through 99.9.- Returns:
- the VDOP (vertical dilution of precision) of the location, 0.5 through 99.9
- Since:
- 100.10.0
-
getInternal
public com.esri.arcgisruntime.internal.jni.CoreNMEALocation getInternal()
-
-