yodaRT.activity.Activity. KeyboardClient

stability: experimental

Extends

Methods

preventDefaults(keyCode) → {Promise.<void>}

Intercepts all events for key code until restores default behavior by KeyboardClient.restoreDefaults

stability: experimental

Parameters:
Name Type Description
keyCode number
Returns:
Type:
Promise<void>

restoreDefaults(keyCode) → {Promise.<void>}

Restore default behavior of key code.

stability: experimental

Parameters:
Name Type Description
keyCode number
Returns:
Type:
Promise<void>

Events

click

stability: experimental

Parameters:
Name Type Description
event object
Name Type Description
keyCode number

dbclick

stability: experimental

Parameters:
Name Type Description
event object
Name Type Description
keyCode number

longpress

stability: experimental

Parameters:
Name Type Description
event object
Name Type Description
keyCode number