Compliance Settings User Information and Birthday (ComplianceSetUserInfoWithBirthday)
AndroidiOSWindows
If you are using the Unity engine, refer to the Unity SDK's ComplianceSetUserInfoWithBirthday.
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
| Parameters | Type | Explanation |
|---|---|---|
| Region | FString | Numeric codes of countries or regions as per ISO 3166-1 For example, 156 represents China, and 040 represents Austria. |
| BirthdayYear | int32 | Year of Birth |
| BirthdayMonth | int32 | Month of Birth |
| BirthdayDay | int32 | Day 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);