# LiveTvChannelEntity

# LiveTvChannelEntity

*** ** * ** ***

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

<br />

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

*** ** * ** ***

An object representing a live tv channel.

## Summary

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

|                                                                                                                 ### 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/LiveTvChannelEntity#contentRatings())                             |
| `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/LiveTvChannelEntity#platformSpecificPlaybackUris()) |

|                                                                                                            ### Public methods                                                                                                             |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [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/LiveTvChannelEntity#getContentRatings())`()` Returns the content ratings of the live tv channel.                                             |
| [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/LiveTvChannelEntity#getDescription())`()` Returns the description of the live tv channel.                                                       |
| [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/LiveTvChannelEntity#getEntityId())`()` Returns the id of the live tv channel.                                                                      |
| [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)`>`                                          | [getLogoImage](https://developer.android.com/reference/com/google/android/engage/video/datamodel/LiveTvChannelEntity#getLogoImage())`()` Returns the logo image of the live tv channel.                                                            |
| [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/LiveTvChannelEntity#getName())`()` Returns the name of the live tv channel.                                                                            |
| [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/LiveTvChannelEntity#getPlatformSpecificPlaybackUris())`()` Returns the platform specific playback uris of the live tv channel. |
| [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/LiveTvChannelEntity#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
```  

### platformSpecificPlaybackUris

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

## Public methods

### getContentRatings

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

Returns the content ratings of the live tv channel.  

### getDescription

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

Returns the description of the live tv channel.  

### getEntityId

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

Returns the id of the live tv channel.  

### getLogoImage

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

Returns the logo image of the live tv channel.  

### getName

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

Returns the name of the live tv channel.  

### getPlatformSpecificPlaybackUris

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

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

### getRecommendationReason

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

Returns the recommendation reason of the live tv program.