# LiveTvProgramEntity

# LiveTvProgramEntity

*** ** * ** ***

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

<br />

```
class LiveTvProgramEntity : Entity
```

<br />

|---|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                                   |||
| ↳ | [com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity)                            ||
|   | ↳ | [com.google.android.engage.video.datamodel.LiveTvProgramEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvProgramEntity) |

*** ** * ** ***

An object representing a live tv program.

## Summary

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

|                                                                                                              ### Public functions                                                                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[DisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/DisplayTimeWindow)`!>!` | [getAvailabilityTimeWindows](https://developer.android.com/reference/kotlin/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://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                              | [getChannelId](https://developer.android.com/reference/kotlin/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/kotlin/com/google/android/engage/common/datamodel/Image)`!>!`                                      | [getChannelLogoImage](https://developer.android.com/reference/kotlin/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://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                              | [getChannelName](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvProgramEntity#getChannelName())`()` Returns the channel name of the live tv program.                                      |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                              | [getDescription](https://developer.android.com/reference/kotlin/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://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                              | [getEntityId](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvProgramEntity#getEntityId())`()` Returns the id of the live tv program.                                                      |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                              | [getName](https://developer.android.com/reference/kotlin/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)`<`[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!>!`                         | [getPosterImages](https://developer.android.com/reference/kotlin/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/kotlin/com/google/android/engage/common/datamodel/RecommendationReason)`!>!`        | [getRecommendationReason](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvProgramEntity#getRecommendationReason())`()` Returns the recommendation reason of the live tv program.           |

|                                                                                                               ### Public properties                                                                                                                |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[RatingSystem](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/RatingSystem)`!>!`                | [contentRatings](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvProgramEntity#contentRatings())                             |
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                     | [genres](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvProgramEntity#genres())                                             |
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[PlatformSpecificUri](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/PlatformSpecificUri)`!>!` | [platformSpecificPlaybackUris](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvProgramEntity#platformSpecificPlaybackUris()) |

|                                                                                                                                                                                                                                                                                         ### Inherited functions                                                                                                                                                                                                                                                                                         |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity) |----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------| | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getEntityType](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity#getEntityType())`()` | |

## Public functions

### getAvailabilityTimeWindows

```
fun getAvailabilityTimeWindows(): ImmutableList<DisplayTimeWindow!>!
```

Returns the availability time windows of the live tv program.  

### getChannelId

```
fun getChannelId(): Optional<String!>!
```

Returns the channel id of the live tv program.  

### getChannelLogoImage

```
fun getChannelLogoImage(): Optional<Image!>!
```

Returns the channel logo image of the live tv program.  

### getChannelName

```
fun getChannelName(): Optional<String!>!
```

Returns the channel name of the live tv program.  

### getDescription

```
fun getDescription(): Optional<String!>!
```

Returns the description of the live tv program.  

### getEntityId

```
fun getEntityId(): Optional<String!>!
```

Returns the id of the live tv program.  

### getName

```
fun getName(): Optional<String!>!
```

Returns the name of the live tv program.  

### getPosterImages

```
fun getPosterImages(): ImmutableList<Image!>!
```

Returns the program image of the live tv program.  

### getRecommendationReason

```
fun getRecommendationReason(): Optional<RecommendationReason!>!
```

Returns the recommendation reason of the live tv program.  

## Public properties

### contentRatings

```
val contentRatings: ImmutableList<RatingSystem!>!
```  

### genres

```
val genres: ImmutableList<String!>!
```  

### platformSpecificPlaybackUris

```
val platformSpecificPlaybackUris: ImmutableList<PlatformSpecificUri!>!
```