connectionStateChanged property

ConnectionStateCallback? connectionStateChanged
getter/setter pair

Occurs when the network connection state changes. When the network connection state changes, the SDK triggers this callback and reports the current connection state and the reason for the change.

Param reason The reason for a connection state change.

Param state The current connection state.

Implementation

ConnectionStateCallback? connectionStateChanged;