Skip to main content

ModifyAccountWithVerifyCode

AndroidiOSWindows
If you were looking for the method for use with Unity, see ModifyAccountWithVerifyCode for Unity SDK.

Function definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool ModifyAccountWithVerifyCode(
const FString OldAccount,
const FString OldAccountVerifyCode,
const FString OldPhoneAreaCode,
const FString NewAccount,
const FString NewAccountVerifyCode,
const FString NewPhoneAreaCode,
const FString ExtraJson = "{}");

Input parameters

NameTypeDescription
OldAccountFStringOld account
OldAccountVerifyCodeFStringVerification code of the old account
OldPhoneAreaCodeFStringPhone area code of the old account, fill in the blanks if the account is an email.
NewAccountFStringNew account
NewAccountVerifyCodeFStringNew account verification code
NewPhoneAreaCodeFStringPhone area code of the new account, fill in the blanks if the account is an email.
ExtraJsonFStringExtended information

Observers

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

The callback methodID is kMethodIDAuthModifyAccount.

Code sample

UINTLSDKAPI::ModifyAccountWithVerifyCode("oldaccount@email.com", "12345", "", "newaccount@email.com", "56789", "");