Skip to main content

Query EEA Country (QueryIsEEA)

AndroidiOS

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

Check if the region belongs to the European Economic Area (EEA).

Function definition​

public static void QueryIsEEA(string region)

Parameter Instructions​

caution

The user's country or region code must strictly follow the ISO 3166-1 standard.For example, when filling in Afghanistan, you must write 004 instead of 4.

ParametersTypeExplanation
regionstringNumeric codes for countries or regions according to ISO 3166-1.For example, 156 represents China, 040 represents Austria
Region values can be obtained from the ComplianceQueryUserStatus callback previously set by ComplianceSetUserProfile.

Return Value​

INTLComplianceResult: Inherits from INTLBaseResult.

ParametersTypeExplanation
Is EEAboolCurrently an EEA country

Callback Handling​

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

The callback ID is INTL_COMPLIANCE_QUERY_IS_EEA.

Code Example​

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