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
- Unity
- Unreal Engine
Supports
Windows platform.Supports
Windows platform.Function Definition
- Unity
- Unreal Engine
void SetInstallChannel(string channel);
static void SetInstallChannel(const std::string &channel);
Input Parameters
- Unity
- Unreal Engine
| Parameters | Type | Description |
|---|---|---|
| channel | string | Set the name of the installation channel |
| Parameters | Type | Description |
|---|---|---|
| channel | std::string | Set the name of the installation channel |
Code Example
- Unity
- Unreal Engine
UnionAdapterAPI.GetAccountService().SetInstallChannel("WeChat");
GUA_NAMESPACE::GUAAccountService::SetInstallChannel("WeChat");