PerBuyerConfiguration
class PerBuyerConfiguration : Parcelable
kotlin.Any | |
↳ | android.adservices.adselection.PerBuyerConfiguration |
Contains a per buyer configuration which will be used as part of a SellerConfiguration
in a GetAdSelectionDataRequest
.
This object will be created by the calling SDK as part of creating the seller configuration.
Summary
Nested classes | |
---|---|
Builder for |
Inherited constants | |
---|---|
Public methods | |
---|---|
Int | |
Boolean | |
AdTechIdentifier |
getBuyer() Returns the buyer associated with this per buyer configuration. |
Int |
The service will make a best effort attempt to include this amount of bytes into the response of |
Int |
hashCode() |
Unit |
writeToParcel(dest: Parcel, flags: Int) Flatten this object in to a Parcel. |
Properties | |
---|---|
static Parcelable.Creator<PerBuyerConfiguration!> |
Public methods
describeContents
fun describeContents(): Int
getBuyer
fun getBuyer(): AdTechIdentifier
Returns the buyer associated with this per buyer configuration.
Return | |
---|---|
AdTechIdentifier |
This value cannot be null . |
getTargetInputSizeBytes
fun getTargetInputSizeBytes(): Int
The service will make a best effort attempt to include this amount of bytes into the response of AdSelectionManager.getAdSelectionData(GetAdSelectionDataRequest, Executor,
for this buyer.
If this is zero this buyer will share remaining space after other buyers' target sizes are respected.
Return | |
---|---|
Int |
Value is between 0 and Integer.MAX_VALUE inclusive |
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<PerBuyerConfiguration!>