使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# RemoveAdSelectionOverrideRequest\n\nAdded in [API level 34](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nAlso in [Ad Services Extensions 4](/sdkExtensions) \nSummary: [Ctors](#pubctors) \\| [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \n\nRemoveAdSelectionOverrideRequest\n================================\n\n\n`\npublic\n\n\nclass\nRemoveAdSelectionOverrideRequest\n`\n\n\n`\n\nextends `[Object](/reference/java/lang/Object)`\n\n\n`\n\n`\n\n\n`\n\n|---|-----------------------------------------------------------------|\n| [java.lang.Object](/reference/java/lang/Object) ||\n| ↳ | android.adservices.adselection.RemoveAdSelectionOverrideRequest |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nThis POJO represents the [TestAdSelectionManager#removeAdSelectionConfigRemoteInfoOverride(\nRemoveAdSelectionOverrideRequest, Executor, OutcomeReceiver)](/design-for-safety/privacy-sandbox/reference/adservices/adselection/TestAdSelectionManager#removeAdSelectionConfigRemoteInfoOverride(android.adservices.adselection.RemoveAdSelectionOverrideRequest,%20java.util.concurrent.Executor,%20android.os.OutcomeReceiver\u003cjava.lang.Object,java.lang.Exception\u003e)) request\n\nIt contains one field, a [AdSelectionConfig](/design-for-safety/privacy-sandbox/reference/adservices/adselection/AdSelectionConfig) which serves as the identifier of the\noverride to be removed\n\nSummary\n-------\n\n| ### Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[RemoveAdSelectionOverrideRequest](/design-for-safety/privacy-sandbox/reference/adservices/adselection/RemoveAdSelectionOverrideRequest#RemoveAdSelectionOverrideRequest(android.adservices.adselection.AdSelectionConfig))`(`[AdSelectionConfig](/design-for-safety/privacy-sandbox/reference/adservices/adselection/AdSelectionConfig)` adSelectionConfig) ` Builds a [RemoveAdSelectionOverrideRequest](/design-for-safety/privacy-sandbox/reference/adservices/adselection/RemoveAdSelectionOverrideRequest) instance. |\n\n| ### Public methods ||\n|---------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` `[AdSelectionConfig](/design-for-safety/privacy-sandbox/reference/adservices/adselection/AdSelectionConfig) | ` `[getAdSelectionConfig](/design-for-safety/privacy-sandbox/reference/adservices/adselection/RemoveAdSelectionOverrideRequest#getAdSelectionConfig())`() ` |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` `[java.lang.Object](/reference/java/lang/Object)` ` |---------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](/reference/java/lang/Object) | ` `[clone](/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object. | | ` boolean` | ` `[equals](/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](/reference/java/lang/Object)` obj) ` Indicates whether some other object is \"equal to\" this one. | | ` void` | ` `[finalize](/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. | | ` final `[Class](/reference/java/lang/Class)`\u003c?\u003e` | ` `[getClass](/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this `Object`. | | ` int` | ` `[hashCode](/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object. | | ` final void` | ` `[notify](/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor. | | ` final void` | ` `[notifyAll](/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor. | | ` `[String](/reference/java/lang/String) | ` `[toString](/reference/java/lang/Object#toString())`() ` Returns a string representation of the object. | | ` final void` | ` `[wait](/reference/java/lang/Object#wait(long,%20int))`(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed. | | ` final void` | ` `[wait](/reference/java/lang/Object#wait(long))`(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed. | | ` final void` | ` `[wait](/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*. | ||\n\nPublic constructors\n-------------------\n\n### RemoveAdSelectionOverrideRequest\n\nAdded in [API level 34](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nAlso in [Ad Services Extensions 4](/sdkExtensions) \n\n```\npublic RemoveAdSelectionOverrideRequest (AdSelectionConfig adSelectionConfig)\n```\n\nBuilds a [RemoveAdSelectionOverrideRequest](/design-for-safety/privacy-sandbox/reference/adservices/adselection/RemoveAdSelectionOverrideRequest) instance.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------------------|----------------------------------------------------------|\n| `adSelectionConfig` | `AdSelectionConfig`: This value cannot be `null`. \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### getAdSelectionConfig\n\nAdded in [API level 34](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nAlso in [Ad Services Extensions 4](/sdkExtensions) \n\n```\npublic AdSelectionConfig getAdSelectionConfig ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|\n| [AdSelectionConfig](/design-for-safety/privacy-sandbox/reference/adservices/adselection/AdSelectionConfig) | AdSelectionConfig, the configuration of the ad selection process. This value cannot be `null`. \u003cbr /\u003e |"]]