ComplianceMultiSetStatusWithBirthday
AndroidiOSWindows
Available from: LI PASS V1.12
If you were looking for the method for use with Unity, see ComplianceMultiSetStatusWithBirthday for Unity SDK.
Available from: LI PASS V1.12
If you were looking for the method for use with Unity, see ComplianceMultiSetStatusWithBirthday for Unity SDK.
Set and synchronize region and birthday.
Function definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void ComplianceMultiSetStatusWithBirthday(
const FString openid,
const FString token,
const FString region,
const FString birthday,
const int32 certificateType,
const FString extraJson,
const int32 channelId,
const bool isUid,
const int32 uiType);
Input parameters
Parameter | Type | Description |
---|---|---|
openid | FString | OpenID obtained from AuthResult |
token | FString | Token obtained from AuthResult |
region | FString | ISO 3166-1 numeric code for country or region For example 156 for China, 040 for Austria |
birthday | FString | Date of birth, format: yyyy-mm-dd |
certificateType | int32 | 0: Not required 1: Self-verification 2: Credit card 3: Email |
extraJson | FString | Extra information |
channelId | int32 | ChannelID obtained from AuthResult |
isUid | bool | Whether to set compliance information with uid instead of openid. Set to false by default, this value does not need to be changed and can be ignored. |
uiType | int32 | UiType obtained from ComplianceResult, usually 3 for birthday. |
Observers
The callback processing interface is ComplianceResultObserver. The callback data structure is ComplianceResult.
The callback methodID is kMethodIDComplianceMultiSetStatus
.
Code sample
FString openID = "123456789";
FString token = "qwewerasd123456789qwewer";
FString region = "413",
FString birthday = "1970-01-01",
int certificate_type = 1;
int channelID = 131;
bool isUid = false;
int uiType = 3;
UINTLSDKAPI::ComplianceMultiSetStatusWithBirthday(openID,token,region,birthday,certificate_type,"{}", channelID, isUid, uiType);