Skip to content
Gautam Chibde edited this page Oct 14, 2017 · 1 revision

String getBookId()

Returns Book id, which can be provided to intent to folio reader, if not provided id is used from epub's dc:identifier field in metadata.

for reference, look here: IDPF.

in case identifier is not found in the epub, hash code of book title is used also if book title is not found then hash code of the book file name is used.

String getContent()

Returns Highlighted text content text content.

Date getDate()

Returns Date time when highlight is created (format:- MMM dd, yyyy | HH:mm).

String getType()

Returns Field defines the color of the highlight.

int getPageNumber()

Returns Page index in the book taken from Epub spine reference.

String getPageId()

Returns href of the page from the Epub spine list.

String getRangy()

Contains highlight meta data in terms of rangy format.

format :- start$end$id$class$containerId.

for reference, look here: rangy.

String getUUID()

Unique identifier for a highlight for sync across devices.

for reference, look here: UUID. .

String getNote()

Returns Note linked to the highlight (optional)