Modify account with verification code (ModifyAccountWithVerifyCode)
AndroidiOSWindows
If you're using Unreal Engine, see the ModifyAccountWithVerifyCode in Unreal Engine SDK.
If you're using Unreal Engine, see the ModifyAccountWithVerifyCode in Unreal Engine SDK.
Function Definition
public void ModifyAccountWithVerifyCode(
string oldAccount,
string oldAccountVerifyCode,
string oldPhoneAreaCode,
string newAccount,
string newAccountVerifyCode,
string newPhoneAreaCode,
string extraJson = "{}");
Parameter Instructions
| Parameters | Type | Explanation |
|---|---|---|
| oldAccount | string | Old account |
| oldAccountVerifyCode | string | Verification code for old account |
| oldPhoneAreaCode | string | Phone area code for the old account.If the account is registered via email, this will be empty. |
| newAccount | string | New account |
| newAccountVerifyCode | string | Verification code for new account |
| newPhoneAreaCode | String | Phone area code for the new account.If the account is registered via email, this will be empty. |
| extraJson | string | Extended information |
Observers
The callback processing interface is AuthAccountResultObserver.The callback data structure is AccountResult.
The callback ID is INTL_AUTH_MODIFY_ACCOUNT.
Code example
string oldAccount = "";
string oldAccountVerifyCode = "";
string oldPhoneAreaCode = "86";
string newAccount = "";
string newAccountVerifyCode = "";
string newPhoneAreaCode = "86";
INTLAPI.ModifyAccountWithVerifyCode(oldAccount, oldAccountVerifyCode, oldPhoneAreaCode,
newAccount, newAccountVerifyCode, newPhoneAreaCode);