Selection Changed Engine Event Data
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
constructor(objectType: EngineEventDataObjectType = EngineEventDataObjectType.SELECTION_CHANGED_ENGINE_EVENT, type: EngineEventDataType, isRange: Boolean, locator: SimpleLocatorData?, readerDocumentIndexInSpine: Int?, selectionText: String?)
Properties
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.