getConnectionState method

Future<int> getConnectionState ()

获取连接状态

状态参考 NERtcConnectionState

Implementation

Future<int> getConnectionState() async {
  IntValue reply = await _api.getConnectionState();
  return reply.value;
}