Loading...
Searching...
No Matches
NCRouteSimulator.h
Go to the documentation of this file.
1#import "NCExport.h"
4#import <Foundation/Foundation.h>
5@protocol NCRouteSimulatorListener;
6
7
25DEFAULT_EXPORT_ATTRIBUTE
26@interface NCRouteSimulator : NSObject
27
42- (BOOL)setGeometry:(nonnull NSArray<NCLocationPolyline *> *)polylines;
43
57- (void)setSpeed:(float)metersPerSecond;
58
63- (float)speed;
64
79- (BOOL)start;
80
85- (void)stop;
86
91- (BOOL)active;
92
107
108- (void)addListener:(nullable id<NCRouteSimulatorListener>)listener;
109
110- (void)removeListener:(nullable id<NCRouteSimulatorListener>)listener;
111
118@property (nonatomic, readonly, getter=isValid) BOOL valid;
119
120@end