Get Device Position
locationservice_get_device_position | R Documentation |
Retrieves a device's most recent position according to its sample time¶
Description¶
Retrieves a device's most recent position according to its sample time.
Device positions are deleted after 30 days.
Usage¶
Arguments¶
TrackerName
[required] The tracker resource receiving the position update.
DeviceId
[required] The device whose position you want to retrieve.
Value¶
A list with the following syntax:
list(
DeviceId = "string",
SampleTime = as.POSIXct(
"2015-01-01"
),
ReceivedTime = as.POSIXct(
"2015-01-01"
),
Position = list(
123.0
),
Accuracy = list(
Horizontal = 123.0
),
PositionProperties = list(
"string"
)
)