package cordova-plugin-social-sharing

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type options = private Ojs.t
val create_options : ?message:string -> ?subject:string -> ?files:string list -> ?url:string -> ?chooser_title:string -> unit -> options
type result = private Ojs.t
val completed : result -> bool
val app : result -> string
val share_with_options : options -> (result -> unit) -> (string -> unit) -> unit
val share_via_twitter : string -> ?files:string -> ?url:string -> unit -> unit
val share_via_facebook : string -> ?files:string list -> ?url:string -> ?succ_cb:(unit -> unit) -> ?err_cb:(string -> unit) -> unit -> unit
val share_via_instagram : string -> ?url:string -> ?succ_cb:(unit -> unit) -> ?err_cb:(string -> unit) -> unit -> unit
val share_via_whatsapp : string -> ?img:string -> ?url:string -> ?succ_cb:(unit -> unit) -> ?err_cb:(string -> unit) -> unit -> unit
val share_via_sms : string -> ?numbers:string -> ?succ_cb:(string -> unit) -> ?err_cb:(string -> unit) -> unit -> unit
OCaml

Innovation. Community. Security.