VMMSWayfindingDelegate
@protocol VMMSWayfindingDelegate <NSObject>
The VMMSMapDelegate protocol defines the required and optional methods for an object to implement.
Since
1.1-
Called when wayfinding path is found
Declaration
Swift
- (void)didFinishFindingWaypath:(VMMSWaypath *)waypath;
Parameters
waypath
the Waypath that leads from the starting point to the ending point
-
Called when an error occurred while attemtping to find a waypath.
Declaration
Swift
- (void)didFailToFindWaypathWithError:(NSError *)error;
Parameters
error
The exception that was raised during waypath finding.
-
Called when turn by turn directions are completed
Declaration
Swift
- (void)didFinishCreatingTurnByTurnDirections: (NSArray<VMMSMapDirectionStep *> *)turnByTurnDirections;
Parameters
turnByTurnDirections
list of directions
-
Called when the system is unable to generate turn by turn directions
Declaration
Swift
- (void)didFailToCreateTurnByTurnDirectionsWithError:(NSError *)error;
Parameters
error
the exception that was raised