LiveTvProgramEntity.Builder


public final class LiveTvProgramEntity.Builder


Builder class for LiveTvProgramEntity.

Summary

Public constructors

Public methods

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

public Builder()

Public methods

addAvailabilityTimeWindow

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder addAvailabilityTimeWindow(
    @NonNull DisplayTimeWindow availabilityTimeWindow
)

Adds the availability time window of the live tv program.

addAvailabilityTimeWindows

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder addAvailabilityTimeWindows(
    @NonNull List<DisplayTimeWindow> availabilityTimeWindows
)

Adds the availability time windows of the live tv program.

addContentRating

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder addContentRating(@NonNull RatingSystem contentRating)

Adds a content rating of the live tv program.

addContentRatings

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder addContentRatings(@NonNull List<RatingSystem> contentRatings)

Adds content ratings of the live tv program.

addGenre

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder addGenre(@NonNull String genre)

Adds genre of the live tv program.

addGenres

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder addGenres(@NonNull List<String> genres)

Adds genres of the live tv program.

addPlatformSpecificPlaybackUri

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder addPlatformSpecificPlaybackUri(
    @NonNull PlatformSpecificUri platformSpecificPlaybackUri
)

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

addPlatformSpecificPlaybackUris

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder addPlatformSpecificPlaybackUris(
    @NonNull List<PlatformSpecificUri> platformSpecificPlaybackUris
)

Adds platform specific playback uris of the live tv program.

addPosterImage

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder addPosterImage(@NonNull Image posterImage)

Adds the poster image of the live tv program.

addPosterImages

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder addPosterImages(@NonNull List<Image> posterImages)

Adds the poster images of the live tv program.

build

public LiveTvProgramEntity build()

setChannelId

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder setChannelId(@NonNull String channelId)

Sets the channel id of the live tv program.

setChannelLogoImage

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder setChannelLogoImage(@NonNull Image channelLogoImage)

Sets the channel logo image of the live tv program.

setChannelName

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder setChannelName(@NonNull String channelName)

Sets the channel name of the live tv program.

setDescription

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder setDescription(@NonNull String description)

Sets the description of the live tv program.

setEntityId

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder setEntityId(@NonNull String entityId)

Sets the id of the live tv program.

setName

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder setName(@NonNull String name)

Sets the name of the live tv program.

setRecommendationReason

@CanIgnoreReturnValue
public LiveTvProgramEntity.Builder setRecommendationReason(
    @NonNull RecommendationReason recommendationReason
)

Sets the recommendation reason of the live tv program.