# LiveRadioStationEntity

# LiveRadioStationEntity

*** ** * ** ***

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

<br />

```
public final class LiveRadioStationEntity extends Entity
```

<br />

|---|---|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)                                                                                                  |||
| ↳ | [com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity)                                  ||
|   | ↳ | [com.google.android.engage.audio.datamodel.LiveRadioStationEntity](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/LiveRadioStationEntity) |

*** ** * ** ***

An object representing a live radio station.

## Summary

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

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

|                                                                             ### Public methods                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`     | [getDescription](https://developer.android.com/reference/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://developer.android.com/reference/java/lang/String.html)`>`     | [getEntityId](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getEntityId())`()` Returns the id of the entity.                                                     |
| [List](https://developer.android.com/reference/java/util/List.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                           | [getHosts](https://developer.android.com/reference/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/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://developer.android.com/reference/java/lang/Long.html)`>`         | [getLastEngagementTimeMillis](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getLastEngagementTimeMillis())`()` Returns the last engagement time in milliseconds. |
| [String](https://developer.android.com/reference/java/lang/String.html)                                                                                                    | [getName](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getName())`()` Returns the name of the entity.                                                           |
| [Uri](https://developer.android.com/reference/android/net/Uri.html)                                                                                                        | [getPlayBackUri](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getPlayBackUri())`()` Returns the play back uri radio station                                     |
| [List](https://developer.android.com/reference/java/util/List.html)`<`[Image](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Image)`>` | [getPosterImages](https://developer.android.com/reference/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://developer.android.com/reference/java/lang/String.html)`>`     | [getRadioFrequencyId](https://developer.android.com/reference/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://developer.android.com/reference/java/lang/String.html)`>`     | [getShowTitle](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/LiveRadioStationEntity#getShowTitle())`()` Returns the current show title being broadcast on the radio station             |

|                                                                                                                                                                                                          ### Inherited methods                                                                                                                                                                                                           |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity) |-------|--------------------------------------------------------------------------------------------------------------------------------| | `int` | [getEntityType](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity#getEntityType())`()` | |

## Public fields

### playBackUri

```
public final Uri playBackUri
```  

## Public methods

### getDescription

```
public Optional<String> getDescription()
```

Returns the description of the audio entity, if available  

### getEntityId

```
public Optional<String> getEntityId()
```

Returns the id of the entity.  

### getHosts

```
public List<String> getHosts()
```

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

### getInfoPageUri

```
public Optional<Uri> getInfoPageUri()
```

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

### getLastEngagementTimeMillis

```
public Optional<Long> getLastEngagementTimeMillis()
```

Returns the last engagement time in milliseconds.  

### getName

```
public String getName()
```

Returns the name of the entity.  

### getPlayBackUri

```
public Uri getPlayBackUri()
```

Returns the play back uri radio station  

### getPosterImages

```
public List<Image> getPosterImages()
```

Returns the poster image of the entity.  

### getRadioFrequencyId

```
public Optional<String> getRadioFrequencyId()
```  

### getShowTitle

```
public Optional<String> getShowTitle()
```

Returns the current show title being broadcast on the radio station