addObserver

open override fun addObserver(observer: NetworkConnectivity.Observer)

Adds an observer to receive events.