# LiveTvProgramEntity

# LiveTvProgramEntity

*** ** * ** ***

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

<br />

```
public final class LiveTvProgramEntity 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.LiveTvProgramEntity](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveTvProgramEntity) |

*** ** * ** ***

An object representing a live tv program.

## Summary

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

|                                                                                                                 ### Public fields                                                                                                                 |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `final `[ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[RatingSystem](https://developer.android.com/reference/com/google/android/engage/video/datamodel/RatingSystem)`>`                | [contentRatings](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveTvProgramEntity#contentRatings())                             |
| `final `[ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                                                       | [genres](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveTvProgramEntity#genres())                                             |
| `final `[ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[PlatformSpecificUri](https://developer.android.com/reference/com/google/android/engage/common/datamodel/PlatformSpecificUri)`>` | [platformSpecificPlaybackUris](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveTvProgramEntity#platformSpecificPlaybackUris()) |

|                                                                                                            ### Public methods                                                                                                             |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[DisplayTimeWindow](https://developer.android.com/reference/com/google/android/engage/common/datamodel/DisplayTimeWindow)`>`     | [getAvailabilityTimeWindows](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveTvProgramEntity#getAvailabilityTimeWindows())`()` Returns the availability time windows of the live tv program.                 |
| [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)`>`                                                                    | [getChannelId](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveTvProgramEntity#getChannelId())`()` Returns the channel id of the live tv program.                                                            |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Image](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Image)`>`                                          | [getChannelLogoImage](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveTvProgramEntity#getChannelLogoImage())`()` Returns the channel logo image of the live tv program.                                      |
| [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)`>`                                                                    | [getChannelName](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveTvProgramEntity#getChannelName())`()` Returns the channel name of the live tv program.                                                      |
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[RatingSystem](https://developer.android.com/reference/com/google/android/engage/video/datamodel/RatingSystem)`>`                | [getContentRatings](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveTvProgramEntity#getContentRatings())`()` Returns the content ratings of the live tv program.                                             |
| [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/LiveTvProgramEntity#getDescription())`()` Returns the description of the live tv program.                                                       |
| [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)`>`                                                                    | [getEntityId](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveTvProgramEntity#getEntityId())`()` Returns the id of the live tv program.                                                                      |
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                                                       | [getGenres](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveTvProgramEntity#getGenres())`()` Returns the genres of the live tv program.                                                                      |
| [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/LiveTvProgramEntity#getName())`()` Returns the name of the live tv program.                                                                            |
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[PlatformSpecificUri](https://developer.android.com/reference/com/google/android/engage/common/datamodel/PlatformSpecificUri)`>` | [getPlatformSpecificPlaybackUris](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveTvProgramEntity#getPlatformSpecificPlaybackUris())`()` Returns the platform specific playback uris of the live tv program. |
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.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/LiveTvProgramEntity#getPosterImages())`()` Returns the program image of the live tv program.                                                   |
| [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/LiveTvProgramEntity#getRecommendationReason())`()` Returns the recommendation reason of the live tv program.                           |

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

### contentRatings

```
public final ImmutableList<RatingSystem> contentRatings
```  

### genres

```
public final ImmutableList<String> genres
```  

### platformSpecificPlaybackUris

```
public final ImmutableList<PlatformSpecificUri> platformSpecificPlaybackUris
```  

## Public methods

### getAvailabilityTimeWindows

```
public ImmutableList<DisplayTimeWindow> getAvailabilityTimeWindows()
```

Returns the availability time windows of the live tv program.  

### getChannelId

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

Returns the channel id of the live tv program.  

### getChannelLogoImage

```
public Optional<Image> getChannelLogoImage()
```

Returns the channel logo image of the live tv program.  

### getChannelName

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

Returns the channel name of the live tv program.  

### getContentRatings

```
public ImmutableList<RatingSystem> getContentRatings()
```

Returns the content ratings of the live tv program.  

### getDescription

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

Returns the description of the live tv program.  

### getEntityId

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

Returns the id of the live tv program.  

### getGenres

```
public ImmutableList<String> getGenres()
```

Returns the genres of the live tv program.  

### getName

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

Returns the name of the live tv program.  

### getPlatformSpecificPlaybackUris

```
public ImmutableList<PlatformSpecificUri> getPlatformSpecificPlaybackUris()
```

Returns the platform specific playback uris of the live tv program.  

### getPosterImages

```
public ImmutableList<Image> getPosterImages()
```

Returns the program image of the live tv program.  

### getRecommendationReason

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

Returns the recommendation reason of the live tv program.