Module Values.ResolutionSource

Represents the screen resolution of a device in height and width, expressed in pixels.

Sourcetype nonrec t = {
  1. width : Integer.t option;
    (*

    The screen resolution's width, expressed in pixels.

    *)
  2. height : Integer.t option;
    (*

    The screen resolution's height, expressed in pixels.

    *)
}
Sourceval make : ?width:??? -> ?height:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.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