Skip to main content

Verification code binding [MSDK only]

[MSDK only] Bind the MSDK channel using ConfirmCode.

Supported platforms

Supports Android, iOS platform.

Function Definition

void BindWithConfirmCode(string confirmCode,  int channelID,  string extraJson);

Input Parameters

ParametersTypeDescription
confirmCodestringVerification Code
channelIDintChannel ID
extraJsonstringExtended Fields
For more information, refer to the corresponding channel documentation.

Callback Handling

The callback processing interface is GUALoginResultObservers.The callback data structure is GUALoginResult.

The callback event is LoginResultEvents. Callback ID is GUA_ACCOUNT_BIND_WITH_CONFIRMCODE.

Code Example

UnionAdapterAPI.GetAccountService().BindWithConfirmCode("confirmCode", 2);