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