TvSeasonEntity.Builder


class TvSeasonEntity.Builder


Builder class for TvSeasonEntity.

Summary

Public constructors

Public functions

TvSeasonEntity.Builder!

Adds the availability time windows of the video entity.

TvSeasonEntity.Builder!

Adds the availability time window of the video entity.

TvSeasonEntity.Builder!

Add the rating system for the tv season.

TvSeasonEntity.Builder!

This function is deprecated.

use addContentRating(RatingSystem) instead

TvSeasonEntity.Builder!

Add the rating systems for the tv season.

TvSeasonEntity.Builder!

This function is deprecated.

use addContentRatings(List<RatingSystem>) instead

TvSeasonEntity.Builder!

Adds genre of the tv season.

TvSeasonEntity.Builder!

Adds genres of the tv season.

TvSeasonEntity.Builder!

Add a poster image of the entity.

TvSeasonEntity.Builder!

Add poster images of the entity.

TvSeasonEntity!
TvSeasonEntity.Builder!

Sets the availability of the tv season.

TvSeasonEntity.Builder!

Sets content id of the entity.

TvSeasonEntity.Builder!

Sets the total number of episodes in the current tv season.

TvSeasonEntity.Builder!

Sets the air date of the first episode in this season, in milliseconds since Epoch.

TvSeasonEntity.Builder!

Sets the deeplink to open the details info page of the tv season.

TvSeasonEntity.Builder!

Sets last engagement time of the entity, in milliseconds since Epoch.

TvSeasonEntity.Builder!

Sets last play back position of the video entity, in milliseconds.

TvSeasonEntity.Builder!
@CanIgnoreReturnValue
setLatestEpisodeAirDateEpochMillis(
    latestEpisodeAirDateEpochMillis: Long
)

Sets the air date of the latest episode in this season, in milliseconds since Epoch.

TvSeasonEntity.Builder!

Sets the name of the entity.

TvSeasonEntity.Builder!

Sets the on device deeplink to start playing the tv season.

TvSeasonEntity.Builder!

Adds the price of the tv season.

TvSeasonEntity.Builder!

Sets the season display number string in the current tv show.

TvSeasonEntity.Builder!

Sets the number of the season in the current tv show.

TvSeasonEntity.Builder!

Sets the watch next type of the video entity.

Public constructors

Builder

Builder()

Public functions

addAllAvailabilityTimeWindows

@CanIgnoreReturnValue
fun addAllAvailabilityTimeWindows(
    availabilityTimeWindows: (Mutable)List<DisplayTimeWindow!>!
): TvSeasonEntity.Builder!

Adds the availability time windows of the video entity.

Optional.

addAvailabilityTimeWindow

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

Adds the availability time window of the video entity.

Optional.

addContentRating

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

Add the rating system for the tv season.

Required.

addContentRating

@CanIgnoreReturnValue
fun addContentRating(rating: String!): TvSeasonEntity.Builder!

Adds content rating of the tv season.

Required.

addContentRatings

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

Add the rating systems for the tv season.

Required.

addContentRatingsLegacy

@CanIgnoreReturnValue
fun addContentRatingsLegacy(ratings: (Mutable)List<String!>!): TvSeasonEntity.Builder!

Adds content ratings of the tv season.

Required.

addGenre

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

Adds genre of the tv season.

Optional.

addGenres

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

Adds genres of the tv season.

Optional.

addPosterImage

@CanIgnoreReturnValue
fun addPosterImage(image: Image!): TvSeasonEntity.Builder!

Add a poster image of the entity.

Required.

addPosterImages

@CanIgnoreReturnValue
fun addPosterImages(images: (Mutable)List<Image!>!): TvSeasonEntity.Builder!

Add poster images of the entity.

Required.

build

fun build(): TvSeasonEntity!

setAvailability

@CanIgnoreReturnValue
fun setAvailability(@ContentAvailability availability: Int): TvSeasonEntity.Builder!

Sets the availability of the tv season.

Required.

setEntityId

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

Sets content id of the entity.

Optional.

setEpisodeCount

@CanIgnoreReturnValue
fun setEpisodeCount(episodeCount: Int): TvSeasonEntity.Builder!

Sets the total number of episodes in the current tv season.

Required.

setFirstEpisodeAirDateEpochMillis

@CanIgnoreReturnValue
fun setFirstEpisodeAirDateEpochMillis(firstEpisodeAirDateEpochMillis: Long): TvSeasonEntity.Builder!

Sets the air date of the first episode in this season, in milliseconds since Epoch.

Optional.

setInfoPageUri

@CanIgnoreReturnValue
fun setInfoPageUri(infoPageUri: Uri!): TvSeasonEntity.Builder!

Sets the deeplink to open the details info page of the tv season.

Required.

setLastEngagementTimeMillis

@CanIgnoreReturnValue
fun setLastEngagementTimeMillis(lastEngagementTimeMillis: Long): TvSeasonEntity.Builder!

Sets last engagement time of the entity, in milliseconds since Epoch.

Optional.

setLastPlayBackPositionTimeMillis

@CanIgnoreReturnValue
fun setLastPlayBackPositionTimeMillis(lastPlayBackPositionTimeMillis: Long): TvSeasonEntity.Builder!

Sets last play back position of the video entity, in milliseconds.

Optional.

setLatestEpisodeAirDateEpochMillis

@CanIgnoreReturnValue
fun setLatestEpisodeAirDateEpochMillis(
    latestEpisodeAirDateEpochMillis: Long
): TvSeasonEntity.Builder!

Sets the air date of the latest episode in this season, in milliseconds since Epoch.

Optional.

setName

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

Sets the name of the entity.

Required.

setPlayBackUri

@CanIgnoreReturnValue
fun setPlayBackUri(playBackUri: Uri!): TvSeasonEntity.Builder!

Sets the on device deeplink to start playing the tv season.

Optional.

setPrice

@CanIgnoreReturnValue
fun setPrice(price: Price!): TvSeasonEntity.Builder!

Adds the price of the tv season.

Optional.

setSeasonDisplayNumber

@CanIgnoreReturnValue
fun setSeasonDisplayNumber(seasonDisplayNumber: String!): TvSeasonEntity.Builder!

Sets the season display number string in the current tv show.

Required.

setSeasonNumber

@CanIgnoreReturnValue
fun setSeasonNumber(seasonNumber: Int): TvSeasonEntity.Builder!

Sets the number of the season in the current tv show.

Required.

setWatchNextType

@CanIgnoreReturnValue
fun setWatchNextType(@WatchNextType watchNextType: Int): TvSeasonEntity.Builder!

Sets the watch next type of the video entity.

Optional.