Skip to main content

Compliance setting for user information and age (ComplianceSetUserInfoWithBirthAge)

AndroidiOSWindows
Available from: LI PASS V1.12
If you are using the Unity engine, refer to Unity SDK's ComplianceSetUserInfoWithBirthAge.

Set the region and birthdate.

Function Definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void ComplianceSetUserInfoWithBirthAge(
const FString Region,
const int32 BirthAge = 0);

Parameter Instructions

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

Observers

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

The callback ID is kMethodIDComplianceSetUserInfoWithBirthAge.

Code example

UINTLSDKAPI::ComplianceSetUserInfoWithBirthAge("040",20);