PartialCustomAudience
classPartialCustomAudience: Parcelable
| kotlin.Any | |
| ↳ | android.adservices.customaudience.PartialCustomAudience |
Represents a partial custom audience that is passed along to the buyer ad tech, when scheduling a delayed update for Custom Audience. Any field set by the caller cannot be overridden by the custom audience fetched from the updateUri
Given multiple Custom Audiences could be returned by the buyer, we will match the override restriction based on the name of Custom Audience. Thus name would be a required field.
Other nullable fields will not be overridden if left null
For more information about each field refer to CustomAudience.
Summary
| Nested classes | |
|---|---|
|
Builder for |
|
| Inherited constants | |
|---|---|
| Public methods | |
|---|---|
| Int |
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. |
| Boolean | |
| Instant? |
Reference |
| Instant? |
Reference |
| String |
getName()Reference |
| AdSelectionSignals? |
Reference |
| Int |
hashCode() |
| String |
toString() |
| Unit |
writeToParcel(dest: Parcel, flags: Int)Flatten this object in to a Parcel. |
| Properties | |
|---|---|
| static Parcelable.Creator<PartialCustomAudience!> | |
Public methods
describeContents
fundescribeContents(): Int
Deprecated: Deprecated in Java.
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. For example, if the object will include a file descriptor in the output of writeToParcel(Parcel,int), the return value of this method must include the CONTENTS_FILE_DESCRIPTOR bit.
| Return | |
|---|---|
Int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or
|
equals
funequals(other: Any?): Boolean
Deprecated: Deprecated in Java.
| Parameters | |
|---|---|
obj |
the reference object with which to compare. |
| Return | |
|---|---|
Boolean |
true only if two PartialCustomAudience objects contain the same information. |
getActivationTime
fungetActivationTime(): Instant?
Deprecated: Deprecated in Java.
Reference CustomAudience.getActivationTime() for details. Will not be overridden if left null.
| Return | |
|---|---|
Instant? |
the Instant by which joining the custom audience will be delayed. |
getExpirationTime
fungetExpirationTime(): Instant?
Deprecated: Deprecated in Java.
Reference CustomAudience.getExpirationTime() for details. Will not be overridden if left null.
| Return | |
|---|---|
Instant? |
the Instant by when the membership to the custom audience will expire. |
getName
fungetName(): String
Deprecated: Deprecated in Java.
Reference CustomAudience.getName() for details.
| Return | |
|---|---|
String |
the String name of the custom audience to join. This value cannot be null. |
getUserBiddingSignals
fungetUserBiddingSignals(): AdSelectionSignals?
Deprecated: Deprecated in Java.
Reference CustomAudience.getUserBiddingSignals() for details. Will not be overridden if left null.
| Return | |
|---|---|
AdSelectionSignals? |
the buyer signals to be consumed by the buyer-provided JavaScript when the custom audience participates in an ad selection. |
hashCode
funhashCode(): Int
Deprecated: Deprecated in Java.
| Return | |
|---|---|
Int |
the hash of the PartialCustomAudience object's data. |
toString
funtoString(): String
Deprecated: Deprecated in Java.
| Return | |
|---|---|
String |
a human-readable representation of PartialCustomAudience. |
writeToParcel
funwriteToParcel(
dest: Parcel,
flags: Int
): Unit
Deprecated: Deprecated in Java.
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 the following:
|
Properties
CREATOR
static valCREATOR: Parcelable.Creator<PartialCustomAudience!>
Deprecated: Deprecated in Java.