addNetworkStateUpdateListener

Registers a listener so it can be informed about changes in NetworkState. Note: listeners are called in the same order as they are registered. Note: after registration, the listener is immediately called with the current NetworkState.

Parameters

listener

The listener to be registered.

Throws

if listener is already added.