GData JavaScript Client 2.0

Class google.gdata.mediarss.MediaText

Object
   |
   +--google.gdata.mediarss.MediaText

class google.gdata.mediarss.MediaText


Describes a media text.
Defined in gdata.js


Field Summary
 {string|undefined} $t
          Text transcript, closed captioning, or lyrics.
 {string|undefined} end
          End time that the text is relevant.
 {string|undefined} lang
          Primary language in the object.
 {string|undefined} start
          Start time offset when the text starts.
 {string|undefined} type
          Type of text embedded, either plain or html.
<static>  <final> {string} TYPE_HTML
          Entity encoded html.
<static>  <final> {string} TYPE_PLAIN
          Plain text.
 
Constructor Summary
google.gdata.mediarss.MediaText(<Object> opt_params)
            Constructs a media text using an object parameter whose property names match the setter method to use for each property.
 
Method Summary
 string|undefined getContent()
           Returns the text transcript, closed captioning, or lyrics.
 string|undefined getEnd()
           Returns the end time that the text is relevant.
 string|undefined getLang()
           Returns the primary language in the object.
 string|undefined getStart()
           Returns the start time offset when the text starts.
 string|undefined getType()
           Returns the type of text embedded, either plain or html.
 void setContent(<string|undefined> content)
           Sets the text transcript, closed captioning, or lyrics.
 void setEnd(<string|undefined> end)
           Sets the end time that the text is relevant.
 void setLang(<string|undefined> lang)
           Sets the primary language in the object.
 void setStart(<string|undefined> start)
           Sets the start time offset when the text starts.
 void setType(<string|undefined> type)
           Sets the type of text embedded, either plain or html.

Field Detail

$t

{string|undefined} $t

end

{string|undefined} end

lang

{string|undefined} lang

start

{string|undefined} start

type

{string|undefined} type

TYPE_HTML

<static> <final> {string} TYPE_HTML

TYPE_PLAIN

<static> <final> {string} TYPE_PLAIN

Constructor Detail

google.gdata.mediarss.MediaText

google.gdata.mediarss.MediaText(<Object> opt_params)

Method Detail

getContent

string|undefined getContent()

getEnd

string|undefined getEnd()

getLang

string|undefined getLang()

getStart

string|undefined getStart()

getType

string|undefined getType()

setContent

void setContent(<string|undefined> content)

setEnd

void setEnd(<string|undefined> end)

setLang

void setLang(<string|undefined> lang)

setStart

void setStart(<string|undefined> start)

setType

void setType(<string|undefined> type)

GData JavaScript Client 2.0

Documentation generated by JSDoc on Tue Sep 22 18:28:55 2009