GetStoreChannel [Player Network SDK Only]
[Player Network SDK Only] Get the store ID.
Platform | ID | Store Channel |
---|---|---|
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 | - | Gotten through the WINDOWS_STORE_CHANNEL field configured in INTLConfig.iniDefault: 100 |
Supported Platform
- Unity
- Unreal Engine
Supports
Android, iOS, Windows
platform.Supports
Android, iOS, Windows
platform.Function Definition
- Unity
- Unreal Engine
int GetStoreChannel();
static int GetStoreChannel();
Code Sample
- Unity
- Unreal Engine
int m_channel = UnionAdapterAPI.GetToolsService().GetStoreChannel();
int m_channel = GUA_NAMESPACE::GUAToolsService::GetStoreChannel();