PersistAdSelectionResultRequest.Builder

public static final class PersistAdSelectionResultRequest.Builder
extends Object

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


PersistAdSelectionResultRequest オブジェクトのビルダー。

まとめ

パブリック コンストラクタ

Builder()

パブリック メソッド

PersistAdSelectionResultRequest build()

PersistAdSelectionResultRequest インスタンスを作成します。

PersistAdSelectionResultRequest.Builder setAdSelectionId(long adSelectionId)

広告選択 ID Long を設定します。

PersistAdSelectionResultRequest.Builder setAdSelectionResult(byte[] adSelectionResult)

広告選択の結果 String を設定します。

PersistAdSelectionResultRequest.Builder setSeller(AdTechIdentifier seller)

販売者の AdTechIdentifier を設定します。

継承されるメソッド

パブリック コンストラクタ

パブリック メソッド

build

public PersistAdSelectionResultRequest build ()

PersistAdSelectionResultRequest インスタンスを作成します。

戻り値
PersistAdSelectionResultRequest この値が null になることはありません。

例外
IllegalArgumentException adSelectionIid が設定されていない場合

setAdSelectionId

public PersistAdSelectionResultRequest.Builder setAdSelectionId (long adSelectionId)

広告選択 ID Long を設定します。

パラメータ
adSelectionId long

戻り値
PersistAdSelectionResultRequest.Builder この値が null になることはありません。

setAdSelectionResult

public PersistAdSelectionResultRequest.Builder setAdSelectionResult (byte[] adSelectionResult)

広告選択の結果 String を設定します。

パラメータ
adSelectionResult byte: この値は null であっても構いません。

戻り値
PersistAdSelectionResultRequest.Builder この値が null になることはありません。

setSeller

public PersistAdSelectionResultRequest.Builder setSeller (AdTechIdentifier seller)

販売者 AdTechIdentifier を設定します。

パラメータ
seller AdTechIdentifier: この値は null であっても構いません。

戻り値
PersistAdSelectionResultRequest.Builder この値が null になることはありません。