GeoClue class

Simplified convenience API

This class makes it straightforward to get the last known location, and to monitor location updates. It takes care of creating and managing the GeoClueManager and GeoClueClient instances.

See also:

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getLocation({GeoClueManager? manager, String? desktopId, GeoClueAccuracyLevel? accuracyLevel, int? distanceThreshold, int? timeThreshold}) Future<GeoClueLocation>
Returns the current location or waits for a location update if unknown.
getLocationUpdates({GeoClueManager? manager, String? desktopId, GeoClueAccuracyLevel? accuracyLevel, int? distanceThreshold, int? timeThreshold}) Stream<GeoClueLocation>
Returns a stream of location updates.