Skip to main content

SetInstallChannel [MSDK Only]

[MSDK Only] Sets the installation channel.

  • Installation channel is the channel where the user downloaded the installation package and installed the app.
  • Registration channel is the installation channel where the user first registered their account.

Supported Platform

Supports Windows platform.

Function Definition

void SetInstallChannel(string channel);

Input Parameters

ParameterTypeDescription
channelstringName of the installation channel

Code Sample

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