LeaveCustomAudienceRequest
class LeaveCustomAudienceRequest
| kotlin.Any | |
| ↳ | android.adservices.customaudience.LeaveCustomAudienceRequest |
The request object is used to leave a custom audience.
Summary
| Nested classes | |
|---|---|
|
Builder for |
|
| Public methods | |
|---|---|
| Boolean |
Checks whether two |
| AdTechIdentifier |
getBuyer()Gets the buyer's |
| String |
getName()Gets the arbitrary string provided by the owner and buyer on creation of the |
| Int |
hashCode()Returns the hash of the |
Public methods
equals
fun equals(other: Any?): Boolean
Checks whether two LeaveCustomAudienceRequest 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. |
getBuyer
fun getBuyer(): AdTechIdentifier
Gets the buyer's AdTechIdentifier, as identified by a domain in the form "buyerexample.com".
| Return | |
|---|---|
AdTechIdentifier |
an AdTechIdentifier containing the custom audience's buyer's domain This value cannot be null. |
getName
fun getName(): String
Gets the arbitrary string provided by the owner and buyer on creation of the CustomAudience object that represents a single custom audience.
| Return | |
|---|---|
String |
the String name of the custom audience This value cannot be null. |
hashCode
fun hashCode(): Int
Returns the hash of the LeaveCustomAudienceRequest object's data.
| Return | |
|---|---|
Int |
a hash code value for this object. |