ConnectivityProvider

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@RequiresPermission(value = "android.permission.ACCESS_NETWORK_STATE")
fun registerNetworkCallback(callback: ConnectivityManager.NetworkCallback)

Adds a new listener that observes the current network state.

Link copied to clipboard

Removes a callback from listening for network updates.