Media.PropMedia objects properties, capabilities and constraints.
module Bool : sig ... endbool constraints.
module Int : sig ... endint ranges and constraints.
module Float : sig ... endfloat ranges and constraints.
module Jstr : sig ... endJstr constraints.
The type for properties of type 'a whose capabilities are described by 'b and which are constrained by 'c.
type bool_t = (bool, bool list, Bool.Constraint.t) tThe type for boolean properties.
type int_t = (int, Int.Range.t, Int.Constraint.t) tThe type for integer properties.
type float_t = (float, Float.Range.t, Float.Constraint.t) tThe type for floating point properties.
type jstr_t = (Jstr.t, Jstr.t, Jstr.Constraint.t) tThe type for string properties.
type jstr_enum_t = (Jstr.t, Jstr.t list, Jstr.Constraint.t) tThe type for string enumeration properties.
val jstr_enum : Jstr.t -> jstr_enum_tjstr n is a string enumeration property named n.
'a conv specifies encoding and decoding functions for JavaScript.
v v_conv cap_conv constr_conv n is a new property named n whose values are converted with v_conv, capabilities with cap_conv and constraints with constr_conv.
cap_of_jv p jv is the property constraint of p from jv.