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

OnTouchEvent Class Reference

Constructors

Instance Methods

Constructors

new OnTouchEvent(parameters)

Initalizes an instance of OnTouchEvent.

Instance Methods

onTouchEvent.getEvent() ⇒ Array.<TouchEvent>

Get the Event

Kind: Instance method of OnTouchEvent
Returns: Array.<TouchEvent> - the KEY_EVENT value

onTouchEvent.getType() ⇒ TouchType

Get the Type

Kind: Instance method of OnTouchEvent
Returns: TouchType - the KEY_TYPE value

onTouchEvent.setEvent(event) ⇒ OnTouchEvent

Set the Event

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

ParamTypeDescription
event Array.<TouchEvent> List of all individual touches involved in this event. - The desired Event.

onTouchEvent.setType(type) ⇒ OnTouchEvent

Set the Type

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

ParamTypeDescription
type TouchType The type of touch event. - The desired Type.
View on GitHub.com
Previous Section Next Section