FetchAndJoinCustomAudienceRequest


@ExperimentalFeatures.Ext10OptIn
public final class FetchAndJoinCustomAudienceRequest


The request object to fetch and join a custom audience.

Summary

Public constructors

FetchAndJoinCustomAudienceRequest(
    @NonNull Uri fetchUri,
    String name,
    Instant activationTime,
    Instant expirationTime,
    AdSelectionSignals userBiddingSignals
)

Public methods

boolean
equals(Object other)

Checks whether two FetchAndJoinCustomAudienceRequest objects contain the same information.

final Instant

The Instant by which joining the custom audience will be delayed.

final Instant

The Instant by when the membership to the custom audience will expire.

final @NonNull Uri

The Uri from which the custom audience is to be fetched.

final String

The name of the custom audience to join.

final AdSelectionSignals

The AdSelectionSignals object representing the user bidding signals for the custom audience.

int

Returns the hash of the FetchAndJoinCustomAudienceRequest object's data.

@NonNull String

Public constructors

FetchAndJoinCustomAudienceRequest

Added in 1.1.0-beta06
public FetchAndJoinCustomAudienceRequest(
    @NonNull Uri fetchUri,
    String name,
    Instant activationTime,
    Instant expirationTime,
    AdSelectionSignals userBiddingSignals
)
Parameters
@NonNull Uri fetchUri

The Uri from which the custom audience is to be fetched.

String name

The name of the custom audience to join.

Instant activationTime

The Instant by which joining the custom audience will be delayed.

Instant expirationTime

The Instant by when the membership to the custom audience will expire.

AdSelectionSignals userBiddingSignals

The AdSelectionSignals object representing the user bidding signals for the custom audience.

Public methods

equals

public boolean equals(Object other)

Checks whether two FetchAndJoinCustomAudienceRequest objects contain the same information.

getActivationTime

Added in 1.1.0-beta06
public final Instant getActivationTime()

The Instant by which joining the custom audience will be delayed.

getExpirationTime

Added in 1.1.0-beta06
public final Instant getExpirationTime()

The Instant by when the membership to the custom audience will expire.

getFetchUri

Added in 1.1.0-beta06
public final @NonNull Uri getFetchUri()

The Uri from which the custom audience is to be fetched.

getName

Added in 1.1.0-beta06
public final String getName()

The name of the custom audience to join.

getUserBiddingSignals

Added in 1.1.0-beta06
public final AdSelectionSignals getUserBiddingSignals()

The AdSelectionSignals object representing the user bidding signals for the custom audience.

hashCode

public int hashCode()

Returns the hash of the FetchAndJoinCustomAudienceRequest object's data.

toString

public @NonNull String toString()