TvSeasonEntity


class TvSeasonEntity : Entity


An object representing a tv season.

Summary

Nested types

Builder class for TvSeasonEntity.

Public functions

(Mutable)List<DisplayTimeWindow!>!

Returns the availability time windows of the video entity.

(Mutable)List<RatingSystem!>!

Returns the rating systems for the tv season.

(Mutable)List<String!>!

This function is deprecated.

use getContentRatings instead

Optional<String!>!

Returns the id of the entity.

Optional<Long!>!

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

(Mutable)List<String!>!

Returns the genres of the tv season.

Optional<Long!>!

Returns the last engagement time in milliseconds.

Optional<Long!>!

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

Optional<Long!>!

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

String!

Returns the name of the entity.

Optional<Uri!>!

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

(Mutable)List<Image!>!

Returns the poster image of the entity.

Optional<Price!>!

Returns the price of the tv season, if available

Optional<String!>!

Returns the season display number of the tv season.

Optional<Int!>!

Returns watch next type of the video entity.

Public functions

getAvailabilityTimeWindows

fun getAvailabilityTimeWindows(): (Mutable)List<DisplayTimeWindow!>!

Returns the availability time windows of the video entity.

getContentRatings

fun getContentRatings(): (Mutable)List<RatingSystem!>!

Returns the rating systems for the tv season.

getContentRatingsLegacy

fun getContentRatingsLegacy(): (Mutable)List<String!>!

Returns the content ratings of the tv season.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the id of the entity.

getFirstEpisodeAirDateEpochMillis

fun getFirstEpisodeAirDateEpochMillis(): Optional<Long!>!

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

getGenres

fun getGenres(): (Mutable)List<String!>!

Returns the genres of the tv season.

getLastEngagementTimeMillis

fun getLastEngagementTimeMillis(): Optional<Long!>!

Returns the last engagement time in milliseconds.

getLastPlayBackPositionTimeMillis

fun getLastPlayBackPositionTimeMillis(): Optional<Long!>!

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

getLatestEpisodeAirDateEpochMillis

fun getLatestEpisodeAirDateEpochMillis(): Optional<Long!>!

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

getName

fun getName(): String!

Returns the name of the entity.

getPlayBackUri

fun getPlayBackUri(): Optional<Uri!>!

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

getPosterImages

fun getPosterImages(): (Mutable)List<Image!>!

Returns the poster image of the entity.

getPrice

fun getPrice(): Optional<Price!>!

Returns the price of the tv season, if available

getSeasonDisplayNumber

fun getSeasonDisplayNumber(): Optional<String!>!

Returns the season display number of the tv season.

getWatchNextType

fun getWatchNextType(): Optional<Int!>!

Returns watch next type of the video entity.

Public properties

availability

val availabilityInt

episodeCount

val episodeCountInt

infoPageUri

val infoPageUriUri!