AWSLocationDevicePositionUpdate
Objective-C
@interface AWSLocationDevicePositionUpdate
Swift
class AWSLocationDevicePositionUpdate
Contains the position update details for a device.
Required parameters: [DeviceId, SampleTime, Position]
-
The accuracy of the device position.
Declaration
Objective-C
@property (nonatomic, strong) AWSLocationPositionalAccuracy *_Nullable accuracy;Swift
var accuracy: AWSLocationPositionalAccuracy? { get set } -
The device associated to the position update.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable deviceId;Swift
var deviceId: String? { get set } -
The latest device position defined in WGS 84 format:
[X or longitude, Y or latitude].Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSNumber *> *_Nullable position;Swift
var position: [NSNumber]? { get set } -
Associates one of more properties with the position update. A property is a key-value pair stored with the position update and added to any geofence event the update may trigger.
Format:
"key" : "value"Declaration
Objective-C
@property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable positionProperties;Swift
var positionProperties: [String : String]? { get set } -
The timestamp at which the device’s position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZDeclaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable sampleTime;Swift
var sampleTime: Date? { get set }
View on GitHub
Install in Dash
AWSLocationDevicePositionUpdate Class Reference