LocationManager class abstract

@ingroup navigine_dart_classes @ingroup navigine_dart_managers @brief Class is used for downloading and working with @see Location "Location".

Referenced from @see NavigineSdk "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
@brief Method is used to add @see LocationListener "LocationListener" element which will notify about newly downloaded and set location. @note Do not forget to remove listener if it is no longer needed! @param listener Сorresponding @see LocationListener "LocationListener" class.
commitChanges() → void
@cond
getLocationId() int
@brief Method returns current location unique identifier @return current location unique identifier
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeLocationListener(LocationListener listener) → void
@brief Method is used for removing previously added @see LocationListener "LocationListener" class element. @param listener Сorresponding @see LocationListener "LocationListener" class to remove.
revertChanges() → void
setLocationId(int locationId) → void
@brief 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 @see LocationListener "LocationListener" @param locationId location id from CMS
setLocationUpdateInterval(int interval) → void
@endcond
toString() String
A string representation of this object.
inherited

Operators

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