Added in Ad Services Extensions 14
Builder
class Builder
kotlin.Any | |
↳ | android.adservices.adselection.SellerConfiguration.Builder |
Builder for SellerConfiguration
objects.
Summary
Public constructors | |
---|---|
Builder() |
Public methods | |
---|---|
SellerConfiguration |
build() Builds a |
SellerConfiguration.Builder |
setMaximumPayloadSizeBytes(maximumPayloadSizeBytes: Int) Sets the target payload size in bytes. |
SellerConfiguration.Builder |
setPerBuyerConfigurations(perBuyerConfigurations: MutableSet<PerBuyerConfiguration!>) Sets the per buyer configurations. |
Public constructors
Public methods
build
Added in Ad Services Extensions 14
fun build(): SellerConfiguration
Builds a SellerConfiguration
instance.
Return | |
---|---|
SellerConfiguration |
This value cannot be null . |
setMaximumPayloadSizeBytes
Added in Ad Services Extensions 14
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
Added in Ad Services Extensions 14
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 . |