onConnectionStateChanged2 property

(void Function(RtmConnectionState state, RtmConnectionChangeReason reason)?) onConnectionStateChanged2
final

Occurs when the connection state between the SDK and the Agora RTM system changes.

Implementation

final void Function(
        RtmConnectionState state, RtmConnectionChangeReason reason)?
    onConnectionStateChanged2;