LocationListManager class abstract
Class is used for downloading locations list from the server and providing it to the user. Referenced from NavigineSdk.
- Implemented types
- Implementers
Constructors
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 -
Method is used to add 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!
listenerCorresponding LocationListListener class. -
getLocationList(
) → Map< int, LocationInfo> - Method is used to get current location list LocationInfo. Returns dictionary {location_id -> location_info}
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeLocationListListener(
LocationListListener listener) → void -
Method is used for removing previously added LocationListListener class element.
listenerCorresponding LocationListListener class to remove. -
toString(
) → String -
A string representation of this object.
inherited
-
updateLocationList(
) → void - Method is used to force reload location list.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited