setSelfInfo static method
Implementation
static Future<TUIActionCallback> setSelfInfo(
String userName, String avatarURL) {
_ensurePortRegisterPort();
String userData = Tools.generateUserData();
Completer<TUIActionCallback> completer = Completer();
_actionCallback2Future(userData, completer);
_engineSDK.Dart_SetSelfInfo(
Tools.string2PointerChar(userName),
Tools.string2PointerChar(avatarURL),
Tools.string2PointerChar(userData));
return completer.future;
}