Skip to main content

UpgradeSaccToLI

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

This API is only applicable to the upgrade process triggered after logging in through channels other than LI PASS (including third-party channel login, guest login, and automatic login).

Third-party channel, guest channel, and automatic login are active upgrades:
Log in to generate OpenID > Check whether upgrade is required > Return requirements and start upgrade

Call the UpgradeSaccToLI() API during the upgrade process.

Function definition

public static void UpgradeSaccToLI();

Observers

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

The callback methodID is INTL_AUTH_UPGRADE_SACC_TO_LI.

Code sample

LevelInfinite.CancelLIAccountDeletion();