Skip to main content

GetFreeFlowInfo [MSDK Only]

[MSDK Only] The game client calls the backend API to verify for free data service.

The client pass the key parameter, which is the game IP, to the backend. If the player qualify for free data service, the server will send the corresponding VIP to the client.

Supported Platform

Supports Android, iOS platform.

Function Definition

bool GetFreeFlowInfo(string key,  string extra = "");

Input Parameters

ParameterTypeDescription
keystringkey is returned according to the key (original IP), and the corresponding value (corresponding svip) of the background streaming free configuration
extraJsonstringExtended field, currently not in use

Callback Processing

The callback processing API is GUAToolsFreeFlowResultObserver. The callback data structure is GUAToolsFreeFlowResult.

The callback methodID is GUA_TOOLS_FREE_FLOW.

Code Sample

UnionAdapterAPI.GetToolsService().GetFreeFlowInfo();