Skip to main content

Compliance Settings User Information and Birthday (ComplianceSetUserInfoWithBirthday)

AndroidiOSWindows
If you are using Unreal Engine, refer to the Unreal Engine SDK's ComplianceSetUserInfoWithBirthday.

Setting player region and birthday in compliance procedure.

Function Definition

public static void ComplianceSetUserInfoWithBirthday(string region, string birthday);

Parameter Instructions

ParametersTypeExplanation
regionstringNumeric codes of countries or regions as per ISO 3166-1
For example, 156 represents China, and 040 represents Austria.
birthdayStringPlayer's birthdate
Format supports yyyy-mm or yyyy-mm-dd

Observers

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

The callback ID is INTL_COMPLIANCE_SET_USER_INFO_WITH_BIRTHDAY.

Code example

INTLAPI.ComplianceSetUserInfoWithBirthday("040","2000-01-01");