LiveTvProgramEntity.Builder


class LiveTvProgramEntity.Builder


Builder class for LiveTvProgramEntity.

Summary

Public constructors

Public functions

LiveTvProgramEntity.Builder!

Adds the availability time window of the live tv program.

LiveTvProgramEntity.Builder!

Adds the availability time windows of the live tv program.

LiveTvProgramEntity.Builder!

Adds a content rating of the live tv program.

LiveTvProgramEntity.Builder!

Adds content ratings of the live tv program.

LiveTvProgramEntity.Builder!

Adds genre of the live tv program.

LiveTvProgramEntity.Builder!

Adds genres of the live tv program.

LiveTvProgramEntity.Builder!

Adds a platform specific playback uri of the live tv program.

LiveTvProgramEntity.Builder!

Adds platform specific playback uris of the live tv program.

LiveTvProgramEntity.Builder!

Adds the poster image of the live tv program.

LiveTvProgramEntity.Builder!

Adds the poster images of the live tv program.

LiveTvProgramEntity!
LiveTvProgramEntity.Builder!

Sets the channel id of the live tv program.

LiveTvProgramEntity.Builder!

Sets the channel logo image of the live tv program.

LiveTvProgramEntity.Builder!

Sets the channel name of the live tv program.

LiveTvProgramEntity.Builder!

Sets the description of the live tv program.

LiveTvProgramEntity.Builder!

Sets the id of the live tv program.

LiveTvProgramEntity.Builder!

Sets the name of the live tv program.

LiveTvProgramEntity.Builder!

Sets the recommendation reason of the live tv program.

Public constructors

Builder

Builder()

Public functions

addAvailabilityTimeWindow

@CanIgnoreReturnValue
fun addAvailabilityTimeWindow(availabilityTimeWindow: DisplayTimeWindow): LiveTvProgramEntity.Builder!

Adds the availability time window of the live tv program.

addAvailabilityTimeWindows

@CanIgnoreReturnValue
fun addAvailabilityTimeWindows(
    availabilityTimeWindows: (Mutable)List<DisplayTimeWindow!>
): LiveTvProgramEntity.Builder!

Adds the availability time windows of the live tv program.

addContentRating

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

Adds a content rating of the live tv program.

addContentRatings

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

Adds content ratings of the live tv program.

addGenre

@CanIgnoreReturnValue
fun addGenre(genre: String): LiveTvProgramEntity.Builder!

Adds genre of the live tv program.

addGenres

@CanIgnoreReturnValue
fun addGenres(genres: (Mutable)List<String!>): LiveTvProgramEntity.Builder!

Adds genres of the live tv program.

addPlatformSpecificPlaybackUri

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

Adds a platform specific playback uri of the live tv program.

addPlatformSpecificPlaybackUris

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

Adds platform specific playback uris of the live tv program.

addPosterImage

@CanIgnoreReturnValue
fun addPosterImage(posterImage: Image): LiveTvProgramEntity.Builder!

Adds the poster image of the live tv program.

addPosterImages

@CanIgnoreReturnValue
fun addPosterImages(posterImages: (Mutable)List<Image!>): LiveTvProgramEntity.Builder!

Adds the poster images of the live tv program.

build

fun build(): LiveTvProgramEntity!

setChannelId

@CanIgnoreReturnValue
fun setChannelId(channelId: String): LiveTvProgramEntity.Builder!

Sets the channel id of the live tv program.

setChannelLogoImage

@CanIgnoreReturnValue
fun setChannelLogoImage(channelLogoImage: Image): LiveTvProgramEntity.Builder!

Sets the channel logo image of the live tv program.

setChannelName

@CanIgnoreReturnValue
fun setChannelName(channelName: String): LiveTvProgramEntity.Builder!

Sets the channel name of the live tv program.

setDescription

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

Sets the description of the live tv program.

setEntityId

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

Sets the id of the live tv program.

setName

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

Sets the name of the live tv program.

setRecommendationReason

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

Sets the recommendation reason of the live tv program.