SetSessionExtraParam [Player Network SDK Only]
[Player Network SDK Only] Reports extra parameters during MarkSessionLoad
.
Supported Platform
- Unity
- Unreal Engine
Supports
Android, iOS, Windows
platform.Supports
Android, iOS, Windows
platform.Function Definition
- Unity
- Unreal Engine
void SetSessionExtraParam(string extra_json)
static void SetSessionExtraParam(const std::string &extra_json);
Input Parameters
- Unity
- Unreal Engine
Parameter | Type | Description |
---|---|---|
extra_json | string | JSON string |
Parameter | Type | Description |
---|---|---|
extra_json | std::string | JSON string |
Code Sample
- Unity
- Unreal Engine
UnionAdapterAPI.GetReportService().SetSessionExtraParam("{\"Session\":\"Session1\"}");
GUA_NAMESPACE::GUAReportService::SetSessionExtraParam("{\"Session\":\"Session1\"}");