# PodcastSeriesEntity

# PodcastSeriesEntity

*** ** * ** ***

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

<br />

```
public final class PodcastSeriesEntity 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.PodcastSeriesEntity](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/PodcastSeriesEntity) |

*** ** * ** ***

An object representing a podcast series.

## Summary

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

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

|                                                                             ### 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/PodcastSeriesEntity#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/PodcastSeriesEntity#getEntityId())`()` Returns the id of the entity.                                                     |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Integer](https://developer.android.com/reference/java/lang/Integer.html)`>`   | [getEpisodeCount](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/PodcastSeriesEntity#getEpisodeCount())`()` Returns the count of episodes in the podcast series                       |
| [List](https://developer.android.com/reference/java/util/List.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                           | [getGenres](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/PodcastSeriesEntity#getGenres())`()` Returns the genres of podcast series                                                  |
| [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/PodcastSeriesEntity#getHosts())`()` Returns the name of the hosts of the podcast series                                     |
| [Uri](https://developer.android.com/reference/android/net/Uri.html)                                                                                                        | [getInfoPageUri](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/PodcastSeriesEntity#getInfoPageUri())`()` Returns the info page uri of the podcast series.                            |
| [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/PodcastSeriesEntity#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/PodcastSeriesEntity#getName())`()` Returns the name of the entity.                                                           |
| [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)`>`         | [getPlayBackUri](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/PodcastSeriesEntity#getPlayBackUri())`()` Returns the play back uri of the podcast series, if available               |
| [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/PodcastSeriesEntity#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)`>`     | [getProductionName](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/PodcastSeriesEntity#getProductionName())`()` Returns the name of the production of the podcast series              |
| `boolean`                                                                                                                                                                  | [isDownloadedOnDevice](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/PodcastSeriesEntity#isDownloadedOnDevice())`()` Indicates whether podcast series is downloaded on device or not |
| `boolean`                                                                                                                                                                  | [isExplicitContent](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/PodcastSeriesEntity#isExplicitContent())`()` Returns whether the podcast series has explicit content or not        |

|                                                                                                                                                                                                          ### 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

### infoPageUri

```
public final Uri infoPageUri
```  

## 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.  

### getEpisodeCount

```
public Optional<Integer> getEpisodeCount()
```

Returns the count of episodes in the podcast series  

### getGenres

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

Returns the genres of podcast series  

### getHosts

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

Returns the name of the hosts of the podcast series  

### getInfoPageUri

```
public Uri getInfoPageUri()
```

Returns the info page uri of the podcast series.  

### getLastEngagementTimeMillis

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

Returns the last engagement time in milliseconds.  

### getName

```
public String getName()
```

Returns the name of the entity.  

### getPlayBackUri

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

Returns the play back uri of the podcast series, if available  

### getPosterImages

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

Returns the poster image of the entity.  

### getProductionName

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

Returns the name of the production of the podcast series  

### isDownloadedOnDevice

```
public boolean isDownloadedOnDevice()
```

Indicates whether podcast series is downloaded on device or not  

### isExplicitContent

```
public boolean isExplicitContent()
```

Returns whether the podcast series has explicit content or not