ComplianceSetAdulthood
AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see ComplianceSetAdulthood for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see ComplianceSetAdulthood for Unreal Engine SDK.
Set adult status of a user.
Function definition
public static void ComplianceSetAdulthood(ComplianceAgeStatus kstatus)
Input parameters
Parameter | Type | Description |
---|---|---|
kstatus | ComplianceAgeStatus | User 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 INTL_COMPLIANCE_SET_ADULTHOOD
.
Code sample
ComplianceAgeStatus kstatus = ComplianceAgeStatus.UnKnown;
kstatus = ComplianceAgeStatus.Minor;
kstatus = ComplianceAgeStatus.Adult;
INTLAPI.ComplianceSetAdulthood(kstatus);