# LiveRadioStationEntity.Builder

# LiveRadioStationEntity.Builder

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder "View this page in Java")  

<br />

```
class LiveRadioStationEntity.Builder
```

<br />

*** ** * ** ***

Builder class for[LiveRadioStationEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity).

## Summary

|                                                             ### Public constructors                                                              |
|--------------------------------------------------------------------------------------------------------------------------------------------------|
| [Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#Builder())`()` |

|                                                                     ### Public functions                                                                     |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [LiveRadioStationEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addHost](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#addHost(java.lang.String))`(host: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Adds host of the radio station.                                                                                                                                                                                                                                                                                                |
| [LiveRadioStationEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addHosts](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#addHosts(java.util.List<java.lang.String>))`(host: (`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!)` Adds the list of hosts of the radio station.                                                             |
| [LiveRadioStationEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImage](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#addPosterImage(com.google.android.engage.common.datamodel.Image))`(image: `[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!)` Add a poster image of the entity.                                                                                                                                                                                                                       |
| [LiveRadioStationEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImages](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#addPosterImages(java.util.List<com.google.android.engage.common.datamodel.Image>))`(images: (`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!>!)` Add poster images of the entity. |
| [LiveRadioStationEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity)`!`                 | [build](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#build())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LiveRadioStationEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setDescription](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#setDescription(java.lang.String))`(description: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Adds the description of the audio entity.                                                                                                                                                                                                                                                                 |
| [LiveRadioStationEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setEntityId](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#setEntityId(java.lang.String))`(entityId: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets content id of the entity.                                                                                                                                                                                                                                                                                     |
| [LiveRadioStationEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setInfoPageUri](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#setInfoPageUri(android.net.Uri))`(infoPageUri: `[Uri](https://developer.android.com/reference/android/net/Uri.html)`!)` Sets the info page Uri associated with the radio station.                                                                                                                                                                                                                                                               |
| [LiveRadioStationEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setLastEngagementTimeMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#setLastEngagementTimeMillis(long))`(lastEngagementTimeMillis: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` Sets last engagement time of the entity, in milliseconds since Epoch.                                                                                                                                                                                                               |
| [LiveRadioStationEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setName](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#setName(java.lang.String))`(name: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the name of the entity.                                                                                                                                                                                                                                                                                                   |
| [LiveRadioStationEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setPlayBackUri](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#setPlayBackUri(android.net.Uri))`(playBackUri: `[Uri](https://developer.android.com/reference/android/net/Uri.html)`!)` Sets the playback Uri associated with the radio station.                                                                                                                                                                                                                                                                |
| [LiveRadioStationEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setRadioFrequencyId](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#setRadioFrequencyId(java.lang.String))`(radioFrequencyId: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the radio frequency id of the radio station. e.g. 92.3 FM                                                                                                                                                                                                                             |
| [LiveRadioStationEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setShowTitle](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder#setShowTitle(java.lang.String))`(showTitle: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` 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.