LocationManager class abstract

Class is used for downloading and working with Location. Referenced from NavigineSdk.

Implemented types
Implementers

Constructors

LocationManager()

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

addLocationListener(LocationListener listener) → void
Method is used to add LocationListener element which will notify about newly downloaded and set location. Note: Do not forget to remove listener if it is no longer needed! listener Corresponding LocationListener class.
commitChanges() → void
getLocationId() int
Method returns current location unique identifier Returns current location unique identifier
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeLocationListener(LocationListener listener) → void
Method is used for removing previously added LocationListener class element. listener Corresponding LocationListener class to remove.
revertChanges() → void
setLocationId(int locationId) → void
Method is used for setting current location, which will be downloaded from server or from storage, if it was downloaded before. Result will be handled by LocationListener locationId location id from CMS
setLocationUpdateInterval(int interval) → void
Method is used to change interval in seconds check for new version from server Default: 300s interval update interval in seconds
toString() String
A string representation of this object.
inherited

Operators

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