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