Skip to main content

ModifyProfile [Player Network SDK Only]

[Player Network SDK Only] Modify user profile.

Supported Platform​

Supports Android, iOS, Windows platform.

Function Definition​

void ModifyProfile(GUAAccountProfile profileJson);

Input Parameters​

ParameterTypeDescription
profileGUAAccountProfilePersonal information, such as user name, birthday, and more

Callback Processing​

The callback processing API is GUAAccountResultObservers. The callback data structure is GUAAccountResult.

The callback event is AccountEvents. The callback methodID is GUA_ACCOUNT_MODIFY_PROFILE.

Code Sample​

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