Compliance Policy Query (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
| Parameters | Type | Explanation |
|---|---|---|
| Region | FString | Numeric 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");