Skip to main content

Open Account Center (Deprecated)

AndroidiOSWindows
Deprecated since: LI PASS V1.32.00
If you are using Unreal Engine, refer to the Unreal Engine SDK's OpenAccountCenter.
Deprecated

This interface has been deprecated since LI PASS V1.32.00. Please use OpenAccountCenterWithParams instead.

Open the LI PASS account center interface without the delete account button.For the account center with account deletion functionality, refer to Open Account Center (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();