# LiveRadioStationEntity

# LiveRadioStationEntity

*** ** * ** ***

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

<br />

```
class LiveRadioStationEntity : Entity
```

<br />

|---|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                                         |||
| ↳ | [com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity)                                  ||
|   | ↳ | [com.google.android.engage.audio.datamodel.LiveRadioStationEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity) |

*** ** * ** ***

An object representing a live radio station.

## Summary

|                                                                                                                                                       ### Nested types                                                                                                                                                        |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `class `[LiveRadioStationEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity.Builder) Builder class for[LiveRadioStationEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity). |

|                                                                                                                                               ### Public functions                                                                                                                                                |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                                                                                                 | [getDescription](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getDescription())`()` Returns the description of the audio entity, if available                   |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                                                                                                 | [getEntityId](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getEntityId())`()` Returns the id of the entity.                                                     |
| `(`[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)`!>!`                         | [getHosts](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getHosts())`()` Returns the lists of the hosts of the radio station, if available                       |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Uri](https://developer.android.com/reference/android/net/Uri.html)`!>!`                                                                                                                                              | [getInfoPageUri](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getInfoPageUri())`()` Returns the info page uri of the radio station, if available                |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`!>!`                                                                                                                                     | [getLastEngagementTimeMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getLastEngagementTimeMillis())`()` Returns the last engagement time in milliseconds. |
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!`                                                                                                                                                                                                                               | [getName](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getName())`()` Returns the name of the entity.                                                           |
| `(`[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)`!>!` | [getPosterImages](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getPosterImages())`()` Returns the poster image of the entity.                                   |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                                                                                                 | [getRadioFrequencyId](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getRadioFrequencyId())`()`                                                                   |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                                                                                                 | [getShowTitle](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getShowTitle())`()` Returns the current show title being broadcast on the radio station             |

|                         ### Public properties                          |
|------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|
| [Uri](https://developer.android.com/reference/android/net/Uri.html)`!` | [playBackUri](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#playBackUri()) |

|                                                                                                                                                                                                                                                                                         ### Inherited functions                                                                                                                                                                                                                                                                                         |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity) |----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------| | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getEntityType](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity#getEntityType())`()` | |

## Public functions

### getDescription

```
fun getDescription(): Optional<String!>!
```

Returns the description of the audio entity, if available  

### getEntityId

```
fun getEntityId(): Optional<String!>!
```

Returns the id of the entity.  

### getHosts

```
fun getHosts(): (Mutable)List<String!>!
```

Returns the lists of the hosts of the radio station, if available  

### getInfoPageUri

```
fun getInfoPageUri(): Optional<Uri!>!
```

Returns the info page uri of the radio station, if available  

### getLastEngagementTimeMillis

```
fun getLastEngagementTimeMillis(): Optional<Long!>!
```

Returns the last engagement time in milliseconds.  

### getName

```
fun getName(): String!
```

Returns the name of the entity.  

### getPosterImages

```
fun getPosterImages(): (Mutable)List<Image!>!
```

Returns the poster image of the entity.  

### getRadioFrequencyId

```
fun getRadioFrequencyId(): Optional<String!>!
```  

### getShowTitle

```
fun getShowTitle(): Optional<String!>!
```

Returns the current show title being broadcast on the radio station  

## Public properties

### playBackUri

```
val playBackUri: Uri!
```