The Connectivity interface provides a way to monitor the network connectivity status.
Represents the connectivity status.
A StateFlow representing whether the connectivity monitoring is active.
A SharedFlow representing the current connectivity status.
Starts monitoring the connectivity status.
Gets the current connectivity status.
Stops monitoring the connectivity status.