Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
OnKeyboardInput

OnKeyboardInput Class Reference

Constructors

Instance Methods

Constructors

new OnKeyboardInput(parameters)

Initalizes an instance of OnKeyboardInput.

Instance Methods

onKeyboardInput.getData() ⇒ String

Get the Data

Kind: Instance method of OnKeyboardInput
Returns: String - the KEY_DATA value

onKeyboardInput.getEvent() ⇒ KeyboardEvent

Get the Event

Kind: Instance method of OnKeyboardInput
Returns: KeyboardEvent - the KEY_EVENT value

onKeyboardInput.setData(data) ⇒ OnKeyboardInput

Set the Data

Kind: Instance method of OnKeyboardInput
Returns: OnKeyboardInput - The class instance for method chaining.

ParamTypeDescription
data String On-screen keyboard input data. For dynamic keypress events, this will be the current - The desired Data. compounded string of entry text. For entry submission events, this will be the full text entry (this will always return regardless of the mode). For entry cancelled and entry aborted events, this data param will be omitted.

onKeyboardInput.setEvent(event) ⇒ OnKeyboardInput

Set the Event

Kind: Instance method of OnKeyboardInput
Returns: OnKeyboardInput - The class instance for method chaining.

ParamTypeDescription
event KeyboardEvent On-screen keyboard input data. - The desired Event.
View on GitHub.com
Previous Section Next Section