cordova-plugin-device-motion

Binding OCaml to cordova-plugin-device-motion using gen_js_api.
IN THIS PACKAGE
type acceleration = private Ojs.t
val acceleration_x : acceleration -> int
val acceleration_y : acceleration -> int
val acceleration_z : acceleration -> int
val acceleration_timestanp : acceleration -> Js_date.t
type options = private Ojs.t
val create_options : ?frequency:int -> unit -> options
val get_current_acceleration : ( acceleration -> unit ) -> ( unit -> unit ) -> unit
val watch_acceleration : ( acceleration -> unit ) -> ( unit -> unit ) -> options -> int
val clear_watch : int -> unit