Skip to main content

Get Avatar Information (GetLIAvatarInfo)

AndroidiOSWindows
If you are using the Unity engine, see Unity SDK's GetLIAvatarInfo.

Function definition

Retrieve the list of avatar information that the user can select, including avatar names and avatar links.Example:

"avatar_config_list": [
{
"avatar_name": "0",
"avatar_url": "https://aaa.png"
},
{
"avatar_name": "1",
"avatar_url": "https://bbb.jpeg"
},
{
"avatar_name": "2",
"avatar_url": "https://ccc.jpeg"
}
],
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool GetLIAvatarInfo();

Callback processing

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

The callback methodID is kMethodIDAuthModifyProfile.

Sample Code

UINTLSDKAPI::GetLIAvatarInfo();