Builder


class Builder
kotlin.Any
   ↳ android.adservices.adselection.SellerConfiguration.Builder

Builder for SellerConfiguration objects.

Summary

Public constructors

Public methods
SellerConfiguration

Builds a SellerConfiguration instance.

SellerConfiguration.Builder
setMaximumPayloadSizeBytes(maximumPayloadSizeBytes: Int)

Sets the target payload size in bytes.

SellerConfiguration.Builder

Sets the per buyer configurations.

Public constructors

Builder

Builder()

Public methods

build

fun build(): SellerConfiguration

Builds a SellerConfiguration instance.

Return
SellerConfiguration This value cannot be null.

setMaximumPayloadSizeBytes

fun setMaximumPayloadSizeBytes(maximumPayloadSizeBytes: Int): SellerConfiguration.Builder

Sets the target payload size in bytes. For more information see getMaximumPayloadSizeBytes()

Parameters
maximumPayloadSizeBytes Int: Value is between 1 and Integer.MAX_VALUE inclusive
Return
SellerConfiguration.Builder This value cannot be null.

setPerBuyerConfigurations

fun setPerBuyerConfigurations(perBuyerConfigurations: MutableSet<PerBuyerConfiguration!>): SellerConfiguration.Builder

Sets the per buyer configurations. For more information see getPerBuyerConfigurations()

Parameters
perBuyerConfigurations MutableSet<PerBuyerConfiguration!>: This value cannot be null.
Return
SellerConfiguration.Builder This value cannot be null.