AWSLocationDevicePosition

Objective-C

@interface AWSLocationDevicePosition

Swift

class AWSLocationDevicePosition

Contains the device position details.

Required parameters: [Position, ReceivedTime, SampleTime]

  • The accuracy of the device position.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLocationPositionalAccuracy *_Nullable accuracy;

    Swift

    var accuracy: AWSLocationPositionalAccuracy? { get set }
  • The device whose position you retrieved.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable deviceId;

    Swift

    var deviceId: String? { get set }
  • The last known device position.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSNumber *> *_Nullable position;

    Swift

    var position: [NSNumber]? { get set }
  • The properties associated with the position.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable positionProperties;

    Swift

    var positionProperties: [String : String]? { get set }
  • The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable receivedTime;

    Swift

    var receivedTime: Date? { get set }
  • The timestamp at which the device’s position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable sampleTime;

    Swift

    var sampleTime: Date? { get set }