![]() |
![]() |
![]() |
Geoclue Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Properties | Signals |
org.freedesktop.GeoClue2.Clientorg.freedesktop.GeoClue2.Client — The Application-specific client API |
This is the interface you use to retrieve location information and receive location update signals from GeoClue service. You get the client object to use this interface on from GetClient() method.
Start ();
Start receiving events about the current location. Applications should hook-up to "LocationUpdated" signal before calling this method.
LocationUpdated (o old, o new);
The signal is emitted every time the location changes. The client should set the DistanceThreshold property to control how often this signal is emitted.
|
old location as path to a org.freedesktop.GeoClue2.Location object |
|
new location as path to a org.freedesktop.GeoClue2.Location object |
Location readable o
Current location as path to a org.freedesktop.GeoClue2.Location object.
DistanceThreshold readwrite u
Contains the current distance threshold in meters. This value is used by the service when it gets new location info. If the distance moved is below the threshold, it won't emit the LocationUpdated signal.