Observer
Observer interface by which observer is notified of network changes.
Functions
Link copied to clipboard
Link copied to clipboard
Called when default network changes.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun onNetworkPreference(types: List<NetworkChangeDetector.ConnectionType>, preference: Int)
Called when network preference change for a (list of) connection type(s).