Skip to main content

ComplianceSetUserInfoWithBirthday

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

Set region and birthday in the compliance process.

Function definition

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

Input parameters

ParameterTypeDescription
regionstringISO 3166-1 numeric code for country or region
For example 156 for China, 040 for Austria
birthdaystringDate of birth
Format: yyyy-mm or yyyy-mm-dd

Observers

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

The callback methodID is INTL_COMPLIANCE_SET_USER_INFO_WITH_BIRTHDAY.

Code sample

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