Loading...
Searching...
No Matches
NCRouteEvent.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCRouteEventType.h"
3#import <Foundation/Foundation.h>
4
18DEFAULT_EXPORT_ATTRIBUTE
19@interface NCRouteEvent : NSObject
20
24- (nonnull instancetype)initWithType:(NCRouteEventType)type
25 value:(int32_t)value
26 distance:(float)distance;
27
31+ (nonnull instancetype)routeEventWithType:(NCRouteEventType)type
32 value:(int32_t)value
33 distance:(float)distance;
34
47@property (nonatomic, readonly) NCRouteEventType type;
48
62@property (nonatomic, readonly) int32_t value;
63
76@property (nonatomic, readonly) float distance;
77
78@end