location property

GeoClueLocation? location

Returns the last known location.

Please note that this returns null initially, until Geoclue finds user's location. You want to delay reading this property until your callback to "LocationUpdated" signal is called for the first time after starting the client.

Implementation

GeoClueLocation? get location => _location;