ModifyAccountWithLoginState
AndroidiOSWindows
If you were looking for the method for use with Unity, see ModifyAccountWithLoginState for Unity SDK.
If you were looking for the method for use with Unity, see ModifyAccountWithLoginState for Unity SDK.
After logging in, you can modify the current account in the current login state.
Function definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool ModifyAccountWithLoginState(
const FString OldPhoneAreaCode,
const FString NewAccount,
const FString NewAccountVerifyCode,
const FString NewPhoneAreaCode,
const FString ExtraJson = "{}");
Input parameters
| Name | Type | Description |
|---|---|---|
| OldPhoneAreaCode | FString | The phone area code of the old account, fill in the blanks if the account is an email |
| NewAccount | FString | New account |
| NewAccountVerifyCode | FString | Verification code of the new account |
| NewPhoneAreaCode | FString | Phone area code of the new account, fill in the blanks if the account is an email |
| ExtraJson | FString | Extended information |
Observers
The callback processing interface is AuthAccountResultObserver. The callback data structure is AccountResult.
The callback methodID is kMethodIDAuthModifyAccount.
Code sample
UINTLSDKAPI::ModifyAccountWithLoginState("", "newaccount@email.com", "12345", "");