Loading...
Searching...
No Matches
NCLocationListManager Class Reference

Class is used for downloading locations list from the server and providing it to the user. More...

#include <com/navigine/idl/objc/NCLocationListManager.h>

Inherits NSObject.

Instance Methods

(void) - addLocationListListener:
 Method is used to add LocationListListener element which will notify about newly downloaded list of available locations.
 
(void) - removeLocationListListener:
 Method is used for removing previously added LocationListListener class element.
 
(void) - updateLocationList
 Method is used to force reload location list.
 
(nonnull NSDictionary< NSNumber *, NCLocationInfo * > *) - getLocationList
 Method is used to get current location list LocationInfo.
 

Detailed Description

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

Referenced from NavigineSdk.

Definition at line 19 of file NCLocationListManager.h.

Method Documentation

◆ addLocationListListener:

- (void) addLocationListListener: (nullable id< NCLocationListListener >) listener

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!
Parameters
listenerСorresponding LocationListListener class.

◆ getLocationList

- (nonnull NSDictionary< NSNumber *, NCLocationInfo * > *) getLocationList

Method is used to get current location list LocationInfo.

Returns
dictionary {location_id -> location_info}

◆ removeLocationListListener:

- (void) removeLocationListListener: (nullable id< NCLocationListListener >) listener

Method is used for removing previously added LocationListListener class element.

Parameters
listenerСorresponding LocationListListener class to remove.

◆ updateLocationList

- (void) updateLocationList

Method is used to force reload location list.


The documentation for this class was generated from the following file: