Module Values.DevicePositionUpdateSource

Contains the position update details for a device.

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

    The device associated to the position update.

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

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

    *)
  3. position : Position.t;
    (*

    The latest device position defined in WGS 84 format: [X or longitude, Y or latitude].

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

    The accuracy of the device position.

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

    Associates one of more properties with the position update. A property is a key-value pair stored with the position update and added to any geofence event the update may trigger. Format: "key" : "value"

    *)
}
Sourceval context_ : string
Sourceval make : ?accuracy:??? -> ?positionProperties:??? -> deviceId:Id.t -> sampleTime:Timestamp.t -> position:Position.t -> 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