Loading...
Searching...
No Matches

Class is used for storing the route path events. More...

#include <com/navigine/idl/objc/NCRouteEvent.h>

Inherits NSObject.

Instance Methods

(nonnull instancetype) - initWithType:value:distance:
 Default constructor for class NCRouteEvent.
 

Class Methods

(nonnull instancetype) + routeEventWithType:value:distance:
 Factory method for class NCRouteEvent.
 

Properties

NCRouteEventType type
 Incoming event type RouteEventType.
 
int32_t value
 Indicates angle in degrees for TURN_LEFT/TURN_RIGHT types RouteEventType and target sublocation unique identifier if type is TRANSITION Sublocation.
 
float distance
 distance from the beginning of the route to incoming event in meters.
 

Detailed Description

Class is used for storing the route path events.

Referenced from: RoutePath.

Definition at line 19 of file NCRouteEvent.h.

Method Documentation

◆ initWithType:value:distance:

- (nonnull instancetype) initWithType: (NCRouteEventType) type
value: (int32_t) value
distance: (float) distance 

Default constructor for class NCRouteEvent.

◆ routeEventWithType:value:distance:

+ (nonnull instancetype) routeEventWithType: (NCRouteEventType) type
value: (int32_t) value
distance: (float) distance 

Factory method for class NCRouteEvent.

Property Documentation

◆ distance

- (float) distance
readnonatomicassign

distance from the beginning of the route to incoming event in meters.

Definition at line 49 of file NCRouteEvent.h.

◆ type

- (NCRouteEventType) type
readnonatomicassign

Incoming event type RouteEventType.

Definition at line 38 of file NCRouteEvent.h.

◆ value

- (int32_t) value
readnonatomicassign

Indicates angle in degrees for TURN_LEFT/TURN_RIGHT types RouteEventType and target sublocation unique identifier if type is TRANSITION Sublocation.

Definition at line 44 of file NCRouteEvent.h.


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