EbookEntity


public final class EbookEntity extends Entity


An object representing an ebook.

Summary

Nested types

public final class EbookEntity.Builder

Builder class for EbookEntity.

Public fields

final List<String>

Public methods

Uri

Returns the action link associated with the book.

List<String>

Returns the list of authors of the ebook.

int
Optional<Integer>

Returns the read next type of the book.

Optional<String>

Returns the description of the book series, if available

List<DisplayTimeWindow>
Optional<String>

Returns the id of the entity.

List<String>

Returns the list of genre of the book series

Optional<Long>

Returns the last engagement time in milliseconds.

String

Returns the name of the entity.

Optional<Integer>

Returns the page count of the ebook, if available.

List<Image>

Returns the poster image of the entity.

Optional<Price>

Returns the price of the ebook, if available.

Optional<Integer>

Returns the percentage progress completed.

Optional<Long>

Returns the publishing date associated with the ebook, if available.

Optional<Rating>
Optional<String>

Returns the name of the series that the ebook belongs to

Optional<Integer>

Returns the index value of the ebook in the book series

boolean

Public fields

authors

public final List<Stringauthors

Public methods

getActionLinkUri

public Uri getActionLinkUri()

Returns the action link associated with the book.

getAuthors

public List<StringgetAuthors()

Returns the list of authors of the ebook.

getAvailability

public int getAvailability()

getContinueBookType

public Optional<IntegergetContinueBookType()

Returns the read next type of the book.

getDescription

public Optional<StringgetDescription()

Returns the description of the book series, if available

getDisplayTimeWindows

public List<DisplayTimeWindowgetDisplayTimeWindows()

getEntityId

public Optional<StringgetEntityId()

Returns the id of the entity.

getGenres

public List<StringgetGenres()

Returns the list of genre of the book series

getLastEngagementTimeMillis

public Optional<LonggetLastEngagementTimeMillis()

Returns the last engagement time in milliseconds.

getName

public String getName()

Returns the name of the entity.

getPageCount

public Optional<IntegergetPageCount()

Returns the page count of the ebook, if available.

getPosterImages

public List<ImagegetPosterImages()

Returns the poster image of the entity.

getPrice

public Optional<PricegetPrice()

Returns the price of the ebook, if available.

getProgressPercentComplete

public Optional<IntegergetProgressPercentComplete()

Returns the percentage progress completed.

getPublishDateEpochMillis

public Optional<LonggetPublishDateEpochMillis()

Returns the publishing date associated with the ebook, if available.

getRating

public Optional<RatinggetRating()

getSeriesName

public Optional<StringgetSeriesName()

Returns the name of the series that the ebook belongs to

getSeriesUnitIndex

public Optional<IntegergetSeriesUnitIndex()

Returns the index value of the ebook in the book series

isDownloadedOnDevice

public boolean isDownloadedOnDevice()