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. | |
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.
| - (void) addLocationListListener: | (nullable id< NCLocationListListener >) | listener |
Method is used to add LocationListListener element which will notify about newly downloaded list of available locations.
| listener | Сorresponding LocationListListener class. |
Swift code snippet:
Objective C code snippet:
| - (nonnull NSDictionary< NSNumber *, NCLocationInfo * > *) getLocationList |
Method is used to get current location list LocationInfo.
Swift code snippet:
Objective C code snippet:
| - (void) removeLocationListListener: | (nullable id< NCLocationListListener >) | listener |
Method is used for removing previously added LocationListListener class element.
| listener | Сorresponding LocationListListener class to remove. |
Swift code snippet:
Objective C code snippet:
| - (void) updateLocationList |
Method is used to force reload location list.
Swift code snippet:
Objective C code snippet: