25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSObject.h>
27 #import <CoreLocation/CLLocation.h>
28 #import <ArcGIS/AGSDefines.h>
108 #pragma mark initializers
122 -(instancetype)initWithPosition:(
AGSPoint*)position horizontalAccuracy:(
double)horizontalAccuracy velocity:(
double)velocity course:(
double)course lastKnown:(BOOL)lastKnown;
136 -(instancetype)initWithPosition:(
AGSPoint*)position
137 timestamp:(NSDate*)timestamp
138 horizontalAccuracy:(
double)horizontalAccuracy
139 verticalAccuracy:(
double)verticalAccuracy
140 velocity:(
double)velocity
141 course:(
double)course
142 lastKnown:(BOOL)lastKnown;
181 - (instancetype)initWithPosition:(
AGSPoint *)position
182 timestamp:(nullable NSDate *)timestamp
183 horizontalAccuracy:(
double)horizontalAccuracy
184 verticalAccuracy:(
double)verticalAccuracy
185 velocity:(
double)velocity
186 course:(
double)course
187 lastKnown:(BOOL)lastKnown
188 additionalSourceProperties:(NSDictionary<AGSLocationSourcePropertyKey,
id> *)additionalSourceProperties;
200 +(instancetype)locationWithPosition:(
AGSPoint*)position horizontalAccuracy:(
double)horizontalAccuracy velocity:(
double)velocity course:(
double)course lastKnown:(BOOL)lastKnown;
216 +(instancetype)locationWithPosition:(
AGSPoint*)position
217 timestamp:(NSDate*)timestamp
218 horizontalAccuracy:(
double)horizontalAccuracy
219 verticalAccuracy:(
double)verticalAccuracy
220 velocity:(
double)velocity
221 course:(
double)course
222 lastKnown:(BOOL)lastKnown;
263 + (instancetype)locationWithPosition:(
AGSPoint *)position
264 timestamp:(nullable NSDate *)timestamp
265 horizontalAccuracy:(
double)horizontalAccuracy
266 verticalAccuracy:(
double)verticalAccuracy
267 velocity:(
double)velocity
268 course:(
double)course
269 lastKnown:(BOOL)lastKnown
270 additionalSourceProperties:(NSDictionary<AGSLocationSourcePropertyKey,
id> *)additionalSourceProperties;
279 +(
AGSLocation*)locationWithCLLocation:(CLLocation*)cllocation;
282 #pragma mark properties
327 @property (nonatomic, assign, readonly)
double course;
348 @property (nonatomic, assign, readonly)
double velocity;
353 @property (nonatomic, strong, readonly) NSDate *
timestamp;
#define AGS_EXTERN
Definition: AGSDefines.h:28
AGS_EXTERN AGSPositioningSource const AGSPositioningSourceAppleIPS
Definition: AGSLocation.h:93
NSString *AGSLocationSourcePropertyKey NS_TYPED_EXTENSIBLE_ENUM
Used to represent some well-known constant strings for keys in AGSLocation::additionalSourcePropertie...
Definition: AGSLocation.h:30
AGS_EXTERN AGSPositioningSource const AGSPositioningSourceWIFI
Definition: AGSLocation.h:78
NSString *AGSPositioningSource NS_TYPED_ENUM
Definition: AGSLocation.h:39
AGS_EXTERN AGSLocationSourcePropertyKey const AGSLocationSourcePropertyKeyTransmitterCount
Definition: AGSLocation.h:68
AGS_EXTERN AGSPositioningSource const AGSPositioningSourceGNSS
Definition: AGSLocation.h:73
AGS_EXTERN AGSPositioningSource const AGSPositioningSourceBLE
Definition: AGSLocation.h:88
AGS_EXTERN AGSLocationSourcePropertyKey const AGSLocationSourcePropertyKeySatelliteCount
Definition: AGSLocation.h:62
AGS_EXTERN AGSPositioningSource const AGSPositioningSourceCELL
Definition: AGSLocation.h:83
AGS_EXTERN AGSLocationSourcePropertyKey const AGSLocationSourcePropertyKeyFloor
Definition: AGSLocation.h:48
AGS_EXTERN AGSLocationSourcePropertyKey const AGSLocationSourcePropertyKeyPositionSource
Definition: AGSLocation.h:56
Represents a location update provided by a location datasource.
Definition: AGSLocation.h:106
BOOL lastKnown
Definition: AGSLocation.h:338
double verticalAccuracy
Definition: AGSLocation.h:358
double velocity
Definition: AGSLocation.h:348
double course
Definition: AGSLocation.h:327
NSDate * timestamp
Definition: AGSLocation.h:353
AGSPoint * position
Definition: AGSLocation.h:343
double horizontalAccuracy
Definition: AGSLocation.h:333
NSDictionary< AGSLocationSourcePropertyKey, id > * additionalSourceProperties
Definition: AGSLocation.h:320
Definition: AGSObject.h:28
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73