Loading...
Searching...
No Matches
NCRouteInstruction.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCGlobalPoint.h"
4#import <Foundation/Foundation.h>
5
22DEFAULT_EXPORT_ATTRIBUTE
23@interface NCRouteInstruction : NSObject
24
28- (nonnull instancetype)initWithType:(NCRouteAnnotationType)type
29 point:(nonnull NCGlobalPoint *)point
30 sublocationId:(nullable NSNumber *)sublocationId
31 distance:(float)distance
32 title:(nullable NSString *)title;
33
37+ (nonnull instancetype)routeInstructionWithType:(NCRouteAnnotationType)type
38 point:(nonnull NCGlobalPoint *)point
39 sublocationId:(nullable NSNumber *)sublocationId
40 distance:(float)distance
41 title:(nullable NSString *)title;
42
46@property (nonatomic, readonly) NCRouteAnnotationType type;
47
51@property (nonatomic, readonly, nonnull) NCGlobalPoint * point;
52
56@property (nonatomic, readonly, nullable) NSNumber * sublocationId;
57
61@property (nonatomic, readonly) float distance;
62
66@property (nonatomic, readonly, nullable) NSString * title;
67
68@end