LoginWithConfirmCode
AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see LoginWithConfirmCode for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see LoginWithConfirmCode for Unreal Engine SDK.
When the login or linking fails, try to log in again with the confirmation code to prevent the user from opening the login interface again. The confirmation code is returned in the backend.
Function definition
public static void LoginWithConfirmCode(int actionType);
Input parameters
Parameter | Type | Description |
---|---|---|
actionType | int | 0: General login 1: Links the channel account to the current guest account. |
Observers
The callback processing interface is AuthResultObserver. The callback data structure is AuthResult.
The callback methodID is INTL_AUTH_LOGIN_WITH_CONFIRM_CODE
.
Code sample
INTLAPI.LoginWithConfirmCode(0); //General login