API reference
API reference
Select your platform
No SDKs available
No versions available

SimpleInputForwardHandler Class

Modifiers: final
An implementation of the InputForwardingHandler interface that passes input events down into CastInputForwardSystem.

Signature

class SimpleInputForwardHandler(val inputForwardSystem: CastInputForwardSystem)

Constructors

SimpleInputForwardHandler ( inputForwardSystem )
Signature
constructor(inputForwardSystem: CastInputForwardSystem)
Parameters
inputForwardSystem: CastInputForwardSystem
  The CastInputForwardSystem that will receive the input events.

Properties

inputForwardSystem : CastInputForwardSystem
[Get]
The CastInputForwardSystem that will receive the input events.
Signature
val inputForwardSystem: CastInputForwardSystem
keyboardState : MutableMap
[Get]
Signature
val keyboardState: MutableMap

Functions

onClearPressedKeys ()
Signature
open fun onClearPressedKeys()
onKeyDown ( keyEvent )
Signature
open fun onKeyDown(keyEvent: KeyEvent)
Parameters
keyEvent: KeyEvent
onKeyUp ( keyEvent )
Signature
open fun onKeyUp(keyEvent: KeyEvent)
Parameters
keyEvent: KeyEvent
onStartInputForwarding ()
Signature
open fun onStartInputForwarding()
onStopInputForwarding ()
Signature
open fun onStopInputForwarding()
Did you find this page helpful?