Connected

data class Connected(val transport: Transport = Transport.Unknown, val isMetered: Boolean? = null, val isConstrained: Boolean? = null, val isValidated: Boolean? = null) : ConnectivityStatus(source)

The internet is reachable under the configured ValidationPolicy.

Metadata fields are null when the platform cannot tell.

Constructors

Link copied to clipboard
constructor(transport: Transport = Transport.Unknown, isMetered: Boolean? = null, isConstrained: Boolean? = null, isValidated: Boolean? = null)

Properties

Link copied to clipboard
Link copied to clipboard

iOS: Low Data Mode; Android: Data Saver (best effort).

Link copied to clipboard

Android: not NET_CAPABILITY_NOT_METERED; iOS: isExpensive.

Link copied to clipboard

Android: NET_CAPABILITY_VALIDATED.

Link copied to clipboard