transferConferenceOwner static method

Future<TUIActionCallback> transferConferenceOwner(
  1. String roomId,
  2. String toUserId
)

Implementation

static Future<TUIActionCallback> transferConferenceOwner(String roomId, String toUserId) {
  String userData = Tools.generateRoomUserData();
  Completer<TUIActionCallback> completer = Completer();
  _actionCallback2Future(userData, completer);
  _engineSDK.Dart_TransferConferenceOwner(_conferenceListFFIPointer!, Tools.string2PointerChar(roomId),
      Tools.string2PointerChar(toUserId), Tools.string2PointerChar(userData));
  return completer.future;
}