DownloadCompletedOutput.Builder

public static final class DownloadCompletedOutput.Builder
extends Object

java.lang.Object
   ↳ android.adservices.ondevicepersonalization.DownloadCompletedOutput.Builder


DownloadCompletedOutput 的构建器

摘要

公共构造函数

Builder()

公共方法

DownloadCompletedOutput.Builder addRetainedKey(String value)
DownloadCompletedOutput build()

构建实例。

DownloadCompletedOutput.Builder setRetainedKeys(List<String> value)

要在 REMOTE_DATA 表中保留的键。

继承的方法

公共构造函数

公共方法

addRetainedKey

public DownloadCompletedOutput.Builder addRetainedKey (String value)

参数
value String:此值不能为 null

返回
DownloadCompletedOutput.Builder 此值不能为 null

另请参阅

build

public DownloadCompletedOutput build ()

构建实例。调用此方法后,不应再触碰此构建器!

返回
DownloadCompletedOutput 此值不能为 null

setRetainedKeys

public DownloadCompletedOutput.Builder setRetainedKeys (List<String> value)

要在 REMOTE_DATA 表中保留的键。任何不在此列表中的现有键都将从表中移除。

参数
value List:此值不能为 null

返回
DownloadCompletedOutput.Builder 此值不能为 null