下載已完成輸出.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 資料表中的鍵。

繼承方法

Object clone()

建立並傳回此物件的副本。

boolean equals(Object obj)

指出是否有其他物件「等於」這個。

void finalize()

在垃圾收集作業時,垃圾收集器會呼叫該物件上的 判斷物件沒有其他參照

final Class<?> getClass()

傳回此 Object 的執行階段類別。

int hashCode()

傳回該物件的雜湊碼值。

final void notify()

喚醒目前等待這個物件的 監控功能

final void notifyAll()

喚醒所有等待此物件監控器的執行緒。

String toString()

傳回該物件的字串表示法。

final void wait(long timeoutMillis, int nanos)

讓目前的執行緒等待,直到遭到喚醒為止。 通知中斷, 是否經過一定的即時效能

final void wait(long timeoutMillis)

讓目前的執行緒等待,直到遭到喚醒為止。 通知中斷, 是否經過一定的即時效能

final void wait()

讓目前的執行緒等待,直到遭到喚醒為止。 通知受到干擾

公用建構函式

公用方法

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