Skip to main content

UpdateConfig

[Player Network SDK & MSDK] Update configuration dynamically.

Supported Platform

Supports Android, iOS, Windows platform.
note

MSDK currently does not support Windows.

Function Definition

bool UpdateConfig(Dictionary<string, string> configsDic, string project = "")

Input Parameters

ParameterTypeDescription
configsDicDictionary<string, string>Configuration content
projectstringDefault parameter, keep unchanged

Code Sample

Dictionary<string, string> config = new Dictionary<string, string>();
config.Add("LOG_LEVEL", "1");
UnionAdapterAPI.GetToolsService()::UpdateConfigs(config);