getConnectionState abstract method

Future<ConnectionStateType> getConnectionState()

Gets the current connection state of the SDK. You can call this method either before or after joining a channel.

return The current connection state.

Implementation

Future<ConnectionStateType> getConnectionState();