Skip to main content

QueryIsEEA

AndroidiOS
If you were looking for the method for use with Unreal Engine, see QueryIsEEA for Unreal Engine SDK.

Query if a region is in the European Economic Area (EEA).

Function definition

public static void QueryIsEEA(string region)

Input parameters

caution

The country or region code of a user must strictly follow the ISO 3166-1 standard. For example, write 004 instead of 4 for Afghanistan.

ParameterTypeDescription
regionstringISO 3166-1 numeric code for country or region. For example, 156 for China, 040 for Austria
Region values can be retrieved from ComplianceQueryUserStatus callback that was previously set via ComplianceSetUserProfile

Return value

INTLComplianceResult: Inherits from INTLBaseResult.

ParameterTypeDescription
IsEEAboolChecks whether player is currently in EEA

Observers

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

The callback methodID is INTL_COMPLIANCE_QUERY_IS_EEA.

Code sample

string region = "250";
INTLAPI.QueryIsEEA(region);