Skip to main content

Compliance Policy Query (ComplianceQueryStrategy)

AndroidiOSPC

If you are using Unreal Engine, see ComplianceQueryStrategy in the Unreal Engine SDK.

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 a country or region
For example, 156 represents China, and 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");