PodcastSeriesEntity.Builder


class PodcastSeriesEntity.Builder


Builder class for PodcastSeriesEntity.

Summary

Public constructors

Public functions

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!

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!

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!

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

Builder()

Public functions

addGenre

@CanIgnoreReturnValue
fun addGenre(genre: String!): PodcastSeriesEntity.Builder!

Adds the genre of the podcast series.

Optional.

addGenres

@CanIgnoreReturnValue
fun addGenres(genre: (Mutable)List<String!>!): PodcastSeriesEntity.Builder!

Adds the list of genres of the podcast series.

Optional.

addHost

@CanIgnoreReturnValue
fun addHost(host: String!): PodcastSeriesEntity.Builder!

Adds the host of the podcast series.

Optional.

addHosts

@CanIgnoreReturnValue
fun addHosts(hosts: (Mutable)List<String!>!): PodcastSeriesEntity.Builder!

Adds the list of hosts of the podcast series.

Optional.

addPosterImage

@CanIgnoreReturnValue
fun addPosterImage(image: Image!): PodcastSeriesEntity.Builder!

Add a poster image of the entity.

Required.

addPosterImages

@CanIgnoreReturnValue
fun addPosterImages(images: (Mutable)List<Image!>!): PodcastSeriesEntity.Builder!

Add poster images of the entity.

Required.

build

fun build(): PodcastSeriesEntity!

setDescription

@CanIgnoreReturnValue
fun setDescription(description: String!): PodcastSeriesEntity.Builder!

Adds the description of the audio entity.

Optional.

setDownloadedOnDevice

@CanIgnoreReturnValue
fun setDownloadedOnDevice(downloadedOnDevice: Boolean): PodcastSeriesEntity.Builder!

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

Optional.

setEntityId

@CanIgnoreReturnValue
fun setEntityId(entityId: String!): PodcastSeriesEntity.Builder!

Sets content id of the entity.

Optional.

setEpisodeCount

@CanIgnoreReturnValue
fun setEpisodeCount(episodeCount: Int): PodcastSeriesEntity.Builder!

Sets the count of episodes in the podcast series.

Optional.

setExplicitContent

@CanIgnoreReturnValue
fun setExplicitContent(explicitContent: Boolean): PodcastSeriesEntity.Builder!

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

Optional.

setInfoPageUri

@CanIgnoreReturnValue
fun setInfoPageUri(infoPageUri: Uri!): PodcastSeriesEntity.Builder!

Sets the info page uri of the podcast series.

Required.

setLastEngagementTimeMillis

@CanIgnoreReturnValue
fun setLastEngagementTimeMillis(lastEngagementTimeMillis: Long): PodcastSeriesEntity.Builder!

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

Optional.

setName

@CanIgnoreReturnValue
fun setName(name: String!): PodcastSeriesEntity.Builder!

Sets the name of the entity.

Required.

setPlayBackUri

@CanIgnoreReturnValue
fun setPlayBackUri(playBackUri: Uri!): PodcastSeriesEntity.Builder!

Sets the playback uri of the podcast series.

Optional.

setProductionName

@CanIgnoreReturnValue
fun setProductionName(productionName: String!): PodcastSeriesEntity.Builder!

Sets the name of the production of the podcast series.

Optional.