PodcastEpisodeEntity.Builder


class PodcastEpisodeEntity.Builder


Builder class for PodcastEpisodeEntity.

Summary

Public constructors

Public functions

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!

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!

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!

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!

Sets progress percent complete of the audio entity.

PodcastEpisodeEntity.Builder!

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

PodcastEpisodeEntity.Builder!

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

Public properties

Int

Public constructors

Builder

Builder()

Public functions

addGenre

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

Adds the genre of the podcast episode.

Optional.

addGenres

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

Adds the list of genres of the podcast episode.

Optional.

addHost

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

Adds the host of the podcast episode.

Optional.

addHosts

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

Adds the list of hosts of the podcast episode.

Optional.

addPosterImage

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

Add a poster image of the entity.

Required.

addPosterImages

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

Add poster images of the entity.

Required.

build

fun build(): PodcastEpisodeEntity!

setDescription

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

Adds the description of the audio entity.

Optional.

setDownloadedOnDevice

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

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

Optional.

setDurationMillis

@CanIgnoreReturnValue
fun setDurationMillis(durationMillis: Long): PodcastEpisodeEntity.Builder!

Sets the duration of the podcast episode in milliseconds.

Optional.

setEntityId

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

Sets content id of the entity.

Optional.

setEpisodeIndex

@CanIgnoreReturnValue
fun setEpisodeIndex(episodeIndex: Int): PodcastEpisodeEntity.Builder!

Sets the index of episode in the podcast series.

Optional.

setExplicitContent

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

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

Optional.

setInfoPageUri

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

Sets the info page Uri associated with the podcast episode.

Optional.

setLastEngagementTimeMillis

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

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

Optional.

setListenNextType

@CanIgnoreReturnValue
fun setListenNextType(listenNextType: Int): PodcastEpisodeEntity.Builder!

Sets ListenNextType for the audio entity

Optional

setName

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

Sets the name of the entity.

Required.

setPlayBackUri

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

Sets the playback Uri associated with the podcast episode.

Required.

setPodcastSeriesTitle

@CanIgnoreReturnValue
fun setPodcastSeriesTitle(podcastSeriesTitle: String!): PodcastEpisodeEntity.Builder!

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

Required.

setProductionName

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

Sets the name of the production of the podcast episode.

Required.

setProgressPercentComplete

@CanIgnoreReturnValue
fun setProgressPercentComplete(progressPercentComplete: Int): PodcastEpisodeEntity.Builder!

Sets progress percent complete of the audio entity.

Optional

setPublishDateEpochMillis

@CanIgnoreReturnValue
fun setPublishDateEpochMillis(publishDateEpochMillis: Long): PodcastEpisodeEntity.Builder!

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

Required.

setVideoPodcast

@CanIgnoreReturnValue
fun setVideoPodcast(videoPodcast: Boolean): PodcastEpisodeEntity.Builder!

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

Optional.

Public properties

listenNextType

val listenNextTypeInt