NetworkStatusCallback

class NetworkStatusCallback(val name: String, val onUpdated: (Boolean) -> Unit, val onPingRequested: () -> Unit) : ConnectivityManager.NetworkCallback

Constructors

Link copied to clipboard
constructor(name: String, onUpdated: (Boolean) -> Unit, onPingRequested: () -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun onAvailable(network: Network)
Link copied to clipboard
Link copied to clipboard
open override fun onCapabilitiesChanged(network: Network, networkCapabilities: NetworkCapabilities)
Link copied to clipboard
Link copied to clipboard
open fun onLosing(p0: Network, p1: Int)
Link copied to clipboard
open override fun onLost(network: Network)
Link copied to clipboard
open override fun onUnavailable()