Skip to main content

UpdateUserInfo

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

Update user info, this interface can only be called after receiving the asynchronous callback of InitCustomer.

Function definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void UpdateUserInfo(FINTLCustomerUserProfile &userProfile);

Input parameters

NameTypeDescription
userProfileFINTLCustomerUserProfileCustomer service module request body, mainly including important input parameters such as language type and channel ID

Observers

The callback processing API is CustomerResultObserver.
The callback data structure is CustomerResult.

The callback methodID is kMethodIDUpdateUserInfo.

Code sample

FINTLCustomerUserProfile userProfile = new FINTLCustomerUserProfile
(
"zh-Hans",
"YOUR_SIGN",
"openid",
"1",
"player1",
"",
"",
"",
"",
"",
"https://head.xxx.com/xx.png",
"custom parameter",
"custom parameter",
"custom parameter",
"custom parameter",
"custom parameter"
);
UINTLSDKAPI::UpdateUserInfo(userProfile);