class NCRouteEvent - Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0 GitHub Wiki
NCRouteEvent class is used for storing the route path events.
Referenced from: NCRoutePath.
@interface NCRouteEvent : NSObject
@property (nonatomic, readonly) NCRouteEventType type;
@property (nonatomic, readonly) int32_t value;
@property (nonatomic, readonly) float distance;
@end
-
type
- element of NS_ENUM RouteEventType (one onTURN_LEFT
,TURN_RIGHT
orTRANSITION
) -
value
- event value, which's meaning depends on the event type:- for events of the type
TURN_LEFT
it means turning angle in degrees in counter-clockwise direction; - for events of the type
TURN_RIGHT
it means turning angle in degrees in clockwise direction; - for events of the type
TRANSITION
it means the sublocation identifier to which the transition should be done.
- for events of the type
-
distance
- distance from the beginning of the path to the current route event (in meters)