Skip to main content

ComplianceQueryStrategy

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

Call ComplianceQueryStrategy after a player selects a country or region to query the compliance policy of the country or region.

Function definition

public static void ComplianceQueryStrategy(string region);

Input parameters

ParameterTypeDescription
regionstringISO 3166-1 numeric code for country or region
For example 156 for China, 040 for Austria

Observers

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

The callback methodID is INTL_COMPLIANCE_QUERY_STRATEGY.

Code sample

INTLAPI.ComplianceQueryStrategy("040");