Skip to main content

BindWithConfirmCode [MSDK Only]

[MSDK Only] Link MSDK channels based on the confirmation code.

Supported Platform

Supports Android, iOS platform.

Function Definition

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

Input Parameters

ParameterTypeDescription
confirmCodestringConfirmation code
channelIDintChannel ID
extraJsonstringThe extended field.
For more information, see relative channel descriptions.

Callback Processing

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

The callback event is LoginResultEvents. The callback methodID is GUA_ACCOUNT_BIND_WITH_CONFIRMCODE.

Code Sample

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