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.
Stops monitoring and releases the resources held by this instance.
Starts monitoring the connectivity status.
Gets the current connectivity status.
Stops monitoring the connectivity status.