Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
android.adservices.common
Antarmuka
Class
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-27 UTC."],[],[],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)"]]