Set whether the user is of legal age (ComplianceSetAdulthood)
Proactively set whether the user is of legal age.
Function Definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool ComplianceSetAdulthood(UComplianceAgeStatus Status);
Input Parameters
| Parameters | Type | Explanation |
|---|---|---|
| Status | UComplianceAgeStatus | User age indicator -2: Below game rating age -1: Minor 0: Not set 1: Adult |
Callback processing
The callback handler interface is ComplianceResultObserver.The callback data structure is ComplianceResult.
Callback ID is kMethodIDComplianceSetAdulthood.
Code example
UINTLSDKAPI::ComplianceSetAdulthood(UComplianceAgeStatus::kAdult);