org.freedesktop.GeoClue2.Location

org.freedesktop.GeoClue2.Location — The Location interface

Properties

Latitude     readable   d
Longitude    readable   d
Accuracy     readable   d
Altitude     readable   d
Speed        readable   d
Heading      readable   d
Description  readable   s

Description

This is the interface you use on location objects.

Property Details

The "Latitude" property

Latitude  readable   d

The latitude of the location, in degrees.


The "Longitude" property

Longitude  readable   d

The longitude of the location, in degrees.


The "Accuracy" property

Accuracy  readable   d

The accuracy of the location fix, in meters.


The "Altitude" property

Altitude  readable   d

The altitude of the location fix, in meters. When unknown, its set to minimum double value, -1.7976931348623157e+308.


The "Speed" property

Speed  readable   d

The speed in meters per second. When unknown, it's set to -1.0.


The "Heading" property

Heading  readable   d

The heading direction in degrees with respect to North direction, in clockwise order. That means North becomes 0 degree, East: 90 degrees, South: 180 degrees, West: 270 degrees and so on. When unknown, it's set to -1.0.


The "Description" property

Description  readable   s

A human-readable description of the location, if available.

WARNING: Applications should not rely on this property since not all sources provide a description. If you really need a description (or more details) about current location, use a reverse-geocoding API, e.g geocode-glib.