Module Values.InferredStateSource

The inferred state of the device, given the provided position, IP address, cellular signals, and Wi-Fi- access points.

Sourcetype nonrec t = {
  1. position : Position.t option;
    (*

    The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.

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

    The level of certainty of the inferred position.

    *)
  3. deviationDistance : Double.t option;
    (*

    The distance between the inferred position and the device's self-reported position.

    *)
  4. proxyDetected : Boolean.t option;
    (*

    Indicates if a proxy was used.

    *)
}
Sourceval make : ?position:??? -> ?accuracy:??? -> ?deviationDistance:??? -> ?proxyDetected:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `List of [> `Double of Double.t ] list | `Structure of (string * [> `Double of PositionalAccuracyHorizontalDouble.t ]) list ]) 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