Class NCRouteManager - Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0 GitHub Wiki
NCRouteManager class is used for evaluating route path from point to point.
Referenced from: NCNavigineSdk.
Public methods
Function addRouteListener
- (void)addRouteListener:(nullable id<NCRouteListener>)listener;
Function is used for adding NCRouteListener class element which will notify about evaluated route path from your position to target point.
Parameters
listener
— NCRouteListener class element.
Function removeRouteListener
- (void)removeRouteListener:(nullable id<NCRouteListener>)listener;
Function is used for removing previously added NCRouteListener class element.
Parameters
listener
— NCRouteListener class element.
Function setTarget
- (void)setTarget:(nonnull NCLocationPoint *)target;
Function is used for setting target point in your location. Through listener you will be notified about new paths to target point.
Parameters
target
— NCLocationPoint class element, shows the metric coordinates to the target point in your sublocation.
Function addTarget
- (void)addTarget:(nonnull NCLocationPoint *)target;
Function is used for adding target point in your location. Through listener you will be notified about all the paths to all target points you added.
Parameters
target
— NCLocationPoint class element, shows the metric coordinates to the target point in your sublocation.
Function clearTargets
- (void)clearTargets;
Function is used for removing all the target points to where the routes were built.