# LiveTvChannelEntity.Builder

# LiveTvChannelEntity.Builder

*** ** * ** ***

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

<br />

```
class LiveTvChannelEntity.Builder
```

<br />

*** ** * ** ***

Builder class for[LiveTvChannelEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity).

## Summary

|                                                            ### Public constructors                                                            |
|-----------------------------------------------------------------------------------------------------------------------------------------------|
| [Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder#Builder())`()` |

|                                                                  ### Public functions                                                                  |
|--------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [LiveTvChannelEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addContentRating](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder#addContentRating(com.google.android.engage.video.datamodel.RatingSystem))`(contentRating: `[RatingSystem](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/RatingSystem)`)` Adds the content rating of the live tv channel.                                                                                                                                                                                                                                                                                                              |
| [LiveTvChannelEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addContentRatings](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder#addContentRatings(java.util.List<com.google.android.engage.video.datamodel.RatingSystem>))`(contentRatings: (`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[RatingSystem](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/RatingSystem)`!>)` Adds content ratings of the live tv channel.                                                                                          |
| [LiveTvChannelEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPlatformSpecificPlaybackUri](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder#addPlatformSpecificPlaybackUri(com.google.android.engage.common.datamodel.PlatformSpecificUri))`(` ` platformSpecificPlaybackUri: `[PlatformSpecificUri](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/PlatformSpecificUri) `)` Adds platform specific playback uri for the live tv channel.                                                                                                                                                                                                                           |
| [LiveTvChannelEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPlatformSpecificPlaybackUris](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder#addPlatformSpecificPlaybackUris(java.util.List<com.google.android.engage.common.datamodel.PlatformSpecificUri>))`(` ` platformSpecificPlaybackUris: (`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[PlatformSpecificUri](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/PlatformSpecificUri)`!>` `)` Adds platform specific playback uris for the live tv channel. |
| [LiveTvChannelEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity)`!`                 | [build](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder#build())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [LiveTvChannelEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setDescription](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder#setDescription(java.lang.String))`(description: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Sets the description of the live tv channel.                                                                                                                                                                                                                                                                                                                                                                                                  |
| [LiveTvChannelEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setEntityId](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder#setEntityId(java.lang.String))`(entityId: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Sets content id of the live tv channel.                                                                                                                                                                                                                                                                                                                                                                                                                |
| [LiveTvChannelEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setLogoImage](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder#setLogoImage(com.google.android.engage.common.datamodel.Image))`(image: `[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`)` Sets the logo image of the live tv channel.                                                                                                                                                                                                                                                                                                                                                     |
| [LiveTvChannelEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setName](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder#setName(java.lang.String))`(name: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Sets the name of the live tv channel.                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [LiveTvChannelEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setRecommendationReason](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/LiveTvChannelEntity.Builder#setRecommendationReason(com.google.android.engage.common.datamodel.RecommendationReason))`(recommendationReason: `[RecommendationReason](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/RecommendationReason)`)` Sets the recommendation reason of the live tv program.                                                                                                                                                                                                                                                        |

## Public constructors

### Builder

```
Builder()
```  

## Public functions

### addContentRating

```
@CanIgnoreReturnValue
fun addContentRating(contentRating: RatingSystem): LiveTvChannelEntity.Builder!
```

Adds the content rating of the live tv channel.  

### addContentRatings

```
@CanIgnoreReturnValue
fun addContentRatings(contentRatings: (Mutable)List<RatingSystem!>): LiveTvChannelEntity.Builder!
```

Adds content ratings of the live tv channel.  

### addPlatformSpecificPlaybackUri

```
@CanIgnoreReturnValue
fun addPlatformSpecificPlaybackUri(
    platformSpecificPlaybackUri: PlatformSpecificUri
): LiveTvChannelEntity.Builder!
```

Adds platform specific playback uri for the live tv channel.  

### addPlatformSpecificPlaybackUris

```
@CanIgnoreReturnValue
fun addPlatformSpecificPlaybackUris(
    platformSpecificPlaybackUris: (Mutable)List<PlatformSpecificUri!>
): LiveTvChannelEntity.Builder!
```

Adds platform specific playback uris for the live tv channel.  

### build

```
fun build(): LiveTvChannelEntity!
```  

### setDescription

```
@CanIgnoreReturnValue
fun setDescription(description: String): LiveTvChannelEntity.Builder!
```

Sets the description of the live tv channel.  

### setEntityId

```
@CanIgnoreReturnValue
fun setEntityId(entityId: String): LiveTvChannelEntity.Builder!
```

Sets content id of the live tv channel.  

### setLogoImage

```
@CanIgnoreReturnValue
fun setLogoImage(image: Image): LiveTvChannelEntity.Builder!
```

Sets the logo image of the live tv channel.  

### setName

```
@CanIgnoreReturnValue
fun setName(name: String): LiveTvChannelEntity.Builder!
```

Sets the name of the live tv channel.  

### setRecommendationReason

```
@CanIgnoreReturnValue
fun setRecommendationReason(recommendationReason: RecommendationReason): LiveTvChannelEntity.Builder!
```

Sets the recommendation reason of the live tv program.