getConnectionStateEx abstract method

Future<ConnectionStateType> getConnectionStateEx(
  1. RtcConnection connection
)

Gets the current connection state of the SDK.

You can call this method either before or after joining a channel.

  • connection The connection information. See RtcConnection.

Returns The current connection state. See ConnectionStateType.

Implementation

Future<ConnectionStateType> getConnectionStateEx(RtcConnection connection);