Object used to encapsulate the data to be used to build the PendingIntent object
associated with a given content recommendation, at the time this recommendation gets posted
to the home Screen.
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 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# android.support.app.recommendation\n\nadded in [version 24.1.0](/topic/libraries/support-library/revisions) \n\nandroid.support.app.recommendation\n==================================\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](/jetpack/androidx) which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class\n| mappings](/jetpack/androidx/migrate/class-mappings).\n\nAnnotations\n-----------\n\n|------------------------------------------------------------------------------------------------------------------------------|---|\n| [ContentRecommendation.ContentMaturity](/reference/android/support/app/recommendation/ContentRecommendation.ContentMaturity) | |\n| [ContentRecommendation.ContentPricing](/reference/android/support/app/recommendation/ContentRecommendation.ContentPricing) | |\n| [ContentRecommendation.ContentStatus](/reference/android/support/app/recommendation/ContentRecommendation.ContentStatus) | |\n| [ContentRecommendation.ContentType](/reference/android/support/app/recommendation/ContentRecommendation.ContentType) | |\n| [ContentRecommendation.IntentType](/reference/android/support/app/recommendation/ContentRecommendation.IntentType) | |\n\nClasses\n-------\n\n|--------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ContentRecommendation](/reference/android/support/app/recommendation/ContentRecommendation) | The ContentRecommendation object encapsulates all application provided data for a single content recommendation item. |\n| [ContentRecommendation.Builder](/reference/android/support/app/recommendation/ContentRecommendation.Builder) | Builder class for [ContentRecommendation](/reference/android/support/app/recommendation/ContentRecommendation) objects. |\n| [ContentRecommendation.IntentData](/reference/android/support/app/recommendation/ContentRecommendation.IntentData) | Object used to encapsulate the data to be used to build the [PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html) object associated with a given content recommendation, at the time this recommendation gets posted to the home Screen. |\n| [RecommendationExtender](/reference/android/support/app/recommendation/RecommendationExtender) | Helper class to add content info extensions to notifications. |\n\n-\n\n Annotations\n -----------\n\n - [ContentRecommendation.ContentMaturity](/reference/android/support/app/recommendation/ContentRecommendation.ContentMaturity)\n - [ContentRecommendation.ContentPricing](/reference/android/support/app/recommendation/ContentRecommendation.ContentPricing)\n - [ContentRecommendation.ContentStatus](/reference/android/support/app/recommendation/ContentRecommendation.ContentStatus)\n - [ContentRecommendation.ContentType](/reference/android/support/app/recommendation/ContentRecommendation.ContentType)\n - [ContentRecommendation.IntentType](/reference/android/support/app/recommendation/ContentRecommendation.IntentType)\n-\n\n Classes\n -------\n\n - [ContentRecommendation](/reference/android/support/app/recommendation/ContentRecommendation)\n - [ContentRecommendation.Builder](/reference/android/support/app/recommendation/ContentRecommendation.Builder)\n - [ContentRecommendation.IntentData](/reference/android/support/app/recommendation/ContentRecommendation.IntentData)\n - [RecommendationExtender](/reference/android/support/app/recommendation/RecommendationExtender)"]]