fetchRoomInfo method

Future<TUIValueCallBack<TUIRoomInfo>> fetchRoomInfo()

Implementation

Future<TUIValueCallBack<TUIRoomInfo>> fetchRoomInfo() {
  String userData = Tools.generateUserData();
  Completer<TUIValueCallBack<TUIRoomInfo>> completer = Completer();
  _valueCallback2Future<TUIRoomInfo>(userData, completer);
  _engineSDK.Dart_FetchRoomInfo(
      _engineFFIPointer, Tools.string2PointerChar(userData));
  return completer.future;
}