KeyEvent

class KeyEvent(val key: InputConstants.Key, val action: Int) : Event, WebSocketEvent

Constructors

Link copied to clipboard
constructor(key: InputConstants.Key, action: Int)

Properties

Link copied to clipboard
val action: Int
Link copied to clipboard
Link copied to clipboard
val key: InputConstants.Key
Link copied to clipboard

Indicates whether the event should be serialized asynchronously. If set to true, the event will be serialized in a separate thread.

Link copied to clipboard
open val serializer: Gson