Skip to main content

Query EEA Country (QueryIsEEA)

AndroidiOS
If you're using the Unity engine, see QueryIsEEA for the Unity SDK.

Query whether the region is the European Economic Area (EEA).

Function Definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void QueryIsEEA(const FString 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
RegionFStringNumeric codes of countries or regions as per 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

FINTLComplianceResult: Inherits from FINTLBaseResult

ParametersTypeExplanation
IsEEAboolCurrently an EEA country

Callback Handling

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

The callback methodID is kMethodIDComplianceQueryIsEEA.

Code Example

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