NetworkConnectivityProvider
abstract class NetworkConnectivityProvider : AbstractNotifier<NetworkConnectivityEvent> , NetworkConnectivity(source)
Abstract base class for implementing platform-specific network connectivity providers.
This class provides a common pattern for implementing network connectivity monitoring across different platforms by managing the lifecycle of a platform-specific receiver that monitors network state changes.
Inheritors
Types
Functions
Link copied to clipboard
Registers a listener to receive events.
Link copied to clipboard
Converts this Listenable into a Flow that emits events.
Link copied to clipboard
Checks if there are any registered listeners.
Link copied to clipboard
Notifies all registered listeners about an event.
Link copied to clipboard
Unregisters a listener from receiving events.