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
waypaththe 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
errorThe exception that was raised during waypath finding.
-
Called when turn by turn directions are completed
Declaration
Swift
- (void)didFinishCreatingTurnByTurnDirections: (NSArray<VMMSMapDirectionStep *> *)turnByTurnDirections;Parameters
turnByTurnDirectionslist of directions
-
Called when the system is unable to generate turn by turn directions
Declaration
Swift
- (void)didFailToCreateTurnByTurnDirectionsWithError:(NSError *)error;Parameters
errorthe exception that was raised
VMMSWayfindingDelegate Protocol Reference