LocationListManager class abstract

@ingroup navigine_dart_classes @ingroup navigine_dart_managers @brief Class is used for downloading locations list from the server and providing it to the user.

Referenced from @see NavigineSdk "NavigineSdk".

Implemented types
Implementers

Constructors

LocationListManager()

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

addLocationListListener(LocationListListener listener) → void
@brief Method is used to add @see LocationListListener "LocationListListener" element which will notify about newly downloaded list of available locations. @note Do not forget to remove listener if it is no longer needed! @param listener Сorresponding @see LocationListListener "LocationListListener" class.
getLocationList() Map<int, LocationInfo>
@brief Method is used to get current location list @see LocationInfo "LocationInfo". @return dictionary {location_id -> location_info}
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeLocationListListener(LocationListListener listener) → void
@brief Method is used for removing previously added @see LocationListListener "LocationListListener" class element. @param listener Сorresponding @see LocationListListener "LocationListListener" class to remove.
toString() String
A string representation of this object.
inherited
updateLocationList() → void
@brief Method is used to force reload location list.

Operators

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