使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
android.adservices.common
接口
类
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# android.adservices.common\n\nAdded in [API level 34](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.adservices.common\n=========================\n\nInterfaces\n----------\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|\n| [AdServicesOutcomeReceiver](/design-for-safety/privacy-sandbox/reference/adservices/common/AdServicesOutcomeReceiver)\\\u003cR, E extends [Throwable](/reference/java/lang/Throwable)\\\u003e | Callback interface intended for use when an asynchronous operation may result in a failure. |\n\nClasses\n-------\n\n|---------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| [AdData](/design-for-safety/privacy-sandbox/reference/adservices/common/AdData) | Represents data specific to an ad that is necessary for ad selection and rendering. |\n| [AdData.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/AdData.Builder) | Builder for [AdData](/design-for-safety/privacy-sandbox/reference/adservices/common/AdData) objects. |\n| [AdFilters](/design-for-safety/privacy-sandbox/reference/adservices/common/AdFilters) | A container class for filters which are associated with an ad. |\n| [AdFilters.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/AdFilters.Builder) | Builder for creating [AdFilters](/design-for-safety/privacy-sandbox/reference/adservices/common/AdFilters) objects. |\n| [AdSelectionSignals](/design-for-safety/privacy-sandbox/reference/adservices/common/AdSelectionSignals) | This class holds JSON that will be passed into a JavaScript function during ad selection. |\n| [AdServicesPermissions](/design-for-safety/privacy-sandbox/reference/adservices/common/AdServicesPermissions) | Permissions used by the AdServices APIs. |\n| [AdTechIdentifier](/design-for-safety/privacy-sandbox/reference/adservices/common/AdTechIdentifier) | An Identifier representing an ad buyer or seller. |\n| [FrequencyCapFilters](/design-for-safety/privacy-sandbox/reference/adservices/common/FrequencyCapFilters) | A container for the ad filters that are based on frequency caps. |\n| [FrequencyCapFilters.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/FrequencyCapFilters.Builder) | Builder for creating [FrequencyCapFilters](/design-for-safety/privacy-sandbox/reference/adservices/common/FrequencyCapFilters) objects. |\n| [KeyedFrequencyCap](/design-for-safety/privacy-sandbox/reference/adservices/common/KeyedFrequencyCap) | A frequency cap for a specific ad counter key. |\n| [KeyedFrequencyCap.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/KeyedFrequencyCap.Builder) | Builder for creating [KeyedFrequencyCap](/design-for-safety/privacy-sandbox/reference/adservices/common/KeyedFrequencyCap) objects. |\n\n-\n\n Interfaces\n ----------\n\n - [AdServicesOutcomeReceiver](/design-for-safety/privacy-sandbox/reference/adservices/common/AdServicesOutcomeReceiver)\n-\n\n Classes\n -------\n\n - [AdData](/design-for-safety/privacy-sandbox/reference/adservices/common/AdData)\n - [AdData.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/AdData.Builder)\n - [AdFilters](/design-for-safety/privacy-sandbox/reference/adservices/common/AdFilters)\n - [AdFilters.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/AdFilters.Builder)\n - [AdSelectionSignals](/design-for-safety/privacy-sandbox/reference/adservices/common/AdSelectionSignals)\n - [AdServicesPermissions](/design-for-safety/privacy-sandbox/reference/adservices/common/AdServicesPermissions)\n - [AdTechIdentifier](/design-for-safety/privacy-sandbox/reference/adservices/common/AdTechIdentifier)\n - [FrequencyCapFilters](/design-for-safety/privacy-sandbox/reference/adservices/common/FrequencyCapFilters)\n - [FrequencyCapFilters.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/FrequencyCapFilters.Builder)\n - [KeyedFrequencyCap](/design-for-safety/privacy-sandbox/reference/adservices/common/KeyedFrequencyCap)\n - [KeyedFrequencyCap.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/KeyedFrequencyCap.Builder)"]]