Skip to main content

Set installation channel [MSDK only]

[MSD only] Set the installation channel, only supported on Windows.

  • The installation channel is the channel through which the user downloads and installs the application.
  • The registration channel is the installation channel when the user registers an account for the first time.

Supported platforms

Supports Windows platform.

Function Definition

void SetInstallChannel(string channel);

Input Parameters

ParametersTypeDescription
channelstringSet the name of the installation channel

Code Example

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