Binding to cordova-plugin-media-capture
This plugin provides access to the device's audio, image, and video capture
capabilities.
Source: cordova-plugin-media-capture
Only gen_js_api version is provided.
Don't forget to switch to a compiler >= 4.03.0.
opam switch 4.03.0
You can use opam by pinning the repository with
opam pin add cordova-plugin-media-capture https://github.com/dannywillems/ocaml-cordova-plugin-media-capture.git
and to compile your project, use
ocamlfind ocamlc -c -o [output_file] -package gen_js_api -package cordova-plugin-media-capture [...] -linkpkg [other arguments]
Don't forget to install the cordova plugin media capture with
cordova plugin add cordova-plugin-media-capture
See the official documentation: cordova-plugin-media-capture