Skip to main content

Modify Personal Information (ModifyProfile)

AndroidiOSWindows
If you are using Unreal Engine, see Unreal Engine SDK's ModifyProfile.

Function definition

public void ModifyProfile(AccountProfile userProfile);

Parameter Explanation

ParametersTypeExplanation
profileAccount Information (AccountProfile)Account profile, including username, birthday, country, and region information

Callback processing

The callback interface is AuthAccountResultObserver.The callback data structure is AccountResult.

The callback ID is INTL_AUTH_MODIFY_PROFILE.

Sample Code

AccountProfile profile = new AccountProfile();
profile.UserName = "intluser1";
profile.BirthdayYear = 1998;
profile.BirthdayMonth = 1;
profile.BirthdayDay = 12;
profile.Region = 156;
profile.LangType = "zh-Hans";
INTLAPI.ModifyProfile(profile);