Query EEA Country (QueryIsEEA)
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.
| Parameters | Type | Explanation |
|---|---|---|
| Region | FString | Numeric 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
| Parameters | Type | Explanation |
|---|---|---|
| IsEEA | bool | Currently 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);