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