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

View Supported Platform Table

APIOS 5.0OS 6.0OS 7.0PlayBookRipple
[]   Y Y Y 
identifiedTouch   Y Y Y 
length   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 Only)
This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application.

API Summary


Functions


Properties

[]


Touch [index : Number]

Supported Platform(s)

 - BlackBerry OS 6.0+
 - BlackBerry PlayBook

Description

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



Returns

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

Parameter Type Description
index Number the identifier of the touch event to fetch

Throws Description
IndexOutOfBoundsException When the index is invalid

identifiedTouch


Touch identifiedTouch(identifier : Number)

Supported Platform(s)

 - BlackBerry OS 6.0+
 - BlackBerry PlayBook

Description

returns the first Touch with long identifier from the list



Returns

the first Touch with long identifier from the list

Parameter Type Description
identifier Number the identifier of the touch event to fetch

Properties:


Property Type Description Supported Platform(s)
length Number
readonly
returns the number of Touch objects in the list
 - BlackBerry OS 6.0+
 - BlackBerry PlayBook

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Dec 30 2012 13:31:20 GMT-0500 (EST)