onConnectionStateChanged method Null safety

void onConnectionStateChanged(
  1. int state,
  2. int reason
)

Get notified when the connection state changes state The current network connection state NERtcConnectionState reason the reason why the network state changes ConnectionStateChangeReason.

Implementation

void onConnectionStateChanged(int state, int reason);