语言

WebTriggerOutput.Builder.SetEventLogRecords 方法

定义

要写入 EVENTS 表的 EventLogRecord 对象的列表。

[Android.Runtime.Register("setEventLogRecords", "(Ljava/util/List;)Landroid/adservices/ondevicepersonalization/WebTriggerOutput$Builder;", "", ApiSince=35)]
public Android.AdServices.OnDevicePersonalization.WebTriggerOutput.Builder SetEventLogRecords(System.Collections.Generic.IList<Android.AdServices.OnDevicePersonalization.EventLogRecord> value);
[<Android.Runtime.Register("setEventLogRecords", "(Ljava/util/List;)Landroid/adservices/ondevicepersonalization/WebTriggerOutput$Builder;", "", ApiSince=35)>]
member this.SetEventLogRecords : System.Collections.Generic.IList<Android.AdServices.OnDevicePersonalization.EventLogRecord> -> Android.AdServices.OnDevicePersonalization.WebTriggerOutput.Builder

参数

value
IList<EventLogRecord>

要写入 EVENTS 表的事件日志记录。

返回

此生成器,其中分配了事件日志记录。

特性

注解

要写入 EVENTS 表的 EventLogRecord 对象的列表。 每个 EventLogRecord 必须与 REQUESTS 表中的现有 RequestLogRecord 相关联,使用 EventLogRecord.Builder.setRequestLogRecord(RequestLogRecord)。 如果未指定 RequestLogRecord,则不会写入 EventLogRecord。 如果不需要将数据写入 EVENTS 表,则列表可以为空。

Android 参考。android.adservices.ondevicepersonalization.WebTriggerOutput.Builder.setEventLogRecords

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于