Android.AdServices.Topics Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to user interest topics through the Android Topics API.
Classes
| Name | Description |
|---|---|
| EncryptedTopic |
Encrypted form of |
| GetTopicsRequest |
Get Topics Request. |
| GetTopicsRequest.Builder |
Builder for |
| GetTopicsResponse |
Represent the result from the getTopics API. |
| GetTopicsResponse.Builder |
Builder for |
| Topic |
Represent the topic result from the getTopics API. |
| TopicsManager |
TopicsManager provides APIs for App and Ad-Sdks to get the user interest topics in a privacy preserving way. |
Remarks
Use TopicsManager to request topics with a GetTopicsRequest and receive a GetTopicsResponse. A Topic identifies an interest category and includes the versions of its taxonomy and classifier model. EncryptedTopic contains an encrypted topic and the key information needed to decrypt it.
The Topics API derives interest categories from app activity. A request can record that its caller has observed the host app's topics. This observation is used to determine whether the caller can receive the topic in the next epoch, a period of topic computation.
The Android Topics APIs are deprecated in API level 37 and have no direct replacement. Applications should stop using them because future Android releases will reject calls.
For more information, see the Android Topics API reference and the Topics on Android guide.