public static class LocationData.Location extends Object
| Constructor and Description |
|---|
Location(Position position,
Altitude altitude,
HDOP hDOP)
Constructor.
|
Location(Position position,
Altitude altitude,
HDOP hDOP,
Depth depth)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
LocationData.Location |
clone() |
Altitude |
getAltitude()
Get the current altitude
|
Depth |
getDepth()
Get the current depth
|
HDOP |
getHDOP()
Get the current HDOP
|
Position |
getPosition()
Get the current position
|
LocationData.Location |
set(Position position,
Altitude altitude,
HDOP hDOP)
Update gps Location data.
|
protected LocationData.Location |
setDepth(Depth depth)
Update depth Location data
|
public Location(Position position, Altitude altitude, HDOP hDOP)
position - the positionaltitude - the altitudehDOP - the HDOPpublic LocationData.Location clone()
public final LocationData.Location set(Position position, Altitude altitude, HDOP hDOP)
position - the positionaltitude - the altitudehDOP - the HDOPprotected final LocationData.Location setDepth(Depth depth)
depth - the depthpublic final Position getPosition()
public final HDOP getHDOP()
public final Altitude getAltitude()
public final Depth getDepth()
Copyright © 2017. All rights reserved.