SetAppInstallAdvertisersRequest.Builder


public static final class SetAppInstallAdvertisersRequest.Builder
extends Object

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


Summary

Public constructors

Builder()

Public methods

SetAppInstallAdvertisersRequest build()

Builds a SetAppInstallAdvertisersRequest instance.

SetAppInstallAdvertisersRequest.Builder setAdvertisers(Set<AdTechIdentifier> advertisers)

Sets list of allowed advertisers.

Inherited methods

Public constructors

Builder

public Builder ()

Public methods

build

public SetAppInstallAdvertisersRequest build ()

Builds a SetAppInstallAdvertisersRequest instance.

Returns
SetAppInstallAdvertisersRequest This value cannot be null.

setAdvertisers

public SetAppInstallAdvertisersRequest.Builder setAdvertisers (Set<AdTechIdentifier> advertisers)

Sets list of allowed advertisers. See #getAdvertisers()

Parameters
advertisers Set: This value cannot be null.

Returns
SetAppInstallAdvertisersRequest.Builder This value cannot be null.