LiveRadioStationEntity.Builder


public final class LiveRadioStationEntity.Builder


Builder class for LiveRadioStationEntity.

Summary

Public constructors

Public methods

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
@CanIgnoreReturnValue
setLastEngagementTimeMillis(long lastEngagementTimeMillis)

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

public Builder()

Public methods

addHost

@CanIgnoreReturnValue
public LiveRadioStationEntity.Builder addHost(String host)

Adds host of the radio station.

Optional.

addHosts

@CanIgnoreReturnValue
public LiveRadioStationEntity.Builder addHosts(List<String> host)

Adds the list of hosts of the radio station.

Optional.

addPosterImage

@CanIgnoreReturnValue
public LiveRadioStationEntity.Builder addPosterImage(Image image)

Add a poster image of the entity.

Required.

addPosterImages

@CanIgnoreReturnValue
public LiveRadioStationEntity.Builder addPosterImages(List<Image> images)

Add poster images of the entity.

Required.

build

public LiveRadioStationEntity build()

setDescription

@CanIgnoreReturnValue
public LiveRadioStationEntity.Builder setDescription(String description)

Adds the description of the audio entity.

Optional.

setEntityId

@CanIgnoreReturnValue
public LiveRadioStationEntity.Builder setEntityId(String entityId)

Sets content id of the entity.

Optional.

setInfoPageUri

@CanIgnoreReturnValue
public LiveRadioStationEntity.Builder setInfoPageUri(Uri infoPageUri)

Sets the info page Uri associated with the radio station.

Optional.

setLastEngagementTimeMillis

@CanIgnoreReturnValue
public LiveRadioStationEntity.Builder setLastEngagementTimeMillis(long lastEngagementTimeMillis)

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

Optional.

setName

@CanIgnoreReturnValue
public LiveRadioStationEntity.Builder setName(String name)

Sets the name of the entity.

Required.

setPlayBackUri

@CanIgnoreReturnValue
public LiveRadioStationEntity.Builder setPlayBackUri(Uri playBackUri)

Sets the playback Uri associated with the radio station.

Required.

setRadioFrequencyId

@CanIgnoreReturnValue
public LiveRadioStationEntity.Builder setRadioFrequencyId(String radioFrequencyId)

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

Optional.

setShowTitle

@CanIgnoreReturnValue
public LiveRadioStationEntity.Builder setShowTitle(String showTitle)

Sets the show title being broadcast on the radio station.

Optional.