NetworkStateProvider

class NetworkStateProvider(scope: CoroutineScope, connectivityManager: ConnectivityManager)

Handler which monitors connectivity and provides network state.

Constructors

Link copied to clipboard
constructor(scope: CoroutineScope, connectivityManager: ConnectivityManager)

Types

Link copied to clipboard

Listener which is used to listen and react to network state changes.

Functions

Link copied to clipboard
Link copied to clipboard

Subscribes to network state changes through a listener.

Link copied to clipboard

Removes a listener for network state changes.