AndroidNetworkConnectivity
Implementation of NetworkConnectivity for Android.
In the Android system, ConnectivityManager is used to monitor network connectivity states.
Note: This implementation requires the ACCESS_NETWORK_STATE
permission.
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Content copied to clipboard
Types
Link copied to clipboard
Implementation of ConnectivityManager.NetworkCallback for observing network connectivity.
Functions
Link copied to clipboard
Adds an observer to receive events.
Link copied to clipboard
Provides a Flow to receive events of network connectivity.
Link copied to clipboard
Removes an observer that receives events.