GeoClueClient class

Retrieves location information and receives location update events from the the GeoClue service.

Constructors

GeoClueClient(DBusRemoteObject _object)
@internal

Properties

active bool
Whether the client is currently active.
no setter
desktopId String
The desktop file ID (the basename of the desktop file).
no setter
distanceThreshold int
The current distance threshold in meters.
no setter
hashCode int
The hash code for this object.
no setterinherited
location GeoClueLocation?
Returns the last known location.
no setter
locationUpdated Stream<GeoClueLocation>
A stream of location updates.
no setter
propertiesChanged Stream<List<String>>
Stream of property names as they change.
no setter
requestedAccuracyLevel GeoClueAccuracyLevel
The level of accuracy requested by the client.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeThreshold int
The current time threshold in seconds.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDesktopId(String id) Future<void>
Sets the desktop file ID (the basename of the desktop file). To take effect, must be used before calling start.
setDistanceThreshold(int threshold) Future<void>
Sets the distance threshold in meters. To take effect, must be used before calling start. See also:
setRequestedAccuracyLevel(GeoClueAccuracyLevel level) Future<void>
Sets the requested accuracy level. To take effect, must be used before calling start.
setTimeThreshold(int threshold) Future<void>
Sets the time threshold in seconds. To take effect, must be used before calling start.
start() Future<void>
Start receiving events about the current location.
stop() Future<void>
Stop receiving events about the current location.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited