Skip to main content

GetLIAvatarInfo

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

Function definition

Gets information regarding the avatar a user has chosen, including the avatar name and avatar URL. Sample:

"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();

Observers

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

The callback methodID is kMethodIDAuthGetLIPAvatar.

Code sample

UINTLSDKAPI::GetLIAvatarInfo();