Compliance setting for user information and age (ComplianceSetUserInfoWithBirthAge)
AndroidiOSPC
Available from: LI PASS V1.12
Available from: LI PASS V1.12
If you are using the Unity engine, see ComplianceSetUserInfoWithBirthAge in the Unity SDK.
Set the region and birthdate.
Function definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void ComplianceSetUserInfoWithBirthAge(
const FString Region,
const int32 BirthAge = 0);
Parameter Instructions
| Parameters | Type | Explanation |
|---|---|---|
| Region | FString | ISO 3166-1 Numeric code for a country or region For example, 156 represents China, and 040 represents Austria |
| BirthAge | int32 | Age |
Observers
The callback interface is ComplianceResultObserver.The callback data structure is ComplianceResult.
The callback ID is kMethodIDComplianceSetUserInfoWithBirthAge.
Code example
UINTLSDKAPI::ComplianceSetUserInfoWithBirthAge("040",20);