JoinCustomAudienceRequest


open class JoinCustomAudienceRequest
kotlin.Any
   ↳ android.adservices.customaudience.JoinCustomAudienceRequest

The request object to join a custom audience.

Summary

Nested classes

Builder for JoinCustomAudienceRequest objects.

Public methods
open Boolean
equals(other: Any?)

Checks whether two JoinCustomAudienceRequest objects contain the same information.

open CustomAudience

Returns the custom audience to join.

open Int

Returns the hash of the JoinCustomAudienceRequest object's data.

Public methods

equals

Added in API level 34
Deprecated in API level 37
open fun equals(other: Any?): Boolean

Deprecated: Deprecated in Java.

Checks whether two JoinCustomAudienceRequest objects contain the same information.

Parameters
obj the reference object with which to compare.
Return
Boolean true if this object is the same as the obj argument; false otherwise.

getCustomAudience

open fun getCustomAudience(): CustomAudience

Deprecated: Deprecated in Java.

Returns the custom audience to join.

Return
CustomAudience This value cannot be null.

hashCode

Added in API level 34
Deprecated in API level 37
open fun hashCode(): Int

Deprecated: Deprecated in Java.

Returns the hash of the JoinCustomAudienceRequest object's data.

Return
Int a hash code value for this object.