PodcastEpisodeEntity.Builder


public final class PodcastEpisodeEntity.Builder


Builder class for PodcastEpisodeEntity.

Summary

Public fields

int

Public constructors

Public methods

PodcastEpisodeEntity.Builder

Adds the genre of the podcast episode.

PodcastEpisodeEntity.Builder

Adds the list of genres of the podcast episode.

PodcastEpisodeEntity.Builder

Adds the host of the podcast episode.

PodcastEpisodeEntity.Builder

Adds the list of hosts of the podcast episode.

PodcastEpisodeEntity.Builder

Add a poster image of the entity.

PodcastEpisodeEntity.Builder

Add poster images of the entity.

PodcastEpisodeEntity
PodcastEpisodeEntity.Builder

Adds the description of the audio entity.

PodcastEpisodeEntity.Builder
@CanIgnoreReturnValue
setDownloadedOnDevice(boolean downloadedOnDevice)

Sets a boolean value to indicate if podcast episode is downloaded on device or not.

PodcastEpisodeEntity.Builder

Sets the duration of the podcast episode in milliseconds.

PodcastEpisodeEntity.Builder

Sets content id of the entity.

PodcastEpisodeEntity.Builder

Sets the index of episode in the podcast series.

PodcastEpisodeEntity.Builder
@CanIgnoreReturnValue
setExplicitContent(boolean explicitContent)

Sets a boolean value to indicate if podcast episode has explicit content or not.

PodcastEpisodeEntity.Builder

Sets the info page Uri associated with the podcast episode.

PodcastEpisodeEntity.Builder
@CanIgnoreReturnValue
setLastEngagementTimeMillis(long lastEngagementTimeMillis)

Sets last engagement time of the entity, in milliseconds since Epoch.

PodcastEpisodeEntity.Builder

Sets ListenNextType for the audio entity

PodcastEpisodeEntity.Builder

Sets the name of the entity.

PodcastEpisodeEntity.Builder

Sets the playback Uri associated with the podcast episode.

PodcastEpisodeEntity.Builder

Sets the name of podcast series to which the episode belongs to.

PodcastEpisodeEntity.Builder

Sets the name of the production of the podcast episode.

PodcastEpisodeEntity.Builder
@CanIgnoreReturnValue
setProgressPercentComplete(int progressPercentComplete)

Sets progress percent complete of the audio entity.

PodcastEpisodeEntity.Builder
@CanIgnoreReturnValue
setPublishDateEpochMillis(long publishDateEpochMillis)

Sets the publish date of the podcast episode in epoch milliseconds.

PodcastEpisodeEntity.Builder
@CanIgnoreReturnValue
setVideoPodcast(boolean videoPodcast)

Sets a boolean value to indicate if podcast episode has video content or not.

Public fields

listenNextType

public int listenNextType

Public constructors

Builder

public Builder()

Public methods

addGenre

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder addGenre(String genre)

Adds the genre of the podcast episode.

Optional.

addGenres

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder addGenres(List<String> genre)

Adds the list of genres of the podcast episode.

Optional.

addHost

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder addHost(String host)

Adds the host of the podcast episode.

Optional.

addHosts

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder addHosts(List<String> hosts)

Adds the list of hosts of the podcast episode.

Optional.

addPosterImage

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder addPosterImage(Image image)

Add a poster image of the entity.

Required.

addPosterImages

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder addPosterImages(List<Image> images)

Add poster images of the entity.

Required.

build

public PodcastEpisodeEntity build()

setDescription

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setDescription(String description)

Adds the description of the audio entity.

Optional.

setDownloadedOnDevice

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setDownloadedOnDevice(boolean downloadedOnDevice)

Sets a boolean value to indicate if podcast episode is downloaded on device or not.

Optional.

setDurationMillis

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setDurationMillis(long durationMillis)

Sets the duration of the podcast episode in milliseconds.

Optional.

setEntityId

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setEntityId(String entityId)

Sets content id of the entity.

Optional.

setEpisodeIndex

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setEpisodeIndex(int episodeIndex)

Sets the index of episode in the podcast series.

Optional.

setExplicitContent

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setExplicitContent(boolean explicitContent)

Sets a boolean value to indicate if podcast episode has explicit content or not.

Optional.

setInfoPageUri

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setInfoPageUri(Uri infoPageUri)

Sets the info page Uri associated with the podcast episode.

Optional.

setLastEngagementTimeMillis

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setLastEngagementTimeMillis(long lastEngagementTimeMillis)

Sets last engagement time of the entity, in milliseconds since Epoch.

Optional.

setListenNextType

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setListenNextType(int listenNextType)

Sets ListenNextType for the audio entity

Optional

setName

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setName(String name)

Sets the name of the entity.

Required.

setPlayBackUri

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setPlayBackUri(Uri playBackUri)

Sets the playback Uri associated with the podcast episode.

Required.

setPodcastSeriesTitle

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setPodcastSeriesTitle(String podcastSeriesTitle)

Sets the name of podcast series to which the episode belongs to.

Required.

setProductionName

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setProductionName(String productionName)

Sets the name of the production of the podcast episode.

Required.

setProgressPercentComplete

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setProgressPercentComplete(int progressPercentComplete)

Sets progress percent complete of the audio entity.

Optional

setPublishDateEpochMillis

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setPublishDateEpochMillis(long publishDateEpochMillis)

Sets the publish date of the podcast episode in epoch milliseconds.

Required.

setVideoPodcast

@CanIgnoreReturnValue
public PodcastEpisodeEntity.Builder setVideoPodcast(boolean videoPodcast)

Sets a boolean value to indicate if podcast episode has video content or not.

Optional.