SellerConfiguration
class SellerConfiguration : Parcelable
kotlin.Any | |
↳ | android.adservices.adselection.SellerConfiguration |
This object will be part of the GetAdSelectionDataRequest
and will be constructed and used by the SDK to influence the size of the response of android.adservices.adselection.AdSelectionManager#getAdSelectionData(android.adservices.adselection.GetAdSelectionDataRequest,java.util.concurrent.Executor,android.os.OutcomeReceiver)
Summary
Nested classes | |
---|---|
Builder for |
Inherited constants | |
---|---|
Public methods | |
---|---|
Int | |
Boolean | |
Int |
Returns the maximum size of the payload in bytes that the service will return. |
MutableSet<PerBuyerConfiguration!> |
Returns a set of per buyer configurations that the service will do a best effort to respect when constructing the response without exceeding |
Int |
hashCode() |
Unit |
writeToParcel(dest: Parcel, flags: Int) Flatten this object in to a Parcel. |
Properties | |
---|---|
static Parcelable.Creator<SellerConfiguration!> |
Public methods
describeContents
fun describeContents(): Int
getMaximumPayloadSizeBytes
fun getMaximumPayloadSizeBytes(): Int
Returns the maximum size of the payload in bytes that the service will return.
Return | |
---|---|
Int |
Value is between 1 and Integer.MAX_VALUE inclusive |
getPerBuyerConfigurations
fun getPerBuyerConfigurations(): MutableSet<PerBuyerConfiguration!>
Returns a set of per buyer configurations that the service will do a best effort to respect when constructing the response without exceeding getMaximumPayloadSizeBytes()
.
If this is empty, the service will fill up the response with buyer data until getMaximumPayloadSizeBytes()
is reached. Otherwise, only data from buyers from the per buyer configuration will be included. If the sum of android.adservices.adselection.PerBuyerConfiguration#getTargetInputSizeBytes()
sizes is larger than getMaximumPayloadSizeBytes()
, the service will do a best effort attempt to proportionally include the buyer data based on the ratio between that specific buyer's target and the sum of PerBuyerConfiguration.getTargetInputSizeBytes()
.
Return | |
---|---|
MutableSet<PerBuyerConfiguration!> |
This value cannot be null . |
hashCode
fun hashCode(): Int
writeToParcel
fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Flatten this object in to a Parcel.
Parameters | |
---|---|
dest |
Parcel: This value cannot be null . |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE . Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE , and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |
Properties
CREATOR
static val CREATOR: Parcelable.Creator<SellerConfiguration!>