TvSeasonEntity

public final class TvSeasonEntity extends Entity


An object representing a tv season.

Summary

Nested types

public final class TvSeasonEntity.Builder

Builder class for TvSeasonEntity.

Public fields

final int
final int
final Uri

Public methods

int

Returns the availability of the tv season.

List<DisplayTimeWindow>

Returns the availability time windows of the video entity.

List<RatingSystem>

Returns the rating systems for the tv season.

List<String>

This method is deprecated.

use getContentRatings instead

Optional<String>

Returns the id of the entity.

int

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

Optional<Long>

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

List<String>

Returns the genres of the tv season.

Uri

Returns the deeplink to open the details info page 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.

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<Integer>

Returns watch next type of the video entity.

Public fields

availability

public final int availability

episodeCount

public final int episodeCount

infoPageUri

public final Uri infoPageUri

Public methods

getAvailability

@ContentAvailability
public int getAvailability()

Returns the availability of the tv season.

getAvailabilityTimeWindows

public List<DisplayTimeWindowgetAvailabilityTimeWindows()

Returns the availability time windows of the video entity.

getContentRatings

public List<RatingSystemgetContentRatings()

Returns the rating systems for the tv season.

getContentRatingsLegacy

public List<StringgetContentRatingsLegacy()

Returns the content ratings of the tv season.

getEntityId

public Optional<StringgetEntityId()

Returns the id of the entity.

getEpisodeCount

public int getEpisodeCount()

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

getFirstEpisodeAirDateEpochMillis

public Optional<LonggetFirstEpisodeAirDateEpochMillis()

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

getGenres

public List<StringgetGenres()

Returns the genres of the tv season.

getInfoPageUri

public Uri getInfoPageUri()

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

getLastEngagementTimeMillis

public Optional<LonggetLastEngagementTimeMillis()

Returns the last engagement time in milliseconds.

getLastPlayBackPositionTimeMillis

public Optional<LonggetLastPlayBackPositionTimeMillis()

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

getLatestEpisodeAirDateEpochMillis

public Optional<LonggetLatestEpisodeAirDateEpochMillis()

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

getName

public String getName()

Returns the name of the entity.

getPlayBackUri

public Optional<UrigetPlayBackUri()

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

getPosterImages

public List<ImagegetPosterImages()

Returns the poster image of the entity.

getPrice

public Optional<PricegetPrice()

Returns the price of the tv season, if available

getSeasonDisplayNumber

public Optional<StringgetSeasonDisplayNumber()

Returns the season display number of the tv season.

getWatchNextType

public Optional<IntegergetWatchNextType()

Returns watch next type of the video entity.