Skip to main content

Compliance Policy Query (ComplianceQueryStrategy)

AndroidiOSWindows
If you are using the Unreal Engine, see Unreal Engine SDK's ComplianceQueryStrategy.

After the player selects their country or region, call ComplianceQueryStrategy to query the compliance policy for the player's country or region.

Function Definition

public static void ComplianceQueryStrategy(string region);

Parameter Instructions

ParametersTypeExplanation
regionStringISO 3166-1 numeric code for countries or regions
For example, 156 represents China, 040 represents Austria

Observers

The callback interface is ComplianceResultObserver.The callback data structure is ComplianceResult.

The callback ID is INTL_COMPLIANCE_QUERY_STRATEGY.

Code example

INTLAPI.ComplianceQueryStrategy("040");