Skip to main content

Associate with a Specified Channel [MSDK Only]

[MSDK only] Associate the account with the specified channel. Currently, only the Kwai channel is supported.

Supported platforms

Supports Android, iOS platform.

Function Definition

void Connect(string channel,  string permissions = "",  string subChannel = "",  string extraJson = "{}");

Input Parameters

ParametersTypeDescription
channelstringAssociated Channel Information
Currently, only the Kwai channel is supported
permissionsstringList of authorized permissions, separated by commas
For example: user_info,inapp_friends
See the corresponding channel documentation for specific meanings
subChannelstringSub-channel name
extraJsonstringExtended Fields
For more information, refer to the corresponding channel documentation.

Callback Handling

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

The callback event is ConnectRetEvents. The callback ID is GUA_ACCOUNT_CONNECT.

Code Example

UnionAdapterAPI.GetAccountService().Connect("Kwai");