ConnectivityMonitor

interface ConnectivityMonitor : LifecycleListener

An interface for monitoring network connectivity events.

Types

Link copied to clipboard
interface ConnectivityListener
An interface for listening to network connectivity events picked up by the monitor.

Functions

Link copied to clipboard
abstract fun onDestroy()
Callback for when onDestroy} or onDestroy is called.
Link copied to clipboard
abstract fun onStart()
Callback for when onStart} or onStart is called.
Link copied to clipboard
abstract fun onStop()
Callback for when onStop} or onStop} is called.