Skip to main content

OpenAccountCenter

AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see OpenAccountCenter for Unreal Engine SDK.

Open the LI PASS Account Center, which does not include a delete account button. To access the Account Center that features a delete account button, see OpenAccountCenterWithParams.

caution

Ensure that the user is already logged in when opening the Account Center. Otherwise, an error message will be displayed, indicating that user information cannot be retrieved.

Function definition

public static void OpenAccountCenter();

Observers

The callback processing interface is LI PASS event callback LIEventObserver, and the callback logic needs to be handled by the game.

ACCOUNT_CENTER_OPEN or ACCOUNT_CENTER_CLOSE for callback event LIEventType, indicates whether the Account Center is being opened or closed, respectively.

Code sample

LevelInfinite.OpenAccountCenter();