ui.media.MediaModel.SubTitle Extends
A reference to the subtitle URI for a media object. Implements the 'media.subTitle' in the rss spec.

Inheritance

Constructor

goog.ui.media.MediaModel.SubTitle(hreflangtype)

Parameters

href : string
The subtitle's URI. to fetch the subtitle file.
lang : string
An RFC 3066 language.
type : string
The MIME type of the URI.

Instance Methods

Public Protected Private
getHref() string
Get the href for the subtitle object.
Returns: string  href The subtitle's URI.
code »
getLang() string
Get the lang for the subtitle object.
Returns: string  lang The RFC 3066 language.
code »
getType() string
Get the type for the subtitle object.
Returns: string  type The MIME type.
code »
Sets the href for the subtitle object.
Arguments:
href : string
The subtitle's URI.
Returns: !goog.ui.media.MediaModel.SubTitle  The object itself.
code »
Sets the language for the subtitle object.
Arguments:
lang : string
The RFC 3066 language.
Returns: !goog.ui.media.MediaModel.SubTitle  The object itself.
code »
Sets the type for the subtitle object.
Arguments:
type : string
The MIME type.
Returns: !goog.ui.media.MediaModel.SubTitle  The object itself.
code »

Instance Properties

href_ :
The subtitle href.
Code »
lang_ :
The RFC 3066 language.
Code »
type_ :
The MIME type of the resource.
Code »

Package ui.media.MediaModel

Package Reference