Skip to main content

Compliance Settings User Information and Birthday (ComplianceSetUserInfoWithBirthday)

AndroidiOSWindows
If you are using the Unity engine, refer to the Unity SDK's ComplianceSetUserInfoWithBirthday.

Setting player region and birthday in compliance procedure.

Function Definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void ComplianceSetUserInfoWithBirthday(
const FString Region,
const int32 BirthdayYear = 0,
const int32 BirthdayMonth = 0,
const int32 BirthdayDay = 0);

Parameter Instructions

ParametersTypeExplanation
RegionFStringNumeric codes of countries or regions as per ISO 3166-1
For example, 156 represents China, and 040 represents Austria.
BirthdayYearint32Year of Birth
BirthdayMonthint32Month of Birth
BirthdayDayint32Day of Birth

Observers

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

The callback ID is kMethodIDComplianceSetUserInfoWithBirthday.

Code example

UINTLSDKAPI::ComplianceSetUserInfoWithBirthday("040",2000,1,1);