LiveTvChannelEntity.Builder


public final class LiveTvChannelEntity.Builder


Builder class for LiveTvChannelEntity.

Summary

Public constructors

Public methods

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

public Builder()

Public methods

addContentRating

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

Adds the content rating of the live tv channel.

addContentRatings

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

Adds content ratings of the live tv channel.

addPlatformSpecificPlaybackUri

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

Adds platform specific playback uri for the live tv channel.

addPlatformSpecificPlaybackUris

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

Adds platform specific playback uris for the live tv channel.

build

public LiveTvChannelEntity build()

setDescription

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

Sets the description of the live tv channel.

setEntityId

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

Sets content id of the live tv channel.

setLogoImage

@CanIgnoreReturnValue
public LiveTvChannelEntity.Builder setLogoImage(@NonNull Image image)

Sets the logo image of the live tv channel.

setName

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

Sets the name of the live tv channel.

setRecommendationReason

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

Sets the recommendation reason of the live tv program.