connectionStateChanged property

ConnectionStateCallback? connectionStateChanged
getter/setter pair

Occurs when the network connection state changes.

The Agora SDK returns this callback to report on the current network connection state when it changes, and the reason to such change.

The ConnectionStateCallback typedef includes the following parameters:

Implementation

ConnectionStateCallback? connectionStateChanged;