Inheritance diagram for AsyncRouteManagerExample:Public Member Functions | |
| void | initializeSdk () |
| void | setupAsyncRouteListener () |
| void | demonstrateAsyncRouteManagerMethods () |
| void | demonstrateRoutePathUsage: (NCRoutePath *routePath) |
| void | demonstrateRouteEventUsage: (NCRouteEvent *event) |
| void | demonstrateRouteEventTypes () |
| void | demonstrateLocationPointUsage: (NCLocationPoint *locationPoint) |
| void | demonstratePointUsage: (NCPoint *point) |
| void | demonstrateRouteOptions () |
| void | demonstrateAdvancedAsyncRoutingFeatures () |
| void | demonstrateRouteSessionManagement () |
| void | cleanup () |
| void | runExample () |
| (void) | - onRouteChanged:currentPath: |
| Called when new route was built or old route was rebuilt after missing previouse one. | |
| (void) | - onRouteAdvanced:point: |
Called when user has progressed along the route that was built in the method onRouteChanged | |
Properties | |
| NCNavigineSdk * | sdk |
| NCLocationManager * | locationManager |
| NCNavigationManager * | navigationManager |
| NCAsyncRouteManager * | asyncRouteManager |
| NCRouteSession * | currentSession |
AsyncRouteManager usage example for Dart/Flutter Demonstrates working with async route planning, session management, and navigation
AsyncRouteManager usage example for Objective-C Demonstrates working with async route planning, session management, and navigation
Definition at line 9 of file async_route_manager_example.dart.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Demonstrate LocationPoint usage
Definition at line 234 of file AsyncRouteManagerExample.m.
|
virtual |
Demonstrate Point usage
Definition at line 269 of file AsyncRouteManagerExample.m.
|
virtual |
|
virtual |
Demonstrate RouteEvent usage
Definition at line 182 of file AsyncRouteManagerExample.m.
|
virtual |
|
virtual |
Demonstrate RoutePath usage
Definition at line 132 of file AsyncRouteManagerExample.m.
|
virtual |
|
virtual |
Definition at line 43 of file AsyncRouteManagerExample.m.
| - (void) onRouteAdvanced: | (float) | distance | |
| point: | (nonnull NCLocationPoint *) | point |
Called when user has progressed along the route that was built in the method onRouteChanged
| distance | distance from the beginning or the route (unit meters) |
| point | current location point on the route |
Swift code snippet:
Objective C code snippet:
| - (void) onRouteChanged: | (NCRouteStatus) | status | |
| currentPath: | (nullable NCRoutePath *) | currentPath |
Called when new route was built or old route was rebuilt after missing previouse one.
| status | RouteStatus indicating the current router state |
| currentPath | RoutePath from current postion to destination point (null if status is not new_route) |
Swift code snippet:
Objective C code snippet:
|
virtual |
|
virtual |
Setup async route listener
Definition at line 86 of file AsyncRouteManagerExample.m.
|
readwritenonatomicstrong |
Definition at line 13 of file AsyncRouteManagerExample.m.
|
readwritenonatomicstrong |
Definition at line 14 of file AsyncRouteManagerExample.m.
|
readwritenonatomicstrong |
Definition at line 11 of file AsyncRouteManagerExample.m.
|
readwritenonatomicstrong |
Definition at line 12 of file AsyncRouteManagerExample.m.
|
readwritenonatomicstrong |
Definition at line 10 of file AsyncRouteManagerExample.m.