# MediaActionFeedEntity

# MediaActionFeedEntity

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity "View this page in Kotlin")\|Java  

<br />

```
public final class MediaActionFeedEntity extends Entity
```

<br />

|---|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)                                                                                                |||
| ↳ | [com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity)                                ||
|   | ↳ | [com.google.android.engage.video.datamodel.MediaActionFeedEntity](https://developer.android.com/reference/com/google/android/engage/video/datamodel/MediaActionFeedEntity) |

*** ** * ** ***

Represents a media action feed entity.

This entity facilitates the use of a dataFeedElementId, which serves as a unique identifier for ingested feed content. This ID is crucial for Google TV to accurately identify and process the content, enabling features such as Gracenote metadata lookups.

## Summary

|                                                                                                                                                     ### Nested types                                                                                                                                                     |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `public final class `[MediaActionFeedEntity.Builder](https://developer.android.com/reference/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder) Builder class for[MediaActionFeedEntity](https://developer.android.com/reference/com/google/android/engage/video/datamodel/MediaActionFeedEntity). |

|                                                                                                                           ### Public methods                                                                                                                            |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                                                                                                  | [getDataFeedElementId](https://developer.android.com/reference/com/google/android/engage/video/datamodel/MediaActionFeedEntity#getDataFeedElementId())`()` Returns the data feed element ID of the entity.        |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                                                                                                  | [getDescription](https://developer.android.com/reference/com/google/android/engage/video/datamodel/MediaActionFeedEntity#getDescription())`()` Returns the description of the entity.                             |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                                                                                                  | [getName](https://developer.android.com/reference/com/google/android/engage/video/datamodel/MediaActionFeedEntity#getName())`()` Returns the name of the entity.                                                  |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[List](https://developer.android.com/reference/java/util/List.html)`<`[Image](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Image)`>>` | [getPosterImages](https://developer.android.com/reference/com/google/android/engage/video/datamodel/MediaActionFeedEntity#getPosterImages())`()` Returns the poster images of the entity.                         |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[RecommendationReason](https://developer.android.com/reference/com/google/android/engage/common/datamodel/RecommendationReason)`>`                                          | [getRecommendationReason](https://developer.android.com/reference/com/google/android/engage/video/datamodel/MediaActionFeedEntity#getRecommendationReason())`()` Returns the recommendation reason of the entity. |

|                                                                                                                                                                                                          ### Inherited methods                                                                                                                                                                                                           |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity) |-------|--------------------------------------------------------------------------------------------------------------------------------| | `int` | [getEntityType](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity#getEntityType())`()` | |

## Public methods

### getDataFeedElementId

```
public Optional<String> getDataFeedElementId()
```

Returns the data feed element ID of the entity.  

### getDescription

```
public Optional<String> getDescription()
```

Returns the description of the entity.  

### getName

```
public Optional<String> getName()
```

Returns the name of the entity.  

### getPosterImages

```
public Optional<List<Image>> getPosterImages()
```

Returns the poster images of the entity.  

### getRecommendationReason

```
public Optional<RecommendationReason> getRecommendationReason()
```

Returns the recommendation reason of the entity.