Class is used for managing RouteSessions. More...
#include <com/navigine/idl/objc/NCAsyncRouteManager.h>
Inherits NSObject.
Instance Methods | |
(nullable NCRouteSession *) | - createRouteSession:routeOptions: |
Method is used to create routing session with 'default' graph tag. | |
(nullable NCRouteSession *) | - createRouteSessionWithTag:routeOptions:tag: |
Creates a routing session using a specific graph tag. | |
(void) | - cancelRouteSession: |
Method is used to cancel routing session. | |
Class is used for managing RouteSessions.
Referenced from NavigineSdk.
Definition at line 20 of file NCAsyncRouteManager.h.
- (void) cancelRouteSession: | (nullable NCRouteSession *) | session |
Method is used to cancel routing session.
session | RouteSession object to cancel. |
- (nullable NCRouteSession *) createRouteSession: | (nonnull NCLocationPoint *) | wayPoint | |
routeOptions: | (nonnull NCRouteOptions *) | routeOptions |
Method is used to create routing session with 'default' graph tag.
wayPoint | destination point. |
routeOptions | params of RouteSession. |
- (nullable NCRouteSession *) createRouteSessionWithTag: | (nonnull NCLocationPoint *) | wayPoint | |
routeOptions: | (nonnull NCRouteOptions *) | routeOptions | |
tag: | (nonnull NSString *) | tag |
Creates a routing session using a specific graph tag.
Initializes a RouteSession for building a route to the given waypoint using the specified routing options and graph tag. If the specified tag is not present in the current location (i.e., the corresponding sublocation graph is not yet available), the returned RouteSession will produce an empty route and will not trigger any listeners until the location data for that tag becomes available (e.g., after a location update).
wayPoint | Destination point for the route. |
routeOptions | Routing parameters RouteSession used to build the route. |
tag | Graph tag identifying which sublocation graph to use. Sublocation |