package cordova-plugin-push-notifications

  1. Overview
  2. Docs
module Init_options : sig ... end
module Additional_data : sig ... end
module Data_notification : sig ... end
module Data_registration : sig ... end
module Error : sig ... end
type t
val on_registration : t -> (Data_registration.t -> unit) -> unit
val on_notification : t -> (Data_notification.t -> unit) -> unit
val on_error : t -> (Error.t -> unit) -> unit
val off_registration : t -> (Data_registration.t -> unit) -> unit
val off_notification : t -> (Data_notification.t -> unit) -> unit
val off_error : t -> (Error.t -> unit) -> unit
val unregister : t -> (unit -> unit) -> (unit -> unit) -> string array -> unit
val set_application_icon_badge_number : t -> (unit -> unit) -> (unit -> unit) -> int -> unit
val get_application_icon_badge_number : t -> (int -> unit) -> (unit -> unit) -> unit
val finish : t -> (unit -> unit) -> (unit -> unit) -> string -> unit
val clear_all_notifications : t -> (unit -> unit) -> (unit -> unit) -> unit
val init : Init_options.t -> t
module Data_permission : sig ... end
val has_permission : (Data_permission.t -> unit) -> unit
OCaml

Innovation. Community. Security.