EventOutput.Builder

public static final class EventOutput.Builder
extends Object

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


EventOutput 的建構工具。

摘要

公用建構函式

Builder()

公用方法

EventOutput build()

建構例項。

EventOutput.Builder setEventLogRecord(EventLogRecord value)

要寫入 EVENTS 資料表的 EventLogRecord (如果不是空值)。

繼承方法

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()

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

公用建構函式

公用方法

build

public EventOutput build ()

建構例項。呼叫這個方法後,就不宜再對這個建構工具進行任何操作。

傳回
EventOutput 此值不能為 null

setEventLogRecord

public EventOutput.Builder setEventLogRecord (EventLogRecord value)

要寫入 EVENTS 資料表的 EventLogRecord (如果不是空值)。每個 EventLogRecord 都會與已寫入 REQUESTS 資料表的現有 RequestLogRecord 資料列建立關聯。

參數
value EventLogRecord:此值不能為 null