TouchList

point list. This interface defines a list of individual points of contact for a touch event.


Supported Platform(s)

- BlackBerry OS 6.0+
- BlackBerry PlayBook 1.0+
- BlackBerry 10
View Supported Platform Table
APIBB5.0BB6.0BB7.0PB1.0PB2.0BB10Ripple
[]   Y Y Y Y Y 
identifiedTouch   Y Y Y Y Y 
length   Y Y Y Y Y 

Configuration Document Settings

To use all of the API described for this object, you must ensure the following settings are in your configuration document:

This API does not require a <feature> element to be declared in the configuration document of your BlackBerry WebWorks Application.

Permission Elements (PlayBook and BlackBerry 10+)
This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application.


Properties

Number length

Functions

readonly Touch [index : Number]


returns the Touch with index index from the list, sorted in order from latest to earliest


Supported Platforms
 - BlackBerry OS 6.0+
 - BlackBerry PlayBook 1.0+
 - BlackBerry 10


Parameters
index the identifier of the touch event to fetch

Throws
IndexOutOfBoundsException When the index is invalid

Return:

the Touch with index index from the list, sorted in order from latest to earliest


Touch identifiedTouch (identifier : Number)


returns the first Touch with long identifier from the list


Supported Platforms
 - BlackBerry OS 6.0+
 - BlackBerry PlayBook 1.0+
 - BlackBerry 10


Parameters
identifier the identifier of the touch event to fetch

Return:

the first Touch with long identifier from the list


Properties

readonly Number length


returns the number of Touch objects in the list


Supported Platforms
 - BlackBerry OS 6.0+
 - BlackBerry PlayBook 1.0+
 - BlackBerry 10

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Dec 30 2012 18:15:45 GMT-0500 (EST)