TvShowEntity


class TvShowEntity : Entity


An object representing a tv show.

Summary

Nested types

Builder class for TvShowEntity.

Public functions

(Mutable)List<DisplayTimeWindow!>!

Returns the availability time windows of the video entity.

Optional<String!>!

Returns the id of the entity.

Optional<Long!>!

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

(Mutable)List<String!>!

Returns the genres of the tv show.

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 show, in milliseconds since Epoch.

String!

Returns the name of the entity.

Optional<Uri!>!

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

(Mutable)List<Image!>!

Returns the poster image of the entity.

Optional<Price!>!

Returns the price of the tv show, if available

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.

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 show, in milliseconds since Epoch.

getGenres

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

Returns the genres of the tv show.

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 show, 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 show.

getPosterImages

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

Returns the poster image of the entity.

getPrice

fun getPrice(): Optional<Price!>!

Returns the price of the tv show, if available

getWatchNextType

fun getWatchNextType(): Optional<Int!>!

Returns watch next type of the video entity.

Public properties

availability

val availabilityInt

contentRatings

val contentRatings: (Mutable)List<RatingSystem!>!

contentRatingsLegacy

val contentRatingsLegacy: (Mutable)List<String!>!

infoPageUri

val infoPageUriUri!

seasonCount

val seasonCountInt