Send Parent Verification Email (ComplianceSendEmail)
In high-risk areas (such as Korea), a verification email must be sent to parents or legal guardians before minors can enter the game.
After receiving the authorization email, the parents or legal guardians of the minor can read the email on a computer or phone and provide or refuse consent according to the instructions in the email.Minors can only start the game once they have received parental consent.
Function Definition
public static void ComplianceSendEmail(string email, string userName);
Parameter Details
| Parameters | Type | Explanation |
|---|---|---|
| string | Target email address | |
| userName | string | Email salutation |
Callback processing
The callback handler interface is ComplianceResultObserver.The callback data structure is ComplianceResult.
Callback ID is INTL_COMPLIANCE_SEND_EMAIL.
Code example
string email = "xxx@xxx.com";
string userName = "intl";
INTLAPI.ComplianceSendEmail(email, userName);