Skip to main content

CheckUniversalLink [MSDK Only]

[MSDK Only] For MSDK V5.11 and later versions, the self-check function is added to help developers troubleshoot during SDK integration. It currently supports WeChat channel in the testing environment. The self-check function is not available in the production environment.

Supported Platform

Supports Android, iOS platform.

Function Definition

void CheckUniversalLink(string channel,  string subChannel = "",  string extraJson = "");

Input Parameters

ParameterTypeDescription
channelstringChannel name
Currently supports WeChat only
subChannelstringSub-channel name
extraJsonstringThe extended field

Callback Processing

The callback processing API is GUABaseResultObservers. The callback data structure is GUABaseResult.

The callback event is LoginBaseResultEvents. The callback methodID is GUA_ACCOUNT_CHECK_UL.

Code Sample

UnionAdapterAPI.GetAccountService().CheckUniversalLink("WeChat");