LiveTvChannelEntity.Builder


class LiveTvChannelEntity.Builder


Builder class for LiveTvChannelEntity.

Summary

Public constructors

Public functions

LiveTvChannelEntity.Builder!

Adds the content rating of the live tv channel.

LiveTvChannelEntity.Builder!

Adds content ratings of the live tv channel.

LiveTvChannelEntity.Builder!

Adds platform specific playback uri for the live tv channel.

LiveTvChannelEntity.Builder!

Adds platform specific playback uris for the live tv channel.

LiveTvChannelEntity!
LiveTvChannelEntity.Builder!

Sets the description of the live tv channel.

LiveTvChannelEntity.Builder!

Sets content id of the live tv channel.

LiveTvChannelEntity.Builder!

Sets the logo image of the live tv channel.

LiveTvChannelEntity.Builder!

Sets the name of the live tv channel.

LiveTvChannelEntity.Builder!

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.