GetTopicsRequest
public
final
class
GetTopicsRequest
extends Object
| java.lang.Object | |
| ↳ | android.adservices.topics.GetTopicsRequest |
This class was deprecated
in API level 37.
The Rubidium (Rb) Relevance APIs, including those in android.adservices.topics, are
being deprecated. Relevance APIs have no direct replacement. Developers should stop using
them, as calls will be rejected in future Android releases. Please refer to official Privacy
Sandbox documentation for deprecation and roadmap details:
https://privacysandbox.com/news/update-on-plans-for-privacy-sandbox-technologies/
Get Topics Request.
Summary
Nested classes | |
|---|---|
class |
GetTopicsRequest.Builder
This class was deprecated in API level 37. The Rubidium (Rb) Relevance APIs, including those in android.adservices.topics, are being deprecated. Relevance APIs have no direct replacement. Developers should stop using them, as calls will be rejected in future Android releases. Please refer to official Privacy Sandbox documentation for deprecation and roadmap details: https://privacysandbox.com/news/update-on-plans-for-privacy-sandbox-technologies/ |
Public methods | |
|---|---|
String
|
getAdsSdkName()
Get the Sdk Name. |
boolean
|
shouldRecordObservation()
Get Record Observation. |
Inherited methods | |
|---|---|
Public methods
getAdsSdkName
public String getAdsSdkName ()
Get the Sdk Name.
| Returns | |
|---|---|
String |
This value cannot be null. |
shouldRecordObservation
public boolean shouldRecordObservation ()
Get Record Observation.
| Returns | |
|---|---|
boolean |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-03-26 UTC.