Get Channel ID [Player Network SDK only]
[Player Network SDK only] Get Channel ID.
| Platform | ID | Channel Name |
|---|---|---|
| iOS | 0 | AppStore |
| Android | 1 2 3 4 5 6 7 8 9 10 11 12 | Google Samsung Huawei Xiaomi Oppo Vivo Transsion Onestore Aptoide Amazon Uptodown Apkpure |
| Windows (computer) | * | Obtained via WINDOWS_STORE_CHANNEL configured in INTLConfig.iniDefault: 100 |
Supported Platforms
- Unity
- Unreal Engine
Supports
Android, iOS, Windows platform.Supports
Android, iOS, Windows platform.Function Definition
- Unity
- Unreal Engine
int GetStoreChannel();
static int GetStoreChannel();
Code Example
- Unity
- Unreal Engine
int m_channel = UnionAdapterAPI.GetToolsService().GetStoreChannel();
int m_channel = GUA_NAMESPACE::GUAToolsService::GetStoreChannel();