Builder
classBuilder
| kotlin.Any | |
| ↳ | android.adservices.adselection.PerBuyerConfiguration.Builder |
Builder for PerBuyerConfiguration objects.
Summary
| Public constructors | |
|---|---|
Builder()Creates a new |
|
| Public methods | |
|---|---|
| PerBuyerConfiguration |
build()Builds a |
| PerBuyerConfiguration.Builder |
setBuyer(buyer: AdTechIdentifier)Sets the buyer for this configuration. |
| PerBuyerConfiguration.Builder |
setTargetInputSizeBytes(targetInputSizeB: Int)Sets the target input size in bytes for this configuration. |
Public constructors
Public methods
build
funbuild(): PerBuyerConfiguration
Deprecated: Deprecated in Java.
Builds a PerBuyerConfiguration instance.
| Return | |
|---|---|
PerBuyerConfiguration |
This value cannot be null. |
setBuyer
funsetBuyer(buyer: AdTechIdentifier): PerBuyerConfiguration.Builder
Deprecated: Deprecated in Java.
Sets the buyer for this configuration. See getBuyer() for more details.
| Parameters | |
|---|---|
buyer |
AdTechIdentifier: This value cannot be null. |
| Return | |
|---|---|
PerBuyerConfiguration.Builder |
This value cannot be null. |
setTargetInputSizeBytes
funsetTargetInputSizeBytes(targetInputSizeB: Int): PerBuyerConfiguration.Builder
Deprecated: Deprecated in Java.
Sets the target input size in bytes for this configuration.
If this is not explicitly set, this buyer will share remaining space after other buyers' target sizes are respected. See getTargetInputSizeBytes() for more details.
| Parameters | |
|---|---|
targetInputSizeB |
Int: Value is between 0 and java.lang.Integer#MAX_VALUE inclusive |
| Return | |
|---|---|
PerBuyerConfiguration.Builder |
This value cannot be null. |