PartialCustomAudience
class PartialCustomAudience : 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 | |
| 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
fun describeContents(): Int
| Return | |
|---|---|
| Int | a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0orandroid.os.Parcelable#CONTENTS_FILE_DESCRIPTOR | 
equals
fun equals(other: Any?): Boolean
| Parameters | |
|---|---|
| obj | the reference object with which to compare. | 
| Return | |
|---|---|
| Boolean | trueonly if twoPartialCustomAudienceobjects contain the same information. | 
getActivationTime
fun getActivationTime(): Instant?
Reference CustomAudience.getActivationTime() for details. Will not be overridden if left null.
| Return | |
|---|---|
| Instant? | the Instantby which joining the custom audience will be delayed. | 
getExpirationTime
fun getExpirationTime(): Instant?
Reference CustomAudience.getExpirationTime() for details. Will not be overridden if left null.
| Return | |
|---|---|
| Instant? | the Instantby when the membership to the custom audience will expire. | 
getName
fun getName(): String
Reference CustomAudience.getName() for details.
| Return | |
|---|---|
| String | the Stringname of the custom audience to join. This value cannot benull. | 
getUserBiddingSignals
fun getUserBiddingSignals(): AdSelectionSignals?
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
fun hashCode(): Int
| Return | |
|---|---|
| Int | the hash of the PartialCustomAudienceobject's data. | 
toString
fun toString(): String
| Return | |
|---|---|
| String | a human-readable representation of PartialCustomAudience. | 
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 either0or a combination ofandroid.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES | 
Properties
CREATOR
static val CREATOR: Parcelable.Creator<PartialCustomAudience!>
