ConnectivityObserver

Interface for observing network connectivity state changes. Provides both reactive (Flow) and imperative APIs for checking network availability.

Properties

Link copied to clipboard
abstract val isConnected: Flow<Boolean>

A reactive Flow that emits network connectivity state changes.

Functions

Link copied to clipboard

Checks if network connection is currently available.