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. | |
Class is used for storing the route path events.
Referenced from: RoutePath.
Definition at line 19 of file NCRouteEvent.h.
| - (nonnull instancetype) initWithType: | (NCRouteEventType) | type | |
| value: | (int32_t) | value | |
| distance: | (float) | distance |
Default constructor for class NCRouteEvent.
| + (nonnull instancetype) routeEventWithType: | (NCRouteEventType) | type | |
| value: | (int32_t) | value | |
| distance: | (float) | distance |
Factory method for class NCRouteEvent.
|
readnonatomicassign |
distance from the beginning of the route to incoming event in meters.
Swift code snippet:
Objective C code snippet:
Definition at line 76 of file NCRouteEvent.h.
|
readnonatomicassign |
Incoming event type RouteEventType.
Swift code snippet:
Objective C code snippet:
Definition at line 47 of file NCRouteEvent.h.
|
readnonatomicassign |
Indicates angle in degrees for TURN_LEFT/TURN_RIGHT types RouteEventType and target sublocation unique identifier if type is TRANSITION Sublocation.
Swift code snippet:
Objective C code snippet:
Definition at line 62 of file NCRouteEvent.h.