Class provides a callback to be invoked when LocationListManager class downloads list of available locations from server. More...
#include <com/navigine/idl/objc/NCLocationListListener.h>
Inherits <NSObject>.
Instance Methods | |
| (void) | - onLocationListLoaded: |
| Called when new list of available locations has been downloaded from server. | |
| (void) | - onLocationListFailed: |
| Called if unable to download list of available locations. | |
Class provides a callback to be invoked when LocationListManager class downloads list of available locations from server.
Referenced from LocationListManager.
Definition at line 20 of file NCLocationListListener.h.
| - (void) onLocationListFailed: | (nullable NSError *) | error |
Called if unable to download list of available locations.
| error | handled error. |
Swift code snippet:
Objective C code snippet:
| - (void) onLocationListLoaded: | (nonnull NSDictionary< NSNumber *, NCLocationInfo * > *) | locationInfos |
Called when new list of available locations has been downloaded from server.
| locationInfos | dictionary of LocationInfos which represents location id to location general info. |
Swift code snippet:
Objective C code snippet: