# ContentRecommendation.IntentData

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact com.android.support:recommendation:28.0.0-alpha1  
Summary:[Ctors](https://developer.android.com/reference/android/support/app/recommendation/ContentRecommendation.IntentData#pubctors)\|[Inherited Methods](https://developer.android.com/reference/android/support/app/recommendation/ContentRecommendation.IntentData#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/app/recommendation/ContentRecommendation.IntentData#)  

# ContentRecommendation.IntentData

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public
static


class
ContentRecommendation.IntentData
`  
`

extends Object


``


`

|---|---------------------------------------------------------------------|
| java.lang.Object                                                       ||
| ↳ | android.support.app.recommendation.ContentRecommendation.IntentData |

<br />

*** ** * ** ***

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.

The members of this object correspond to the fields passed into the[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html)factory methods, when creating a new PendingIntent.

## Summary

|                                                                                    ### Public constructors                                                                                    ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[ContentRecommendation.IntentData](https://developer.android.com/reference/android/support/app/recommendation/ContentRecommendation.IntentData#ContentRecommendation.IntentData())`() ` |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/app/recommendation/ContentRecommendation.IntentData#)From class` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||

## Public constructors

### ContentRecommendation.IntentData

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
ContentRecommendation.IntentData ()
```

<br />

<br />

-

  ## Annotations

  - [ContentRecommendation.ContentMaturity](https://developer.android.com/reference/android/support/app/recommendation/ContentRecommendation.ContentMaturity)
  - [ContentRecommendation.ContentPricing](https://developer.android.com/reference/android/support/app/recommendation/ContentRecommendation.ContentPricing)
  - [ContentRecommendation.ContentStatus](https://developer.android.com/reference/android/support/app/recommendation/ContentRecommendation.ContentStatus)
  - [ContentRecommendation.ContentType](https://developer.android.com/reference/android/support/app/recommendation/ContentRecommendation.ContentType)
  - [ContentRecommendation.IntentType](https://developer.android.com/reference/android/support/app/recommendation/ContentRecommendation.IntentType)
-

  ## Classes

  - [ContentRecommendation](https://developer.android.com/reference/android/support/app/recommendation/ContentRecommendation)
  - [ContentRecommendation.Builder](https://developer.android.com/reference/android/support/app/recommendation/ContentRecommendation.Builder)
  - [ContentRecommendation.IntentData](https://developer.android.com/reference/android/support/app/recommendation/ContentRecommendation.IntentData)
  - [RecommendationExtender](https://developer.android.com/reference/android/support/app/recommendation/RecommendationExtender)