AWSLocationDeviceState
Objective-C
@interface AWSLocationDeviceState
Swift
class AWSLocationDeviceState
The device’s position, IP address, and Wi-Fi access points.
Required parameters: [DeviceId, SampleTime, Position]
-
Defines the level of certainty of the position.
Declaration
Objective-C
@property (nonatomic, strong) AWSLocationPositionalAccuracy *_Nullable accuracy;
Swift
var accuracy: AWSLocationPositionalAccuracy? { get set }
-
The cellular network infrastructure that the device is connected to.
Declaration
Objective-C
@property (nonatomic, strong) AWSLocationCellSignals *_Nullable cellSignals;
Swift
var cellSignals: AWSLocationCellSignals? { get set }
-
The device identifier.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable deviceId;
Swift
var deviceId: String? { get set }
-
The device’s Ipv4 address.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable ipv4Address;
Swift
var ipv4Address: 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 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 }
-
The Wi-Fi access points the device is using.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSLocationWiFiAccessPoint *> *_Nullable wiFiAccessPoints;
Swift
var wiFiAccessPoints: [AWSLocationWiFiAccessPoint]? { get set }