ReaderPublicationNavigationItem

Represents an item within a ReaderPublicationNavigationCollection.

The type of ReaderPublicationNavigationCollection dictates the type of content in the item. For example when the parent collection is of type NavigationCollectionType.TOC, then the item represents one entry in the table of contents.

Properties

Link copied to clipboard

The nested children of this item if any.

Link copied to clipboard
abstract val href: String?

A URL pointing to the external resource represented by this item if applicable. Null otherwise.

Link copied to clipboard
abstract val id: Int

An identifier for this item, unique within the publication.

Link copied to clipboard

If the locator is targeting content within the publication.

Link copied to clipboard
abstract val locator: SimpleLocatorData?

The locator for this navigation item

Link copied to clipboard
abstract val parentId: Int?

The id of the parent navigation item if any. Null if this is a top-level item.

Link copied to clipboard
abstract val textContent: String

The contents of this item as text.