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
- 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
Parameter | Type | Description |
---|---|---|
channel | string | Name of the installation channel |
Parameter | Type | Description |
---|---|---|
channel | std::string | Name of the installation channel |
Code Sample
- Unity
- Unreal Engine
UnionAdapterAPI.GetAccountService().SetInstallChannel("WeChat");
GUA_NAMESPACE::GUAAccountService::SetInstallChannel("WeChat");