# ContentRecommendation.IntentData

Artifact: [androidx.recommendation:recommendation](https://developer.android.com/jetpack/androidx/releases/recommendation) [View Source](https://cs.android.com/search?q=file:androidx/recommendation/app/ContentRecommendation.java+class:androidx.recommendation.app.ContentRecommendation.IntentData) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/recommendation#1.0.0)

*** ** * ** ***


```
public class ContentRecommendation.IntentData
```

<br />

*** ** * ** ***

Object used to encapsulate the data to be used to build the `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 `https://developer.android.com/reference/android/app/PendingIntent.html` factory methods, when creating a new PendingIntent.

## Summary

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

## Public constructors

### IntentData

Added in 1.0.0

```
public IntentData()
```