执行输出.Builder
public
static
final
class
ExecuteOutput.Builder
extends Object
java.lang.Object | |
↳ | android.adservices.ondevicepersonalization.ExecuteOutput.Builder |
ExecuteOutput
的构建器
总结
公共构造函数 | |
---|---|
Builder()
|
公共方法 | |
---|---|
ExecuteOutput.Builder
|
addRenderingConfig(RenderingConfig value)
|
ExecuteOutput
|
build()
构建实例。 |
ExecuteOutput.Builder
|
setRenderingConfigs(List<RenderingConfig> value)
|
ExecuteOutput.Builder
|
setRequestLogRecord(RequestLogRecord value)
要在 |
继承的方法 | |
---|---|
公共构造函数
公共方法
addRenderingConfig
public ExecuteOutput.Builder addRenderingConfig (RenderingConfig value)
参数 | |
---|---|
value |
RenderingConfig :此值不能为 null 。 |
开球回攻次数 | |
---|---|
ExecuteOutput.Builder |
此值不能为 null 。 |
setRenderingConfigs
public ExecuteOutput.Builder setRenderingConfigs (List<RenderingConfig> value)
RenderingConfig
对象的列表,来自调用方应用的请求中指定的每个槽位一个。发起调用的应用和服务必须就此列表的预期大小达成一致。
参数 | |
---|---|
value |
List :此值不能为 null 。 |
开球回攻次数 | |
---|---|
ExecuteOutput.Builder |
此值不能为 null 。 |
setRequestLogRecord
public ExecuteOutput.Builder setRequestLogRecord (RequestLogRecord value)
要在 IsolatedWorker#onExecute(ExecuteInput, java.util.function.Consumer)
完成后写入 REQUESTS 表的持久性数据。如果为 null,则不会写入任何持久性数据。
参数 | |
---|---|
value |
RequestLogRecord :此值不能为 null 。 |
开球回攻次数 | |
---|---|
ExecuteOutput.Builder |