object Network
Main object for Cordova network.
(js)
ConnectionType |
Connection types enum class ConnectionType |
(js)
NetworkEvent |
Network status events enum class NetworkEvent |
(js)
addStatusListener |
Add listeners for network status Cordova events. fun addStatusListener(event: NetworkEvent, listener: () -> Unit): Unit |
(js)
getConnectionType |
Get network connection type. suspend fun getConnectionType(): ConnectionType |