Connectivity

interface Connectivity

Provides access to the current connectivity status of the device either synchronously through calling isConnected or by observing through connectionStatus.

Inheritors

Types

Link copied to clipboard

This class defines the possible network connectivity types.

Link copied to clipboard
sealed class Status

This class defines the possible statuses of device connectivity.

Properties

Link copied to clipboard

Observable flow of connectivity statuses, enabling reactivity to network status changes

Functions

Link copied to clipboard

Utility to return the capability of the current active network.

Link copied to clipboard
abstract fun isConnected(): Boolean

Signifies whether the device has a network available for making outbound connections.