跳到主要内容

修改个人信息(ModifyProfile)[仅限 Player Network SDK]

[仅限 Player Network SDK] 修改个人信息。

支持的平台​

支持Android, iOS, Windows 平台。

函数定义​

void ModifyProfile(GUAAccountProfile profileJson);

入参说明​

参数类型说明
profileGUAAccountProfile账号个人信息

回调处理​

回调处理接口是 GUAAccountResultObservers。回调数据结构是 GUAAccountResult。

回调事件是 AccountEvents 。 回调 ID 是 GUA_ACCOUNT_MODIFY_PROFILE。

代码示例​

GUAAccountProfile accountProfile = new GUAAccountProfile();
// TODO: Set accountProfile
UnionAdapterAPI.GetAccountService().ModifyProfile(accountProfile);