TextTrackCueList
A TextTrackCueList object represents a dynamically updating list of TextTrackCues in a given order.
Supported Platform(s)
- BlackBerry OS 6.0+ |
- BlackBerry PlayBook 1.0+ |
- BlackBerry 10 |
- Ripple Emulator |
API | BB5.0 | BB6.0 | BB7.0 | PB1.0 | PB2.0 | BB10 | Ripple |
---|---|---|---|---|---|---|---|
[] | Y | Y | Y | Y | Y | Y | |
getCueById | Y | Y | Y | Y | Y | Y | |
length | Y | 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. |
Functions
readonly
TextTrackCue
[Index : Number]
Returns the TextTrackCue with index index from the list.
Supported Platforms | |
---|---|
- BlackBerry OS 6.0+ | |
- BlackBerry PlayBook 1.0+ | |
- BlackBerry 10 | |
- Ripple Emulator |
Parameters | |
---|---|
Index | the identifier of the text track cue to fetch. |
Throws | |
---|---|
IndexOutOfBoundsException | When the index is invalid. |
Return:
The TextTrackCue with index index from the list.
TextTrackCue
getCueById
(id : String)
Returns the number of cues in the list.
Supported Platforms | |
---|---|
- BlackBerry OS 6.0+ | |
- BlackBerry PlayBook 1.0+ | |
- BlackBerry 10 | |
- Ripple Emulator |
Parameters | |
---|---|
id | Returns the first text track cue (in text track cue order) with text track cue identifier id. Returns null if none of the cues have the given identifier or if the argument is the empty string. |
Return:
The TexTrackCue that matches the supplied id
Properties
Documentation generated by JsDoc Toolkit 2.4.0 on Sun Dec 30 2012 18:15:45 GMT-0500 (EST)