LocationManager class abstract

LocationManager listens to position updates and provides the map-matched location using the LocationManagerListener.

Note: This is a beta release of this feature. There may be bugs and unexpected behaviors. Related APIs may change in future releases without a deprecation process.

Implemented types

Constructors

LocationManager(SDKNativeEngine sdkEngine)
Creates a new instance of LocationManager.
factory

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

addMatchedLocationListener(MatchedLocationListener matchedLocationListener) → void
Adds the MatchedLocationListener to the subscribtion list.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onLocationUpdated(Location location) → void
Called each time a new location is available.
inherited
removeMatchedLocationListener(MatchedLocationListener matchedLocationListener) → void
Removes the MatchedLocationListener from the subscribtion list.
setMapMatcher(MapMatcher? mapMatcher) → void
Sets the MapMatcher for exclusive use by LocationManager.
takeMapMatcher() MapMatcher?
Retrieves and removes the MapMatcher from LocationManager.
toString() → String
A string representation of this object.
inherited

Operators

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