PodcastSeriesEntity.Builder


public final class PodcastSeriesEntity.Builder


Builder class for PodcastSeriesEntity.

Summary

Public constructors

Public methods

PodcastSeriesEntity.Builder

Adds the genre of the podcast series.

PodcastSeriesEntity.Builder

Adds the list of genres of the podcast series.

PodcastSeriesEntity.Builder

Adds the host of the podcast series.

PodcastSeriesEntity.Builder

Adds the list of hosts of the podcast series.

PodcastSeriesEntity.Builder

Add a poster image of the entity.

PodcastSeriesEntity.Builder

Add poster images of the entity.

PodcastSeriesEntity
PodcastSeriesEntity.Builder

Adds the description of the audio entity.

PodcastSeriesEntity.Builder
@CanIgnoreReturnValue
setDownloadedOnDevice(boolean downloadedOnDevice)

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

PodcastSeriesEntity.Builder

Sets content id of the entity.

PodcastSeriesEntity.Builder

Sets the count of episodes in the podcast series.

PodcastSeriesEntity.Builder
@CanIgnoreReturnValue
setExplicitContent(boolean explicitContent)

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

PodcastSeriesEntity.Builder

Sets the info page uri of the podcast series.

PodcastSeriesEntity.Builder
@CanIgnoreReturnValue
setLastEngagementTimeMillis(long lastEngagementTimeMillis)

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

PodcastSeriesEntity.Builder

Sets the name of the entity.

PodcastSeriesEntity.Builder

Sets the playback uri of the podcast series.

PodcastSeriesEntity.Builder

Sets the name of the production of the podcast series.

Public constructors

Builder

public Builder()

Public methods

addGenre

@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder addGenre(String genre)

Adds the genre of the podcast series.

Optional.

addGenres

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

Adds the list of genres of the podcast series.

Optional.

addHost

@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder addHost(String host)

Adds the host of the podcast series.

Optional.

addHosts

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

Adds the list of hosts of the podcast series.

Optional.

addPosterImage

@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder addPosterImage(Image image)

Add a poster image of the entity.

Required.

addPosterImages

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

Add poster images of the entity.

Required.

build

public PodcastSeriesEntity build()

setDescription

@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setDescription(String description)

Adds the description of the audio entity.

Optional.

setDownloadedOnDevice

@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setDownloadedOnDevice(boolean downloadedOnDevice)

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

Optional.

setEntityId

@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setEntityId(String entityId)

Sets content id of the entity.

Optional.

setEpisodeCount

@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setEpisodeCount(int episodeCount)

Sets the count of episodes in the podcast series.

Optional.

setExplicitContent

@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setExplicitContent(boolean explicitContent)

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

Optional.

setInfoPageUri

@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setInfoPageUri(Uri infoPageUri)

Sets the info page uri of the podcast series.

Required.

setLastEngagementTimeMillis

@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setLastEngagementTimeMillis(long lastEngagementTimeMillis)

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

Optional.

setName

@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setName(String name)

Sets the name of the entity.

Required.

setPlayBackUri

@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setPlayBackUri(Uri playBackUri)

Sets the playback uri of the podcast series.

Optional.

setProductionName

@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setProductionName(String productionName)

Sets the name of the production of the podcast series.

Optional.