cordova-plugin-sim-card

Binding OCaml to cordova-plugin-sim-card using gen_js_api.
IN THIS PACKAGE
type call_state =
| Call_state_idle
| Call_state_ringing
| Call_state_offhook
type data_activity =
| Data_activity_none
| Data_activity_in
| Data_activity_out
| Data_activity_inout
| Data_activity_dormant
type network_type =
| Network_type_unknown
| Network_type_gprs
| Network_type_edge
| Network_type_umts
| Network_type_cdma
| Network_type_evdo_0
| Network_type_evdo_a
| Network_type_1Xrtt
| Network_type_hsdpa
| Network_type_hsupa
| Network_type_hspa
| Network_type_iden
| Network_type_evdo_b
| Network_type_lte
| Network_type_ehrpd
| Network_type_hspap
type phone_type =
| Phone_type_none
| Phone_type_gsm
| Phone_type_cdma
| Phone_type_sip
type sim_state =
| Sim_state_unknown
| Sim_state_absent
| Sim_state_pin_required
| Sim_state_puk_required
| Sim_state_network_locked
| Sim_state_ready
type result = private Ojs.t
val carrier_name : result -> string
val country_code : result -> string
val mcc : result -> string
val mnc : result -> string
val phone_number : result -> string
val device_id : result -> string
val device_software_version : result -> string
val sim_serial_number : result -> string
val subscriber_id : result -> string
val call_state : result -> call_state
val data_activity : result -> data_activity
val network_type : result -> network_type
val phone_type : result -> phone_type
val sim_state : result -> sim_state
val is_network_roaming : result -> bool
val allows_VOIP : result -> bool
val is_cellular_data_enabled : result -> bool
val is_cellular_data_roaming_enabled : result -> bool
val is_network_available : result -> bool
val is_wifi_enabled : result -> bool
val info : ( result -> unit ) -> ( string -> unit ) -> unit
val has_read_permission : ( bool -> unit ) -> ( string -> unit ) -> unit
val request_read_permission : unit -> unit