# ContentRecommendation.IntentData

# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/recommendation/app/ContentRecommendation.IntentData "View this page in Java")

<br />

```
class 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                                                           |
|--------------------------------------------------------------------------------------------------------------------------------------------|
| [IntentData](https://developer.android.com/reference/kotlin/androidx/recommendation/app/ContentRecommendation.IntentData#IntentData())`()` |

## Public constructors

### IntentData

Added in 1.0.0  

```
IntentData()
```