Connected

data class Connected(val metered: Boolean) : Connectivity.Status

Represents a connected status.

Constructors

Link copied to clipboard
constructor(metered: Boolean)

Properties

Link copied to clipboard

A Boolean indicating whether the device is connected to the network.

Link copied to clipboard

A Boolean indicating whether the device is disconnected from the network.

Link copied to clipboard
open val isMetered: Boolean

A Boolean indicating whether the device is connected to a metered network.

Link copied to clipboard

A Boolean indicating whether the connection is metered.