Skip to main content

ComplianceSetAdulthood

AndroidiOSWindows
If you were looking for the method for use with Unity, see ComplianceSetAdulthood for Unity SDK.

Set adult status of a user.

Function definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool ComplianceSetAdulthood(UComplianceAgeStatus Status);

Input parameters

ParameterTypeDescription
StatusUComplianceAgeStatusUser adult status
-2: Below the minimum age of the game
-1: Minor
0: Undefined
1: Adult

Observers

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

The callback methodID is kMethodIDComplianceSetAdulthood.

Code sample

UINTLSDKAPI::ComplianceSetAdulthood(UComplianceAgeStatus::kAdult);