Skip to main content

Compliance Policy Query (ComplianceQueryStrategy)

AndroidiOSPC
If you are using the Unity engine, see Unity SDK's ComplianceQueryStrategy.

After the player selects their country or region, call ComplianceQueryStrategy to query the compliance policy for the player's country or region.

Function Definition​

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void ComplianceQueryStrategy(const FString Region);

Parameter Instructions​

ParametersTypeExplanation
RegionFStringNumeric codes of countries or regions as per ISO 3166-1
For example, 156 represents China, and 040 represents Austria.

Observers​

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

The callback ID is kMethodIDComplianceQueryStrategy.

Code example​

UINTLSDKAPI::ComplianceQueryStrategy("040");