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 | trueif this object is the same as the obj argument;falseotherwise. | 
getBuyer
fun getBuyer(): AdTechIdentifier
Gets the buyer's AdTechIdentifier, as identified by a domain in the form "buyerexample.com".
| Return | |
|---|---|
| AdTechIdentifier | an AdTechIdentifiercontaining the custom audience's buyer's domain This value cannot benull. | 
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. | 
