TvSeasonEntity

public final class TvSeasonEntity extends Entity

An object representing a tv season.

Nested Class Summary

class TvSeasonEntity.Builder Builder class for TvSeasonEntity

Public Method Summary

int
getAvailability()
Returns the availability of the tv season.
List<DisplayTimeWindow>
getAvailabilityTimeWindows()
Returns the availability time windows of the video entity.
List<RatingSystem>
getContentRatings()
Returns the rating systems for the tv season.
List<String>
getContentRatingsLegacy()
This method is deprecated. use getContentRatings() instead
Optional<String>
getEntityId()
Returns the id of the entity.
int
getEpisodeCount()
Returns the total number of episodes in the current tv season.
Optional<Long>
getFirstEpisodeAirDateEpochMillis()
Returns the air date of the first episode in this season, in milliseconds since Epoch.
List<String>
getGenres()
Returns the genres of the tv season.
Uri
getInfoPageUri()
Returns the deeplink to open the details info page of the tv season.
Optional<Long>
getLastEngagementTimeMillis()
Returns the last engagement time in milliseconds.
Optional<Long>
getLastPlayBackPositionTimeMillis()
Returns last play back position of the video entity, in milliseconds.
Optional<Long>
getLatestEpisodeAirDateEpochMillis()
Returns the air date of the latest episode in this season, in milliseconds since Epoch.
String
getName()
Returns the name of the entity.
Optional<Uri>
getPlayBackUri()
Returns the on device deeplink to start playing the tv season.
List<Image>
getPosterImages()
Returns the poster image of the entity.
Optional<Price>
getPrice()
Returns the price of the tv season, if available
Optional<String>
getSeasonDisplayNumber()
Returns the season display number of the tv season.
Optional<Integer>
getWatchNextType()
Returns watch next type of the video entity.

Inherited Method Summary

Public Methods

public int getAvailability ()

Returns the availability of the tv season.

public List<DisplayTimeWindow> getAvailabilityTimeWindows ()

Returns the availability time windows of the video entity.

public List<RatingSystem> getContentRatings ()

Returns the rating systems for the tv season.

public List<String> getContentRatingsLegacy ()

This method is deprecated.
use getContentRatings() instead

Returns the content ratings of the tv season.

public Optional<String> getEntityId ()

Returns the id of the entity.

public int getEpisodeCount ()

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

public Optional<Long> getFirstEpisodeAirDateEpochMillis ()

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

public List<String> getGenres ()

Returns the genres of the tv season.

public Uri getInfoPageUri ()

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

public Optional<Long> getLastEngagementTimeMillis ()

Returns the last engagement time in milliseconds.

public Optional<Long> getLastPlayBackPositionTimeMillis ()

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

public Optional<Long> getLatestEpisodeAirDateEpochMillis ()

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

public String getName ()

Returns the name of the entity.

public Optional<Uri> getPlayBackUri ()

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

public List<Image> getPosterImages ()

Returns the poster image of the entity.

public Optional<Price> getPrice ()

Returns the price of the tv season, if available

public Optional<String> getSeasonDisplayNumber ()

Returns the season display number of the tv season.

public Optional<Integer> getWatchNextType ()

Returns watch next type of the video entity.