|
2 | 2 | // This file was generated by Djinni from position.djinni
|
3 | 3 |
|
4 | 4 | #import "NCExport.h"
|
5 |
| -#import "NCPoint.h" |
| 5 | +#import "NCGlobalPoint.h" |
| 6 | +#import "NCLocationPoint.h" |
6 | 7 | #import <Foundation/Foundation.h>
|
7 | 8 |
|
8 | 9 | DEFAULT_EXPORT_ATTRIBUTE
|
9 | 10 | @interface NCPosition : NSObject
|
10 |
| -- (nonnull instancetype)initWithPoint:(nonnull NCPoint *)point |
11 |
| - locationId:(int32_t)locationId |
12 |
| - sublocationId:(int32_t)sublocationId |
13 |
| - accuracy:(float)accuracy |
14 |
| - azimuth:(float)azimuth; |
15 |
| -+ (nonnull instancetype)positionWithPoint:(nonnull NCPoint *)point |
16 |
| - locationId:(int32_t)locationId |
17 |
| - sublocationId:(int32_t)sublocationId |
18 |
| - accuracy:(float)accuracy |
19 |
| - azimuth:(float)azimuth; |
| 11 | +- (nonnull instancetype)initWithPoint:(nonnull NCGlobalPoint *)point |
| 12 | + accuracy:(double)accuracy |
| 13 | + heading:(nullable NSNumber *)heading |
| 14 | + locationPoint:(nullable NCLocationPoint *)locationPoint |
| 15 | + locationHeading:(nullable NSNumber *)locationHeading; |
| 16 | ++ (nonnull instancetype)positionWithPoint:(nonnull NCGlobalPoint *)point |
| 17 | + accuracy:(double)accuracy |
| 18 | + heading:(nullable NSNumber *)heading |
| 19 | + locationPoint:(nullable NCLocationPoint *)locationPoint |
| 20 | + locationHeading:(nullable NSNumber *)locationHeading; |
20 | 21 |
|
21 |
| -@property (nonatomic, readonly, nonnull) NCPoint * point; |
| 22 | +@property (nonatomic, readonly, nonnull) NCGlobalPoint * point; |
22 | 23 |
|
23 |
| -@property (nonatomic, readonly) int32_t locationId; |
| 24 | +@property (nonatomic, readonly) double accuracy; |
24 | 25 |
|
25 |
| -@property (nonatomic, readonly) int32_t sublocationId; |
| 26 | +@property (nonatomic, readonly, nullable) NSNumber * heading; |
26 | 27 |
|
27 |
| -@property (nonatomic, readonly) float accuracy; |
| 28 | +@property (nonatomic, readonly, nullable) NCLocationPoint * locationPoint; |
28 | 29 |
|
29 |
| -@property (nonatomic, readonly) float azimuth; |
| 30 | +@property (nonatomic, readonly, nullable) NSNumber * locationHeading; |
30 | 31 |
|
31 | 32 | @end
|
0 commit comments