PersistAdSelectionResultRequest

public final class PersistAdSelectionResultRequest
extends Object

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


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

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

摘要

嵌套类

class PersistAdSelectionResultRequest.Builder

用于创建 PersistAdSelectionResultRequest 对象的构建器。 

公共方法

long getAdSelectionId()
byte[] getAdSelectionResult()
AdTechIdentifier getSeller()

继承的方法

公共方法

getAdSelectionId

public long getAdSelectionId ()

返回
long 广告选择 ID。

getAdSelectionResult

public byte[] getAdSelectionResult ()

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

getSeller

public AdTechIdentifier getSeller ()

返回
AdTechIdentifier 卖方。此值可能为 null