Inheritance diagram for NavigationManagerExample:Public Member Functions | |
| void | demonstrateNavigationManagerMethods () |
| void | demonstrateLocationManagerIntegration () |
| void | demonstrateAdvancedNavigationFeatures () |
| void | cleanup () |
| (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. | |
Public Attributes | |
| NavigineSdk | _sdk |
| LocationManager | _locationManager |
| NavigationManager | _navigationManager |
| PositionListener | _positionListener |
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.
|
inline |
Clean up resources
Definition at line 380 of file NavigationManagerExample.m.
|
inline |
Demonstrate advanced navigation features
Definition at line 298 of file NavigationManagerExample.m.
|
inline |
Demonstrate LocationManager integration
Definition at line 262 of file NavigationManagerExample.m.
|
inline |
Demonstrate NavigationManager methods
Definition at line 75 of file NavigationManagerExample.m.
| - (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:
| LocationManager NavigationManagerExample._locationManager |
Definition at line 11 of file navigation_manager_example.dart.
| NavigationManager NavigationManagerExample._navigationManager |
Definition at line 12 of file navigation_manager_example.dart.
| PositionListener NavigationManagerExample._positionListener |
Definition at line 13 of file navigation_manager_example.dart.
| NavigineSdk NavigationManagerExample._sdk |
Definition at line 10 of file navigation_manager_example.dart.
|
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.