PodcastEpisodeEntity


public final class PodcastEpisodeEntity extends Entity


An object representing a podcast episode.

Summary

Nested types

public final class PodcastEpisodeEntity.Builder

Builder class for PodcastEpisodeEntity.

Public fields

final long
final Uri
final String
final long

Public methods

Optional<String>

Returns the description of the audio entity, if available

long

Returns the duration of the podcast episode

Optional<String>

Returns the id of the entity.

Optional<Integer>

Returns the index of the episode in the podcast series

List<String>

Returns the list of genres of the podcast episode

List<String>

Returns the list of hosts of the podcast episode

Optional<Uri>

Returns the info page uri of the podcast episode, if available

Optional<Long>

Returns the last engagement time in milliseconds.

Optional<Integer>

Returns the ListenNextType for the podcast episode.

String

Returns the name of the entity.

Uri

Returns the play back uri of the podcast episode

String

Returns the title of the podcast series to which the episode belongs to

List<Image>

Returns the poster image of the entity.

Optional<String>

Returns the name of the production of the podcast episode

Optional<Integer>

Returns the percentage progress completed.

long

Returns the publish date of the podcast episode

boolean

Returns whether podcast episode is downloaded on device or not

boolean

Returns whether the podcast episode has explicit content or not

boolean

Returns whether the podcast episode has video content or not

Public fields

durationMillis

public final long durationMillis

playBackUri

public final Uri playBackUri

podcastSeriesTitle

public final String podcastSeriesTitle

publishDateEpochMillis

public final long publishDateEpochMillis

Public methods

getDescription

public Optional<StringgetDescription()

Returns the description of the audio entity, if available

getDurationMillis

public long getDurationMillis()

Returns the duration of the podcast episode

getEntityId

public Optional<StringgetEntityId()

Returns the id of the entity.

getEpisodeIndex

public Optional<IntegergetEpisodeIndex()

Returns the index of the episode in the podcast series

getGenres

public List<StringgetGenres()

Returns the list of genres of the podcast episode

getHosts

public List<StringgetHosts()

Returns the list of hosts of the podcast episode

getInfoPageUri

public Optional<UrigetInfoPageUri()

Returns the info page uri of the podcast episode, if available

getLastEngagementTimeMillis

public Optional<LonggetLastEngagementTimeMillis()

Returns the last engagement time in milliseconds.

getListenNextType

public Optional<IntegergetListenNextType()

Returns the ListenNextType for the podcast episode.

getName

public String getName()

Returns the name of the entity.

getPlayBackUri

public Uri getPlayBackUri()

Returns the play back uri of the podcast episode

getPodcastSeriesTitle

public String getPodcastSeriesTitle()

Returns the title of the podcast series to which the episode belongs to

getPosterImages

public List<ImagegetPosterImages()

Returns the poster image of the entity.

getProductionName

public Optional<StringgetProductionName()

Returns the name of the production of the podcast episode

getProgressPercentComplete

public Optional<IntegergetProgressPercentComplete()

Returns the percentage progress completed.

getPublishDateEpochMillis

public long getPublishDateEpochMillis()

Returns the publish date of the podcast episode

isDownloadedOnDevice

public boolean isDownloadedOnDevice()

Returns whether podcast episode is downloaded on device or not

isExplicitContent

public boolean isExplicitContent()

Returns whether the podcast episode has explicit content or not

isVideoPodcast

public boolean isVideoPodcast()

Returns whether the podcast episode has video content or not