TvEpisodeEntity


class TvEpisodeEntity : Entity


An object representing a tv episode.

Summary

Nested types

Builder class for TvEpisodeEntity.

Public functions

(Mutable)List<DisplayTimeWindow!>!

Returns the availability time windows of the video entity.

(Mutable)List<RatingSystem!>!

Returns the rating systems for the tv episode.

(Mutable)List<String!>!

This function is deprecated.

use getContentRatings instead

Optional<String!>!

Returns the id of the entity.

Optional<String!>!

Returns the episode number of the tv episode.

(Mutable)List<String!>!

Returns the genres of the tv episode.

Optional<Uri!>!

Returns the deeplink to open the details info page of the tv episode.

Optional<Boolean!>!

Returns if next episode is available.

Optional<Long!>!

Returns the last engagement time in milliseconds.

Optional<Long!>!

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

String!

Returns the name of the entity.

(Mutable)List<PlatformSpecificUri!>!

Returns the platform specific playback uris for the live tv episode.

(Mutable)List<Image!>!

Returns the poster image of the entity.

Optional<Price!>!

Returns the price of the tv episode, if available

Optional<String!>!

Returns the season number of the tv episode.

Optional<String!>!

Returns the season title of the tv episode.

Optional<String!>!

Returns the show title of the tv episode.

Optional<Int!>!

Returns watch next type of the video entity.

Boolean

Returns whether the tv episode is downloaded on device or not

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 episode.

getContentRatingsLegacy

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

Returns the content ratings of the tv episode.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the id of the entity.

getEpisodeDisplayNumber

fun getEpisodeDisplayNumber(): Optional<String!>!

Returns the episode number of the tv episode.

getGenres

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

Returns the genres of the tv episode.

getInfoPageUri

fun getInfoPageUri(): Optional<Uri!>!

Returns the deeplink to open the details info page of the tv episode.

getIsNextEpisodeAvailable

fun getIsNextEpisodeAvailable(): Optional<Boolean!>!

Returns if next episode is available.

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.

getName

fun getName(): String!

Returns the name of the entity.

getPlatformSpecificPlaybackUris

fun getPlatformSpecificPlaybackUris(): (Mutable)List<PlatformSpecificUri!>!

Returns the platform specific playback uris for the live tv episode.

getPosterImages

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

Returns the poster image of the entity.

getPrice

fun getPrice(): Optional<Price!>!

Returns the price of the tv episode, if available

getSeasonNumber

fun getSeasonNumber(): Optional<String!>!

Returns the season number of the tv episode.

getSeasonTitle

fun getSeasonTitle(): Optional<String!>!

Returns the season title of the tv episode.

getShowTitle

fun getShowTitle(): Optional<String!>!

Returns the show title of the tv episode.

getWatchNextType

fun getWatchNextType(): Optional<Int!>!

Returns watch next type of the video entity.

isDownloadedOnDevice

fun isDownloadedOnDevice(): Boolean

Returns whether the tv episode is downloaded on device or not

Public properties

airDateEpochMillis

val airDateEpochMillisLong

availability

val availabilityInt

durationMillis

val durationMillisLong

playBackUri

val playBackUriUri!