Skip to main content

ModifyProfile

AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see ModifyProfile for Unreal Engine SDK.

Function definition

public void ModifyProfile(AccountProfile userProfile);

Input parameters

ParameterTypeDescription
profileAccountProfileAccount profile, such as user name, birthday, and so on

Observers

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

The callback methodID is INTL_AUTH_MODIFY_PROFILE.

Code sample

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);