Age Verification
LI PASS provides a standard compliance solution for games that have integrated LI PASS, allowing games to configure compliance services directly without having to integrate the APIs mentioned in this article. For games that are using LI PASS, reach out to the Player Network representative to learn more details.
For games not following the standard LI PASS compliance workflow, this article introduces the methods that Player Network provides for compliance services and how to use them.
Prerequisites
- Integrate the SDK.
- Integrate the Player Network authentication service.
- Fill in the file Backend Configurations for Minors according to the Country or Region Configurations, then pass the file to the compliance team.
For games planning to include multi-language support, a separate Terms of Service and Privacy Policy in each language has to be provided as well, by including their respective URLs in the Backend Configurations for Minors file to be submitted.
URLs for each of the languages should be set by appending ?lang_type=
and the respective language code to the end of the URL for the agreement.
Sample URLs:
Terms of Service in English: https://www.example.com/TermsofService.html?lang_type=en
Privacy Policy in Chinese (Simplified): https://www.example.com/PrivacyPolicy.html?lang_type=zh-Hans
Set up age verification for the game app
Callbacks
Add the following callbacks for the age verification service.
- Unity
- Unreal Engine
API | Function |
---|---|
AddComplianceResultObserver | Adds the ComplianceResult callback to manage the callbacks of ComplianceQueryUserInfo, ComplianceMultiSetStatusWithAdultCheckStatus, ComplianceMultiSetStatusWithAge, ComplianceMultiSetStatusWithBirthday, ComplianceSetParentCertificateStatus, ComplianceSendEmail, ComplianceVerifyCreditCard, ComplianceVerifyRealName. |
RemoveComplianceResultObserver | Deletes the ComplianceResult callback. |
API | Function |
---|---|
SetComplianceResultObserver | Sets the ComplianceResult callback for the age verification service. |
GetComplianceResultObserver | Gets the ComplianceResult callback for the age verification service. |
OnComplianceResult_Implementation | For the ComplianceResult callback to manage the callbacks of ComplianceQueryUserInfo, ComplianceMultiSetStatusWithBirthday, ComplianceMultiSetStatusWithAdultCheckStatus, ComplianceMultiSetStatusWithAge, ComplianceSetParentCertificateStatus, ComplianceSendEmail, ComplianceVerifyCreditCard, ComplianceVerifyRealName. |