TextTrackCue

Supported Platform(s)

- BlackBerry OS 6.0+
- BlackBerry PlayBook

View Supported Platform Table

APIOS 5.0OS 6.0OS 7.0PlayBookRipple
getCueAsHTML   Y Y Y 
getCueAsSource   Y Y Y 
endTime   Y Y Y 
id   Y Y Y 
pauseOnExit   Y Y Y 
startTime   Y Y Y 
track   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



getCueAsHTML


void getCueAsHTML()

Supported Platform(s)

 - BlackBerry OS 6.0+
 - BlackBerry PlayBook

Description

Returns the text track cue text as a {DocumentFragment} of HTML elements and other DOM nodes.



Returns

String

getCueAsSource


void getCueAsSource()

Supported Platform(s)

 - BlackBerry OS 6.0+
 - BlackBerry PlayBook

Description

Returns the text track cue text in raw unparsed form.



Returns

String

Properties:


Property Type Description Supported Platform(s)
endTime
readonly
Returns the text track cue end time, in seconds.
 - BlackBerry OS 6.0+
 - BlackBerry PlayBook
id Number
readonly
Returns the text track cue identifier.
 - BlackBerry OS 6.0+
 - BlackBerry PlayBook
pauseOnExit Boolean
readonly
Returns true if the text track cue pause-on-exit flag is set, false otherwise.
 - BlackBerry OS 6.0+
 - BlackBerry PlayBook
startTime Number
readonly
Returns the text track cue start time, in seconds.
 - BlackBerry OS 6.0+
 - BlackBerry PlayBook
track TextTrack
readonly
Returns the TextTrack object to which this text track cue belongs, if any, or null otherwise.
 - 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)