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
38@property (nonatomic, readonly) NCRouteEventType type;
39
44@property (nonatomic, readonly) int32_t value;
45
49@property (nonatomic, readonly) float distance;
50
51@end