Occurs when the connection state between the SDK and the Agora RTM system changes.
void Function(int? state, int? reason)? onConnectionStateChanged;