Keyboard Engine Event Data
class KeyboardEngineEventData(val objectType: EngineEventDataObjectType = EngineEventDataObjectType.KEYBOARD_ENGINE_EVENT, val type: EngineEventDataType, val code: String, val isComposing: Boolean, val key: String, val keyCode: Int, val location: Int, val modifiers: KeyboardModifierStates, val readerDocumentEventState: ReaderDocumentEventState, val repeated: Boolean, val target: EngineEventTargetData?, val userGenerated: Boolean) : ReaderViewEngineEventData
The serializable version of IKeyboardEngineEvent, used for "keydown" and "keyup" events.
Constructors
Link copied to clipboard
constructor(objectType: EngineEventDataObjectType = EngineEventDataObjectType.KEYBOARD_ENGINE_EVENT, type: EngineEventDataType, code: String, isComposing: Boolean, key: String, keyCode: Int, location: Int, modifiers: KeyboardModifierStates, readerDocumentEventState: ReaderDocumentEventState, repeated: Boolean, target: EngineEventTargetData?, userGenerated: Boolean)
Properties
Link copied to clipboard
Indicates if the event was fired within a composition session, i.e. between "compositionstart" and "compositionend"
Link copied to clipboard
Link copied to clipboard
Contains the state of keyboard modifier keys.
Link copied to clipboard
The type of engine event object this JSON structure represents.
Link copied to clipboard
Describes how the reader document acted on the event.
Link copied to clipboard
Contains additional information about the original event target, such as the targeted node in the reader document.
Link copied to clipboard
The type of event.
Link copied to clipboard
If the event was emitted due to a user generated event.