|
GData JavaScript Client 1.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--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 |
{string|undefined} $t
{string|undefined} end
{string|undefined} lang
{string|undefined} start
{string|undefined} type
<static> <final> {string} TYPE_HTML
<static> <final> {string} TYPE_PLAIN
Constructor Detail |
google.gdata.mediarss.MediaText(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: content, end, lang, start, and type.
Method Detail |
string|undefined getContent()
string|undefined getEnd()
string|undefined getLang()
string|undefined getStart()
string|undefined getType()
void setContent(<string|undefined> content)
content
- Text transcript, closed captioning, or lyrics or undefined for none.
void setEnd(<string|undefined> end)
end
- End time that the text is relevant or undefined for none.
void setLang(<string|undefined> lang)
lang
- Primary language in the object or undefined for none.
void setStart(<string|undefined> start)
start
- Start time offset when the text starts or undefined for none.
void setType(<string|undefined> type)
type
- Type of text embedded, either plain or html or undefined for none.
|
GData JavaScript Client 1.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |