ConnectedState

sealed class ConnectedState : ZTConnectivityProvider.NetworkState

Types

Connected
Link copied to clipboard
@RequiresApi(value = 21)
data class Connected(capabilities: NetworkCapabilities) : ZTConnectivityProvider.NetworkState.ConnectedState
ConnectedLegacy
Link copied to clipboard
data class ConnectedLegacy(networkInfo: NetworkInfo) : ZTConnectivityProvider.NetworkState.ConnectedState

Functions

hasInternet
Link copied to clipboard
fun hasInternet(): Boolean

Properties

hasInternet
Link copied to clipboard
val hasInternet: Boolean

Inheritors