# BookSeriesEntity

# BookSeriesEntity

*** ** * ** ***

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

<br />

```
class BookSeriesEntity : 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.books.datamodel.BookSeriesEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/BookSeriesEntity) |

*** ** * ** ***

An object representing a book series entity.

## Summary

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

|                                                                                                                                                           ### Public functions                                                                                                                                                            |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Uri](https://developer.android.com/reference/android/net/Uri.html)`!`                                                                                                                                                                                                                                                                    | [getActionLinkUri](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/BookSeriesEntity#getActionLinkUri())`()` Returns the action link associated with the book.                       |
| `(`[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)`!>!`                                                 | [getAuthors](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/BookSeriesEntity#getAuthors())`()` Returns the list of authors of the book series.                                     |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)                                                                                                                                                                                                                                                                | [getAvailability](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/BookSeriesEntity#getAvailability())`()`                                                                           |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`!>!`                                                                                                                                                               | [getContinueBookType](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/BookSeriesEntity#getContinueBookType())`()` Returns the read next type of the book.                           |
| [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/books/datamodel/BookSeriesEntity#getDescription())`()` Returns the description of the book series, if available                    |
| `(`[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)`<`[DisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/DisplayTimeWindow)`!>!` | [getDisplayTimeWindows](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/BookSeriesEntity#getDisplayTimeWindows())`()`                                                               |
| [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/books/datamodel/BookSeriesEntity#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)`!>!`                                                 | [getGenres](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/BookSeriesEntity#getGenres())`()` Returns the list of genre of the book series                                          |
| [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/books/datamodel/BookSeriesEntity#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/books/datamodel/BookSeriesEntity#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/books/datamodel/BookSeriesEntity#getPosterImages())`()` Returns the poster image of the entity.                                   |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`!>!`                                                                                                                                                               | [getProgressPercentComplete](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/BookSeriesEntity#getProgressPercentComplete())`()` Returns the percentage progress completed.          |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Rating](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Rating)`!>!`                                                                                                                               | [getRating](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/BookSeriesEntity#getRating())`()`                                                                                       |
| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                                                                                                                                                                                                                                                        | [isDownloadedOnDevice](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/BookSeriesEntity#isDownloadedOnDevice())`()`                                                                 |

|                           ### Public properties                            |
|----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [bookCount](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/BookSeriesEntity#bookCount()) |

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

### getActionLinkUri

```
fun getActionLinkUri(): Uri!
```

Returns the action link associated with the book.  

### getAuthors

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

Returns the list of authors of the book series.  

### getAvailability

```
fun getAvailability(): Int
```  

### getContinueBookType

```
fun getContinueBookType(): Optional<Int!>!
```

Returns the read next type of the book.  

### getDescription

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

Returns the description of the book series, if available  

### getDisplayTimeWindows

```
fun getDisplayTimeWindows(): (Mutable)List<DisplayTimeWindow!>!
```  

### getEntityId

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

Returns the id of the entity.  

### getGenres

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

Returns the list of genre of the book series  

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

### getProgressPercentComplete

```
fun getProgressPercentComplete(): Optional<Int!>!
```

Returns the percentage progress completed.  

### getRating

```
fun getRating(): Optional<Rating!>!
```  

### isDownloadedOnDevice

```
fun isDownloadedOnDevice(): Boolean
```  

## Public properties

### bookCount

```
val bookCount: Int
```