Skip to main content

GetLIAvatarInfo

AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see GetLIAvatarInfo for Unreal Engine 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"
}
],
public void GetLIAvatarInfo();

Observers

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

The callback methodID is INTL_AUTH_GET_LIP_AVATAR.

Code sample

INTLAPI.GetLIAvatarInfo();