An object representing a tv episode.
Nested Class Summary
class | TvEpisodeEntity.Builder | Builder class for TvEpisodeEntity . |
Public Method Summary
long |
getAirDateEpochMillis()
Returns the air date of the episode, in milliseconds since Epoch.
|
int |
getAvailability()
Returns the availability of the episode.
|
List<DisplayTimeWindow> |
getAvailabilityTimeWindows()
Returns the availability time windows of the video entity.
|
List<RatingSystem> |
getContentRatings()
Returns the rating systems for the tv episode.
|
List<String> |
getContentRatingsLegacy()
This method is deprecated. use
getContentRatings() instead
|
long |
getDurationMillis()
Returns the duration of the tv episode, in milliseconds.
|
Optional<String> |
getEntityId()
Returns the id of the entity.
|
Optional<String> |
getEpisodeDisplayNumber()
Returns the episode number of the tv episode.
|
List<String> |
getGenres()
Returns the genres of the tv episode.
|
Optional<Uri> |
getInfoPageUri()
Returns the deeplink to open the details info page of the tv episode.
|
Optional<Boolean> |
getIsNextEpisodeAvailable()
Returns if next episode is available.
|
Optional<Long> |
getLastEngagementTimeMillis()
Returns the last engagement time in milliseconds.
|
Optional<Long> |
getLastPlayBackPositionTimeMillis()
Returns last play back position of the video entity, in milliseconds.
|
String |
getName()
Returns the name of the entity.
|
List<PlatformSpecificUri> |
getPlatformSpecificPlaybackUris()
Returns the platform specific playback uris for the live tv episode.
|
Uri |
getPlayBackUri()
Returns the on device deeplink to start playing the tv episode.
|
List<Image> |
getPosterImages()
Returns the poster image of the entity.
|
Optional<Price> |
getPrice()
Returns the price of the tv episode, if available
|
Optional<String> |
getSeasonNumber()
Returns the season number of the tv episode.
|
Optional<String> |
getSeasonTitle()
Returns the season title of the tv episode.
|
Optional<String> |
getShowTitle()
Returns the show title of the tv episode.
|
Optional<Integer> |
getWatchNextType()
Returns watch next type of the video entity.
|
boolean |
isDownloadedOnDevice()
Returns whether the tv episode is downloaded on device or not
|
Inherited Method Summary
Public Methods
public long getAirDateEpochMillis ()
Returns the air date of the episode, in milliseconds since Epoch.
public int getAvailability ()
Returns the availability of the episode.
public List<DisplayTimeWindow> getAvailabilityTimeWindows ()
Returns the availability time windows of the video entity.
public List<RatingSystem> getContentRatings ()
Returns the rating systems for the tv episode.
public List<String> getContentRatingsLegacy ()
This method is deprecated.
use
getContentRatings()
instead
Returns the content ratings of the tv episode.
public long getDurationMillis ()
Returns the duration of the tv episode, in milliseconds.
public Optional<String> getEntityId ()
Returns the id of the entity.
public Optional<String> getEpisodeDisplayNumber ()
Returns the episode number of the tv episode.
public Optional<Uri> getInfoPageUri ()
Returns the deeplink to open the details info page of the tv episode.
public Optional<Boolean> getIsNextEpisodeAvailable ()
Returns if next episode is available.
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 String getName ()
Returns the name of the entity.
public List<PlatformSpecificUri> getPlatformSpecificPlaybackUris ()
Returns the platform specific playback uris for the live tv episode.
public Uri getPlayBackUri ()
Returns the on device deeplink to start playing the tv episode.
public Optional<Price> getPrice ()
Returns the price of the tv episode, if available
public Optional<String> getSeasonNumber ()
Returns the season number of the tv episode.
public Optional<String> getSeasonTitle ()
Returns the season title of the tv episode.
public Optional<String> getShowTitle ()
Returns the show title of the tv episode.
public Optional<Integer> getWatchNextType ()
Returns watch next type of the video entity.
public boolean isDownloadedOnDevice ()
Returns whether the tv episode is downloaded on device or not