Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val event_to_js_str : event -> string
type init_android_options = private Ojs.t
val create_init_android_options :
sender_id:string ->
?icon:string ->
?icon_color:string ->
?sound:bool ->
?vibrate:bool ->
?clear_notifications:bool ->
?force_show:bool ->
?topics:string array ->
unit ->
init_android_options
type init_ios_options = private Ojs.t
val create_init_ios_options :
?alert:bool ->
?badge:bool ->
?sound:bool ->
?clear_badge:bool ->
?categories:string array ->
unit ->
init_ios_options
type init_options = private Ojs.t
val create_init_options :
?android:init_android_options ->
?ios:init_ios_options ->
unit ->
init_options
type additional_data = private Ojs.t
val foreground : additional_data -> bool
val cold_start : additional_data -> bool
type data_notification = private Ojs.t
val message : data_notification -> string
val title : data_notification -> string
val count : data_notification -> string
val sound : data_notification -> string
val image : data_notification -> string
val launch_args : data_notification -> string
val additional_data : data_notification -> additional_data
type data_registration = private Ojs.t
val registration_id : data_registration -> int
type push = private Ojs.t
val on_registration : push -> (data_registration -> unit) -> unit
val on_notification : push -> (data_notification -> unit) -> unit
val unregister :
push ->
(unit -> unit) ->
(unit -> unit) ->
string array ->
unit
val set_application_icon_badge_number :
push ->
(unit -> unit) ->
(unit -> unit) ->
int ->
unit
val get_application_icon_badge_number :
push ->
(int -> unit) ->
(unit -> unit) ->
unit
val finish : push -> (unit -> unit) -> (unit -> unit) -> string -> unit
val init : init_options -> push