JoinCustomAudienceRequest
open class JoinCustomAudienceRequest
| kotlin.Any | |
| ↳ | android.adservices.customaudience.JoinCustomAudienceRequest |
The request object to join a custom audience.
Summary
| Nested classes | |
|---|---|
| Builder for | |
| Public methods | |
|---|---|
| open Boolean | Checks whether two |
| open CustomAudience | Returns the custom audience to join. |
| open Int | hashCode()Returns the hash of the |
Public methods
equals
Added in API level 34
open fun equals(other: Any?): Boolean
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
Returns the custom audience to join.
| Return | |
|---|---|
CustomAudience | This value cannot be null. |
hashCode
Added in API level 34
open fun hashCode(): Int
Returns the hash of the JoinCustomAudienceRequest object's data.
| Return | |
|---|---|
Int | a hash code value for this object. |