Module Values.DevicePositionSource

Contains the device position details.

Sourcetype nonrec t = {
  1. deviceId : Id.t option;
    (*

    The device whose position you retrieved.

    *)
  2. sampleTime : Timestamp.t option;
    (*

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

    *)
  3. receivedTime : Timestamp.t option;
    (*

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

    *)
  4. position : Position.t option;
    (*

    The last known device position.

    *)
  5. accuracy : PositionalAccuracy.t option;
    (*

    The accuracy of the device position.

    *)
  6. positionProperties : PositionPropertyMap.t option;
    (*

    The properties associated with the position.

    *)
}
Sourceval make : ?deviceId:??? -> ?sampleTime:??? -> ?receivedTime:??? -> ?position:??? -> ?accuracy:??? -> ?positionProperties:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Double of Double.t ] list | `Map of ([> `String of PositionPropertyMapKeyString.t ] * [> `String of PositionPropertyMapValueString.t ]) list | `String of Id.t | `Structure of (string * [> `Double of PositionalAccuracyHorizontalDouble.t ]) list | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t