Skip to main content

ComplianceSetParentCertificateStatus

AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see ComplianceSetParentCertificateStatus for Unreal Engine SDK.

Set parental consent status.

Function definition

public static void ComplianceSetParentCertificateStatus(ComplianceParentCertificateStatus status);

public enum ComplianceParentCertificateStatus
{
Deny = -1,
UnKnown = 0,
Agree = 1,
}

Input parameters

ParameterTypeDescription
statusComplianceParentCertificateStatus-1: Refuse
0: Not set
1: Consent

Observers

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

The callback methodID is INTL_COMPLIANCE_SET_PARENT_CERTIFICATE_STATUS.

Code sample

ComplianceParentCertificateStatus kstatus = ComplianceParentCertificateStatus.UnKnown;
// kstatus = ComplianceParentCertificateStatus.Deny;
// kstatus = ComplianceParentCertificateStatus.Agree;
INTLAPI.ComplianceSetParentCertificateStatus(kstatus);