LiveRadioStationEntity.Builder


class LiveRadioStationEntity.Builder


Builder class for LiveRadioStationEntity.

Summary

Public constructors

Public functions

LiveRadioStationEntity.Builder!

Adds host of the radio station.

LiveRadioStationEntity.Builder!

Adds the list of hosts of the radio station.

LiveRadioStationEntity.Builder!

Add a poster image of the entity.

LiveRadioStationEntity.Builder!

Add poster images of the entity.

LiveRadioStationEntity!
LiveRadioStationEntity.Builder!

Adds the description of the audio entity.

LiveRadioStationEntity.Builder!

Sets content id of the entity.

LiveRadioStationEntity.Builder!

Sets the info page Uri associated with the radio station.

LiveRadioStationEntity.Builder!

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

LiveRadioStationEntity.Builder!

Sets the name of the entity.

LiveRadioStationEntity.Builder!

Sets the playback Uri associated with the radio station.

LiveRadioStationEntity.Builder!

Sets the radio frequency id of the radio station. e.g. 92.3 FM

LiveRadioStationEntity.Builder!

Sets the show title being broadcast on the radio station.

Public constructors

Builder

Builder()

Public functions

addHost

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

Adds host of the radio station.

Optional.

addHosts

@CanIgnoreReturnValue
fun addHosts(host: (Mutable)List<String!>!): LiveRadioStationEntity.Builder!

Adds the list of hosts of the radio station.

Optional.

addPosterImage

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

Add a poster image of the entity.

Required.

addPosterImages

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

Add poster images of the entity.

Required.

build

fun build(): LiveRadioStationEntity!

setDescription

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

Adds the description of the audio entity.

Optional.

setEntityId

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

Sets content id of the entity.

Optional.

setInfoPageUri

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

Sets the info page Uri associated with the radio station.

Optional.

setLastEngagementTimeMillis

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

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

Optional.

setName

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

Sets the name of the entity.

Required.

setPlayBackUri

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

Sets the playback Uri associated with the radio station.

Required.

setRadioFrequencyId

@CanIgnoreReturnValue
fun setRadioFrequencyId(radioFrequencyId: String!): LiveRadioStationEntity.Builder!

Sets the radio frequency id of the radio station. e.g. 92.3 FM

Optional.

setShowTitle

@CanIgnoreReturnValue
fun setShowTitle(showTitle: String!): LiveRadioStationEntity.Builder!

Sets the show title being broadcast on the radio station.

Optional.