connectionStateChanged property
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 state
The current connection state.
Param reason
The reason for a connection state change.
Implementation
ConnectionStateCallback? connectionStateChanged;