Skip to main content

Free Streaming Service Query [MSDK Only]

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

The client request will pass the key parameter to the backend, which represents the game’s IP.If the user has free data, the server will send the corresponding VIP to the client.

Supported platforms

Supports Android, iOS platform.

Function Definition

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

Input Parameters

ParametersTypeDescription
keystringkey: Returns value (corresponding svip) according to key (original IP) and the backend free data configuration.
extraJsonstringExtension field, currently not used

Callback Handling

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

Callback ID is GUA_TOOLS_FREE_FLOW.

Code Example

UnionAdapterAPI.GetToolsService().GetFreeFlowInfo();