SelectionChangedEngineEventData

class SelectionChangedEngineEventData(val objectType: EngineEventDataObjectType = EngineEventDataObjectType.SELECTION_CHANGED_ENGINE_EVENT, val type: EngineEventDataType, val isRange: Boolean, val locator: SimpleLocatorData?, val readerDocumentIndexInSpine: Int?, val selectionText: String?) : ReaderViewEngineEventData

EngineEvent type used for "selectionChanged" events.

Constructors

Link copied to clipboard
fun SelectionChangedEngineEventData(objectType: EngineEventDataObjectType = EngineEventDataObjectType.SELECTION_CHANGED_ENGINE_EVENT, type: EngineEventDataType, isRange: Boolean, locator: SimpleLocatorData?, readerDocumentIndexInSpine: Int?, selectionText: String?)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

If the selection is a range or a position.

Link copied to clipboard

A locator describing the selection A value of null means that nothing is currently selected.

Link copied to clipboard

The type of engine event object this JSON structure represents.

Link copied to clipboard

The index of the reader document that was the target of the event if any.

Link copied to clipboard

The text contents of the selection range.

Link copied to clipboard

The type of event.