GenericAudioEntity.Builder


class GenericAudioEntity.Builder


Builder class for GenericAudioEntity.

Summary

Public constructors

Public functions

GenericAudioEntity.Builder!

Adds the display time window for the entity

GenericAudioEntity.Builder!

Adds the display time window for the entity

GenericAudioEntity.Builder!

Add a poster image of the entity.

GenericAudioEntity.Builder!

Add poster images of the entity.

GenericAudioEntity.Builder!

Add a subtitle for the audio entity.

GenericAudioEntity.Builder!

Add subtitles for the audio entity.

GenericAudioEntity!
GenericAudioEntity.Builder!

Sets the action uri for the entity.

GenericAudioEntity.Builder!

Sets the callout for the entity.

GenericAudioEntity.Builder!

Sets the callout fine print for the entity.

GenericAudioEntity.Builder!

Sets whether the content is downloaded on device.

GenericAudioEntity.Builder!

Sets content id of the entity.

GenericAudioEntity.Builder!

Sets whether the content is explicit.

GenericAudioEntity.Builder!

Sets whether the entity is a music artist

GenericAudioEntity.Builder!

Sets whether the entity is a book.

GenericAudioEntity.Builder!

Sets whether the entity is a talk (podcast).

GenericAudioEntity.Builder!

Sets whether the entity is a video.

GenericAudioEntity.Builder!

Sets the last engagement time for the entity.

GenericAudioEntity.Builder!

Sets the listen next type for the entity.

GenericAudioEntity.Builder!

Sets the name of the entity.

GenericAudioEntity.Builder!

Sets the price for the entity.

GenericAudioEntity.Builder!

Sets the progress percent complete for the entity.

GenericAudioEntity.Builder!

Sets the rating for the entity.

Public constructors

Builder

Builder()

Public functions

addAllDisplayTimeWindow

@CanIgnoreReturnValue
fun addAllDisplayTimeWindow(
    displayTimeWindows: (Mutable)List<DisplayTimeWindow!>!
): GenericAudioEntity.Builder!

Adds the display time window for the entity

Optional.

addDisplayTimeWindow

@CanIgnoreReturnValue
fun addDisplayTimeWindow(displayTimeWindow: DisplayTimeWindow!): GenericAudioEntity.Builder!

Adds the display time window for the entity

Optional.

addPosterImage

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

Add a poster image of the entity.

Required.

addPosterImages

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

Add poster images of the entity.

Required.

addSubtitle

@CanIgnoreReturnValue
fun addSubtitle(subtitle: String!): GenericAudioEntity.Builder!

Add a subtitle for the audio entity.

addSubtitles

@CanIgnoreReturnValue
fun addSubtitles(subtitles: (Mutable)List<String!>!): GenericAudioEntity.Builder!

Add subtitles for the audio entity.

build

fun build(): GenericAudioEntity!

setActionUri

@CanIgnoreReturnValue
fun setActionUri(actionUri: Uri!): GenericAudioEntity.Builder!

Sets the action uri for the entity.

Required.

setCallout

@CanIgnoreReturnValue
fun setCallout(callout: String!): GenericAudioEntity.Builder!

Sets the callout for the entity.

Optional.

setCalloutFinePrint

@CanIgnoreReturnValue
fun setCalloutFinePrint(calloutFinePrint: String!): GenericAudioEntity.Builder!

Sets the callout fine print for the entity.

Optional.

setDownloadedOnDevice

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

Sets whether the content is downloaded on device.

Optional.

setEntityId

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

Sets content id of the entity.

Optional.

setExplicitContent

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

Sets whether the content is explicit.

Required.

setIsArtist

@CanIgnoreReturnValue
fun setIsArtist(isArtist: Boolean!): GenericAudioEntity.Builder!

Sets whether the entity is a music artist

Optional

setIsBook

@CanIgnoreReturnValue
fun setIsBook(isBook: Boolean): GenericAudioEntity.Builder!

Sets whether the entity is a book.

Optional.

setIsTalk

@CanIgnoreReturnValue
fun setIsTalk(isTalk: Boolean!): GenericAudioEntity.Builder!

Sets whether the entity is a talk (podcast).

Optional.

setIsVideoSupported

@CanIgnoreReturnValue
fun setIsVideoSupported(isVideoSupported: Boolean!): GenericAudioEntity.Builder!

Sets whether the entity is a video.

Optional.

setLastEngagementTimeMillis

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

Sets the last engagement time for the entity.

Optional.

setListenNextType

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

Sets the listen next type for the entity.

Optional.

setName

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

Sets the name of the entity.

Required.

setPrice

@CanIgnoreReturnValue
fun setPrice(price: Price!): GenericAudioEntity.Builder!

Sets the price for the entity.

Optional.

setProgressPercentComplete

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

Sets the progress percent complete for the entity.

Optional.

setRating

@CanIgnoreReturnValue
fun setRating(rating: Rating!): GenericAudioEntity.Builder!

Sets the rating for the entity.

Optional.