QueryIsEEA
AndroidiOS
If you were looking for the method for use with Unreal Engine, see QueryIsEEA for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see QueryIsEEA for Unreal Engine SDK.
Query if a region is in the European Economic Area (EEA).
Function definition
public static void QueryIsEEA(string 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.
Parameter | Type | Description |
---|---|---|
region | string | ISO 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
INTLComplianceResult: Inherits from INTLBaseResult.
Parameter | Type | Description |
---|---|---|
IsEEA | bool | Checks whether player is currently in EEA |
Observers
The callback processing interface is ComplianceResultObserver. The callback data structure is ComplianceResult.
The callback methodID is INTL_COMPLIANCE_QUERY_IS_EEA
.
Code sample
string region = "250";
INTLAPI.QueryIsEEA(region);