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 を設定します。

継承されるメソッド

Object clone()

このオブジェクトのコピーを作成して返します。

boolean equals(Object obj)

他のオブジェクトがこのオブジェクトと「等しい」かどうかを示します。

void finalize()

ガベージ コレクションでオブジェクトへの参照がこれ以上ないと判断されたときに、オブジェクトのガベージ コレクタから呼び出されます。

final Class<?> getClass()

この Object のランタイム クラスを返します。

int hashCode()

オブジェクトのハッシュコード値を返します。

final void notify()

このオブジェクトのモニターで待機中のスレッドを 1 つ起こします。

final void notifyAll()

このオブジェクトのモニターで待機しているすべてのスレッドを起動します。

String toString()

オブジェクトの文字列表現を返します。

final void wait(long timeoutMillis, int nanos)

通知や割り込みなどによって現在のスレッドが起きるまで、または一定の時間が経過するまで、現在のスレッドを待機させます。

final void wait(long timeoutMillis)

通知や割り込みなどによって現在のスレッドが起きるまで、または一定の時間が経過するまで、現在のスレッドを待機させます。

final void wait()

通知や割り込みなどによって起きるまで、現在のスレッドを待機させます。

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

パブリック メソッド

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 になることはありません。