![]() |
![]() |
![]() |
Gypsy Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Implemented Interfaces | Properties | Signals |
org.freedesktop.Gypsy.Positionorg.freedesktop.Gypsy.Position — Position interface |
GetPosition (out 'i'fields, out 'i'timestamp, out 'd'latitude, out 'd'longitude, out 'd'altitude)
org.freedesktop.Gypsy.Position implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties
Position objects are used to obtain the current position (longitude,
latitude, altitude) of the GPS. The current position can be obtained
with GetPosition()
, and PositionChanged
signals are emitted when the position changes.
GetPosition (out 'i' fields, out 'i' timestamp, out 'd' latitude, out 'd' longitude, out 'd' altitude)
|
Bitfield specifying what fields are set. 1: None, 2: Longitude, 4: Latitude, 8: Altitude. |
|
The timestamp that this position was determined. |
|
The latitude in fractional degrees. |
|
The longitude in fractional degrees. |
|
The altitude in metres. |
PositionChanged ('i' fields, 'i' timestamp, 'd' latitude, 'd' longitude, 'd' altitude)
|
Bitfield specifying what fields are set. 1: None, 2: Longitude, 4: Latitude, 8: Altitude. |
|
The timestamp that this position was determined. |
|
The latitude in fractional degrees. |
|
The longitude in fractional degrees. |
|
The altitude in metres. |