onReceive

abstract fun onReceive(event: NetworkConnectivityEvent)

Receives a event of network connectivity.