Skip to main content

Modify account with verification code (ModifyAccountWithVerifyCode)

AndroidiOSWindows
If you're using the Unity engine, 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 = "{}");

Parameter Instructions

NameTypeExplanation
OldAccountFStringOld account
OldAccountVerifyCodeFStringVerification code for old account
OldPhoneAreaCodeFStringPhone area code for the old account; leave empty if the account is an email.
NewAccountFStringNew account
NewAccountVerifyCodeFStringVerification code for new account
NewPhoneAreaCodeFStringPhone area code for the new account, leave empty if it's an email.
ExtraJsonFStringExtended information

Observers

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

Callback ID is kMethodIDAuthModifyAccount.

Code example

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