Skip to content

Class LocationListManager

Pavel Tychinin edited this page Mar 27, 2024 · 3 revisions

LocationListManager class is used for downloading locations list from the server and providing it to the user.

Referenced from: NavigineSdk.

Public methods

Function addLocationListListener

public abstract void addLocationListListener(LocationListListener listener);

Function is used for adding LocationListListener class element which will notify about newly downloaded location info list.

Parameters

Function removeLocationListListener

public abstract void removeLocationListListener(LocationListListener listener);

Function is used for removing previously added LocationListListener class element.

Parameters

Function updateLocationList

public abstract void updateLocationList();

The function is used to force update of the location info list

Function getLocationList

public abstract HashMap<Integer, LocationInfo> getLocationList();

The function is used to get current list of available locations info

Clone this wiki locally