NavmiiSDK
Write yourself a navigation system in iOS
Instance Methods | List of all members
<NMOnRouteDelegate> Protocol Reference

#import <NMOnRouteDelegate.h>

Inherits <NSObject>.

Instance Methods

(void) - onDirectionUpdated:secondDirection:firstRoundaboutAngle:secondRoundaboutAngle:roundaboutExitNumber:currentRoadName:distanceToDirection:passedDistance:distanceToDestination:timeToDestination:
 
(void) - onDirectionListCreated
 
(void) - onWaypointPassed
 
(void) - onArrivalPointReached
 

Detailed Description

Route event listener

Method Documentation

- (void) onArrivalPointReached
optional

Tells the delegate that arrival point is reached

- (void) onDirectionListCreated
optional

Tells the delegate that route is calculated and direction list is created

- (void) onDirectionUpdated: (NMDirectionType)  firstDirection
secondDirection: (NMDirectionType)  secondDirection
firstRoundaboutAngle: (NSInteger)  firstRoundaboutAngle
secondRoundaboutAngle: (NSInteger)  secondRoundaboutAngle
roundaboutExitNumber: (NSInteger)  roundaboutExitNumber
currentRoadName: (NSString *)  currentRoadName
distanceToDirection: (CGFloat)  distanceToDirection
passedDistance: (CGFloat)  passedDistance
distanceToDestination: (CGFloat)  distanceToDestination
timeToDestination: (long long)  timeToDestination 
optional

Tells the delegate that direction is updated

Parameters
firstDirectionFirst direction at current position
secondDirectionSecond direction at current position
distanceToDirectionDistance from current position to direction in meters
distanceToDestinationDistance to destination in meters
timeToDestinationTime to destination in seconds
- (void) onWaypointPassed
optional

Tells the delegate that waypoint is passed


The documentation for this protocol was generated from the following file: