Modify Personal Information (ModifyProfile)
Function definition
public void ModifyProfile(AccountProfile userProfile);
Parameter Explanation
| Parameters | Type | Explanation |
|---|---|---|
| profile | Account 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);