BookSeriesEntity.Builder


class BookSeriesEntity.Builder


Builder class for BookSeriesEntity.

Summary

Public constructors

Public functions

BookSeriesEntity.Builder!

Adds the display time window for the book

BookSeriesEntity.Builder!

Adds the author of the book series.

BookSeriesEntity.Builder!

Adds the list of authors of the book series.

BookSeriesEntity.Builder!

Adds the display time window for the book

BookSeriesEntity.Builder!

Adds the genre of the book series.

BookSeriesEntity.Builder!

Adds the genre of the book series.

BookSeriesEntity.Builder!

Add a poster image of the entity.

BookSeriesEntity.Builder!

Add poster images of the entity.

BookSeriesEntity!
BookSeriesEntity.Builder!

Sets the deeplink associated with the book.

BookSeriesEntity.Builder!

Sets the availability of the book.

BookSeriesEntity.Builder!

Sets the deeplink associated with the book series.

BookSeriesEntity.Builder!

Sets a continue book type for the book.

BookSeriesEntity.Builder!

Adds the description of the audiobook.

BookSeriesEntity.Builder!

Sets a boolean value to indicate if book is downloaded on device or not.

BookSeriesEntity.Builder!

Sets content id of the entity.

BookSeriesEntity.Builder!

Sets last engagement time of the entity, in milliseconds since Epoch.

BookSeriesEntity.Builder!

Sets the name of the entity.

BookSeriesEntity.Builder!

Sets progress percent complete of the book entity.

BookSeriesEntity.Builder!

Sets the rating for the book entity.

Public constructors

Builder

Builder()

Public functions

addAllDisplayTimeWindow

@CanIgnoreReturnValue
fun addAllDisplayTimeWindow(
    displayTimeWindows: (Mutable)List<DisplayTimeWindow!>!
): BookSeriesEntity.Builder!

Adds the display time window for the book

Optional.

addAuthor

@CanIgnoreReturnValue
fun addAuthor(author: String!): BookSeriesEntity.Builder!

Adds the author of the book series.

Required.

addAuthors

@CanIgnoreReturnValue
fun addAuthors(authors: (Mutable)List<String!>!): BookSeriesEntity.Builder!

Adds the list of authors of the book series.

Required

addDisplayTimeWindow

@CanIgnoreReturnValue
fun addDisplayTimeWindow(displayTimeWindow: DisplayTimeWindow!): BookSeriesEntity.Builder!

Adds the display time window for the book

Optional.

addGenre

@CanIgnoreReturnValue
fun addGenre(genre: String!): BookSeriesEntity.Builder!

Adds the genre of the book series.

Optional.

addGenres

@CanIgnoreReturnValue
fun addGenres(genres: (Mutable)List<String!>!): BookSeriesEntity.Builder!

Adds the genre of the book series.

Optional.

addPosterImage

@CanIgnoreReturnValue
fun addPosterImage(image: Image!): BookSeriesEntity.Builder!

Add a poster image of the entity.

Required.

addPosterImages

@CanIgnoreReturnValue
fun addPosterImages(images: (Mutable)List<Image!>!): BookSeriesEntity.Builder!

Add poster images of the entity.

Required.

build

fun build(): BookSeriesEntity!

setActionLinkUri

@CanIgnoreReturnValue
fun setActionLinkUri(actionLinkUri: Uri!): BookSeriesEntity.Builder!

Sets the deeplink associated with the book.

Required

setAvailability

@CanIgnoreReturnValue
fun setAvailability(@ContentAvailability availability: Int): BookSeriesEntity.Builder!

Sets the availability of the book.

Optional.

setBookCount

@CanIgnoreReturnValue
fun setBookCount(bookCount: Int): BookSeriesEntity.Builder!

Sets the deeplink associated with the book series.

Required

setContinueBookType

@CanIgnoreReturnValue
fun setContinueBookType(continueBookType: Int): BookSeriesEntity.Builder!

Sets a continue book type for the book.

Optional.

setDescription

@CanIgnoreReturnValue
fun setDescription(description: String!): BookSeriesEntity.Builder!

Adds the description of the audiobook.

Optional.

setDownloadedOnDevice

@CanIgnoreReturnValue
fun setDownloadedOnDevice(downloadedOnDevice: Boolean): BookSeriesEntity.Builder!

Sets a boolean value to indicate if book is downloaded on device or not.

Optional.

setEntityId

@CanIgnoreReturnValue
fun setEntityId(entityId: String!): BookSeriesEntity.Builder!

Sets content id of the entity.

Optional.

setLastEngagementTimeMillis

@CanIgnoreReturnValue
fun setLastEngagementTimeMillis(lastEngagementTimeMillis: Long): BookSeriesEntity.Builder!

Sets last engagement time of the entity, in milliseconds since Epoch.

Optional.

setName

@CanIgnoreReturnValue
fun setName(name: String!): BookSeriesEntity.Builder!

Sets the name of the entity.

Required.

setProgressPercentComplete

@CanIgnoreReturnValue
fun setProgressPercentComplete(progressPercentComplete: Int): BookSeriesEntity.Builder!

Sets progress percent complete of the book entity.

Optional.

setRating

@CanIgnoreReturnValue
fun setRating(rating: Rating!): BookSeriesEntity.Builder!

Sets the rating for the book entity.

Optional.