Skip to content

DevicePosition

Source code in docs_src/capo_location/types/device_position.py
class DevicePosition(TypedDict, closed=True):
    device_id: NotRequired["capo_location.types.id.Id"]
    """<p>The device whose position you retrieved.</p>"""
    sample_time: "capo_location.types.timestamp.Timestamp"
    """<p>The timestamp at which the device's position was determined. Uses <a href="https://www.iso.org/iso-8601-date-and-time-format.html"> ISO 8601</a> format: <code>YYYY-MM-DDThh:mm:ss.sssZ</code>. </p>"""
    received_time: "capo_location.types.timestamp.Timestamp"
    """<p>The timestamp for when the tracker resource received the device position in <a href="https://www.iso.org/iso-8601-date-and-time-format.html"> ISO 8601</a> format: <code>YYYY-MM-DDThh:mm:ss.sssZ</code>. </p>"""
    position: "capo_location.types.position.Position"
    """<p>The last known device position.</p>"""
    accuracy: NotRequired["capo_location.types.positional_accuracy.PositionalAccuracy"]
    """<p>The accuracy of the device position.</p>"""
    position_properties: NotRequired[
        "capo_location.types.position_property_map.PositionPropertyMap"
    ]
    """<p>The properties associated with the position.</p>"""

accuracy instance-attribute

accuracy: NotRequired[PositionalAccuracy]

The accuracy of the device position.

device_id instance-attribute

device_id: NotRequired[Id]

The device whose position you retrieved.

position instance-attribute

position: Position

The last known device position.

position_properties instance-attribute

position_properties: NotRequired[PositionPropertyMap]

The properties associated with the position.

received_time instance-attribute

received_time: Timestamp

The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

sample_time instance-attribute

sample_time: Timestamp

The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.