Inheritance diagram for NavigationManagerExample:Public Member Functions | |
| (void) | - onPositionUpdated: |
| Called when new position has been calculated. | |
| (void) | - onPositionError: |
| Called if unable to calculate user's position. | |
| (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. | |
Properties | |
| NCNavigineSdk * | sdk |
| NCLocationManager * | locationManager |
| NCNavigationManager * | navigationManager |
NavigationManager usage example for Dart/Flutter Demonstrates working with navigation, positioning, and location tracking
NavigationManager usage example for Objective-C Demonstrates working with navigation, positioning, and location tracking
Definition at line 9 of file navigation_manager_example.dart.
| - (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:
| - (void) onPositionError: | (nullable NSError *) | error |
Called if unable to calculate user's position.
| error | handled error. |
Swift code snippet:
Objective C code snippet:
| - (void) onPositionUpdated: | (nonnull NCPosition *) | position |
Called when new position has been calculated.
| position | current user Position. |
Swift code snippet:
Objective C code snippet:
|
readwritenonatomicstrong |
Definition at line 19 of file NavigationManagerExample.m.
|
readwritenonatomicstrong |
Definition at line 20 of file NavigationManagerExample.m.
|
readwritenonatomicstrong |
Definition at line 18 of file NavigationManagerExample.m.