PositionsService

Provides a list of discrete locations in the publication, no matter what the original format is.

Inheritors

Functions

Link copied to clipboard
open override fun close()

Closes any opened file handles, removes temporary files, etc.

Link copied to clipboard
open suspend fun positions(): List<Locator>

Returns the list of all the positions in the publication.

Link copied to clipboard
abstract suspend fun positionsByReadingOrder(): List<List<Locator>>

Returns the list of all the positions in the publication, grouped by the resource reading order index.