Skip to main content

QueryIsEEA

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

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

Function definition​

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void QueryIsEEA(const FString 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
RegionFStringISO 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​

FINTLComplianceResult: Inherits from FINTLBaseResult

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 kMethodIDComplianceQueryIsEEA.

Code sample​

FString region = "250";
UINTLSDKAPI::QueryIsEEA(region);