NetworkInfo

@Serializable
data class NetworkInfo(val connected: Boolean)

Data class containing network connectivity information.

Constructors

Link copied to clipboard
constructor(connected: Boolean)

Properties

Link copied to clipboard

true if the device has an active internet connection, false otherwise