Skip to main content

Open Account Center

AndroidiOSWindows
If you are using Unreal Engine, refer to the Unreal Engine SDK's OpenAccountCenter.

Open the LI PASS account center interface without the delete account button.For the account center with account deletion functionality, refer to Opening the Account Center with Deletion (OpenAccountCenterWithParams).

caution

Ensure the user is logged in before opening the account center; otherwise, an error will occur where player information cannot be fetched.

Function Definition

public static void OpenAccountCenter();

Callback processing

Handle the callback of LI PASS events; the game needs to process the callback logic.For more information on the callback data structure, see LIEventObserver.

The callback LIEventType is ACCOUNT_CENTER_OPEN and ACCOUNT_CENTER_CLOSE, used to open or close the account center.

Sample Code

LevelInfinite.OpenAccountCenter();