MusicArtistEntity.Builder


class MusicArtistEntity.Builder


Builder class for MusicArtistEntity.

Summary

Public constructors

Public functions

MusicArtistEntity.Builder!

Add a poster image of the entity.

MusicArtistEntity.Builder!

Add poster images of the entity.

MusicArtistEntity!
MusicArtistEntity.Builder!

Adds the description of the audio entity.

MusicArtistEntity.Builder!

Sets content id of the entity.

MusicArtistEntity.Builder!

Sets the info page uri of the music artist.

MusicArtistEntity.Builder!

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

MusicArtistEntity.Builder!

Sets the name of the entity.

MusicArtistEntity.Builder!

Sets the playback uri of the music artist.

Public constructors

Builder

Builder()

Public functions

addPosterImage

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

Add a poster image of the entity.

Required.

addPosterImages

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

Add poster images of the entity.

Required.

build

fun build(): MusicArtistEntity!

setDescription

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

Adds the description of the audio entity.

Optional.

setEntityId

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

Sets content id of the entity.

Optional.

setInfoPageUri

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

Sets the info page uri of the music artist.

Required.

setLastEngagementTimeMillis

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

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

Optional.

setName

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

Sets the name of the entity.

Required.

setPlayBackUri

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

Sets the playback uri of the music artist.

Optional.