NetworkStateProvider

Provides state of the active Network.

Types

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard

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.

Link copied to clipboard

Removes previously registered listener. Note: this call is a no-op if the given listener was not added earlier.