IosNetworkConnectivity

Implementation of NetworkConnectivity for iOS using NWPathMonitor.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun addListener(listener: Listener<NetworkConnectivityEvent>)
Link copied to clipboard
fun <E> Listenable<E>.asFlow(): Flow<E>

Converts this Listenable into a Flow that emits events.

Link copied to clipboard
Link copied to clipboard
open override fun notify(event: NetworkConnectivityEvent)
Link copied to clipboard
open override fun removeListener(listener: Listener<NetworkConnectivityEvent>)