Skip to main content

ComplianceInit

AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see ComplianceInit for Unreal Engine SDK.

Initialize the underage compliance module. Need to be called before the game enters underage compliance certification

Function definition

public static void ComplianceInit();

Input parameters

ParameterTypeDescription
game_idstringPlayer Network SDK unique game ID
openid_idstringPlayer Network SDK OpenID returned by user login
tokenstringPlayer Network SDK token returned by user login
channel_idintThird-party channel ID

Code sample

INTLAPI.ComplianceInit();