PersistAdSelectionResultRequest

public final class PersistAdSelectionResultRequest
extends Object

java.lang.Object
   ↳ android.adservices.adselection.PersistAdSelectionResultRequest


表示包含卖方、广告选择 ID 和数据的请求。

此类的实例由 SDK 创建,将作为参数提供给 AdSelectionManager 中的 AdSelectionManager.persistAdSelectionResult(PersistAdSelectionResultRequest, Executor, OutcomeReceiver) 方法。

摘要

继承的方法

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

导致当前线程处于等待状态,直到其被唤醒,这通常是 通知中断

公共方法

getAdSelectionId

public long getAdSelectionId ()

返回
long 广告选择 ID。

getAdSelectionResult

public byte[] getAdSelectionResult ()

返回
byte[] 广告选择结果。 此值可以为 null

getSeller

public AdTechIdentifier getSeller ()

返回
AdTechIdentifier 。 此值可以为 null