Class provides a callback to be invoked when LocationManager class downloads the location from server or load it from the storage. More...
#include <com/navigine/idl/objc/NCLocationListener.h>
Inheritance diagram for <NCLocationListener>:Instance Methods | |
| (void) | - onLocationLoaded: |
| Called when new location version has been downloaded from server or load it from the storage. | |
| (void) | - onLocationFailed:error: |
| Called if unable to download location version from CMS. | |
Class provides a callback to be invoked when LocationManager class downloads the location from server or load it from the storage.
Referenced from LocationManager.
Definition at line 20 of file NCLocationListener.h.
| - (void) onLocationFailed: | (int32_t) | locationId | |
| error: | (nullable NSError *) | error |
Called if unable to download location version from CMS.
| locationId | location unique identifier in SMC. |
| error | handled error. |
Swift code snippet:
Objective C code snippet:
| - (void) onLocationLoaded: | (nullable NCLocation *) | location |
Called when new location version has been downloaded from server or load it from the storage.
| location | Location instance or nil if server url or USER_HASH was changed. |
Swift code snippet:
Objective C code snippet: