GData JavaScript Client 2.1

Class google.gdata.mediarss.MediaContent

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

class google.gdata.mediarss.MediaContent


Describes a media content.
Defined in gdata.js


Field Summary
 Object $categoriesClass_
          
 Object $copyrightClass_
          
 Object $creditsClass_
          
 Object $descriptionClass_
          
 Object $hashClass_
          
 Object $keywordsClass_
          
 Object $playerClass_
          
 Object $ratingsClass_
          
 Object $restrictionsClass_
          
 Object $textsClass_
          
 Object $thumbnailsClass_
          
 Object $titleClass_
          
 {string|undefined} bitrate
          Kilobits per second of media.
 {string|undefined} channels
          Number of audio channels.
 {string|undefined} duration
          Number of seconds of media.
 {string|undefined} expression
          Specifies if object is a sample or full version.
 {string|undefined} fileSize
          Size of media file in bytes.
 {string|undefined} framerate
          Number of frames per second of media.
 {string|undefined} height
          Height of the media object.
 {string|undefined} isDefault
          Is this default object for the group.
 {string|undefined} language
          Primary language encapsulated in the media.
 {string|undefined} medium
          Simple type of object.
 {string|undefined} samplingrate
          Nubmer of samples per second of media.
 {string|undefined} type
          Standard mime type.
 {string|undefined} url
          Direct url to the media object.
 {string|undefined} width
          Width of the media object.
<static>  <final> {string} EXPRESSION_FULL
          The media object is the full version.
<static>  <final> {string} EXPRESSION_NONSTOP
          The media object is a continuous stream.
<static>  <final> {string} EXPRESSION_SAMPLE
          The media object is a sample.
 
Constructor Summary
google.gdata.mediarss.MediaContent(<Object> opt_params)
            Constructs a media content using an object parameter whose property names match the setter method to use for each property.
 
Method Summary
 void addCategory(<google.gdata.mediarss.MediaCategory|Object> category)
           Adds a new media category.
 void addCredit(<google.gdata.mediarss.MediaCredit|Object> credit)
           Adds a new media credit.
 void addRating(<google.gdata.mediarss.MediaRating|Object> rating)
           Adds a new media rating.
 void addRestriction(<google.gdata.mediarss.MediaRestriction|Object> restriction)
           Adds a new media restriction.
 void addText(<google.gdata.mediarss.MediaText|Object> text)
           Adds a new media text.
 void addThumbnail(<google.gdata.mediarss.MediaThumbnail|Object> thumbnail)
           Adds a new media thumbnail.
 number|undefined getBitrate()
           Returns the kilobits per second of media.
 Array.<google.gdata.mediarss.MediaCategory> getCategories()
           Returns the media categories.
 number|undefined getChannels()
           Returns the number of audio channels.
 google.gdata.mediarss.MediaCopyright|undefined getCopyright()
           Returns the media copyright.
 Array.<google.gdata.mediarss.MediaCredit> getCredits()
           Returns the media credits.
 google.gdata.mediarss.MediaDescription|undefined getDescription()
           Returns the media description.
 number|undefined getDuration()
           Returns the number of seconds of media.
 string|undefined getExpression()
           Returns the specifies if object is a sample or full version.
 number|undefined getFileSize()
           Returns the size of media file in bytes.
 number|undefined getFramerate()
           Returns the number of frames per second of media.
 google.gdata.mediarss.MediaHash|undefined getHash()
           Returns the media hash.
 number|undefined getHeight()
           Returns the height of the media object.
 boolean|undefined getIsDefault()
           Returns is this default object for the group.
 google.gdata.mediarss.MediaKeywords|undefined getKeywords()
           Returns the media keywords.
 string|undefined getLanguage()
           Returns the primary language encapsulated in the media.
 string|undefined getMedium()
           Returns the simple type of object.
 google.gdata.mediarss.MediaPlayer|undefined getPlayer()
           Returns the media player.
 Array.<google.gdata.mediarss.MediaRating> getRatings()
           Returns the media ratings.
 Array.<google.gdata.mediarss.MediaRestriction> getRestrictions()
           Returns the media restrictions.
 number|undefined getSamplingrate()
           Returns the nubmer of samples per second of media.
 Array.<google.gdata.mediarss.MediaText> getTexts()
           Returns the media texts.
 Array.<google.gdata.mediarss.MediaThumbnail> getThumbnails()
           Returns the media thumbnails.
 google.gdata.mediarss.MediaTitle|undefined getTitle()
           Returns the media title.
 string|undefined getType()
           Returns the standard mime type.
 string|undefined getUrl()
           Returns the direct url to the media object.
 number|undefined getWidth()
           Returns the width of the media object.
 void setBitrate(<number|undefined> bitrate)
           Sets the kilobits per second of media.
 void setCategories(<Array.<google.gdata.mediarss.MediaCategory>|Array.<Object>|undefined> categories)
           Sets the media categories.
 void setChannels(<number|undefined> channels)
           Sets the number of audio channels.
 void setCopyright(<google.gdata.mediarss.MediaCopyright|Object|undefined> copyright)
           Sets the media copyright.
 void setCredits(<Array.<google.gdata.mediarss.MediaCredit>|Array.<Object>|undefined> credits)
           Sets the media credits.
 void setDescription(<google.gdata.mediarss.MediaDescription|Object|undefined> description)
           Sets the media description.
 void setDuration(<number|undefined> duration)
           Sets the number of seconds of media.
 void setExpression(<string|undefined> expression)
           Sets the specifies if object is a sample or full version.
 void setFileSize(<number|undefined> fileSize)
           Sets the size of media file in bytes.
 void setFramerate(<number|undefined> framerate)
           Sets the number of frames per second of media.
 void setHash(<google.gdata.mediarss.MediaHash|Object|undefined> hash)
           Sets the media hash.
 void setHeight(<number|undefined> height)
           Sets the height of the media object.
 void setIsDefault(<boolean|undefined> isDefault)
           Sets is this default object for the group.
 void setKeywords(<google.gdata.mediarss.MediaKeywords|Object|undefined> keywords)
           Sets the media keywords.
 void setLanguage(<string|undefined> language)
           Sets the primary language encapsulated in the media.
 void setMedium(<string|undefined> medium)
           Sets the simple type of object.
 void setPlayer(<google.gdata.mediarss.MediaPlayer|Object|undefined> player)
           Sets the media player.
 void setRatings(<Array.<google.gdata.mediarss.MediaRating>|Array.<Object>|undefined> ratings)
           Sets the media ratings.
 void setRestrictions(<Array.<google.gdata.mediarss.MediaRestriction>|Array.<Object>|undefined> restrictions)
           Sets the media restrictions.
 void setSamplingrate(<number|undefined> samplingrate)
           Sets the nubmer of samples per second of media.
 void setTexts(<Array.<google.gdata.mediarss.MediaText>|Array.<Object>|undefined> texts)
           Sets the media texts.
 void setThumbnails(<Array.<google.gdata.mediarss.MediaThumbnail>|Array.<Object>|undefined> thumbnails)
           Sets the media thumbnails.
 void setTitle(<google.gdata.mediarss.MediaTitle|Object|undefined> title)
           Sets the media title.
 void setType(<string|undefined> type)
           Sets the standard mime type.
 void setUrl(<string|undefined> url)
           Sets the direct url to the media object.
 void setWidth(<number|undefined> width)
           Sets the width of the media object.

Field Detail

$categoriesClass_

Object $categoriesClass_

$copyrightClass_

Object $copyrightClass_

$creditsClass_

Object $creditsClass_

$descriptionClass_

Object $descriptionClass_

$hashClass_

Object $hashClass_

$keywordsClass_

Object $keywordsClass_

$playerClass_

Object $playerClass_

$ratingsClass_

Object $ratingsClass_

$restrictionsClass_

Object $restrictionsClass_

$textsClass_

Object $textsClass_

$thumbnailsClass_

Object $thumbnailsClass_

$titleClass_

Object $titleClass_

bitrate

{string|undefined} bitrate

channels

{string|undefined} channels

duration

{string|undefined} duration

expression

{string|undefined} expression

fileSize

{string|undefined} fileSize

framerate

{string|undefined} framerate

height

{string|undefined} height

isDefault

{string|undefined} isDefault

language

{string|undefined} language

medium

{string|undefined} medium

samplingrate

{string|undefined} samplingrate

type

{string|undefined} type

url

{string|undefined} url

width

{string|undefined} width

EXPRESSION_FULL

<static> <final> {string} EXPRESSION_FULL

EXPRESSION_NONSTOP

<static> <final> {string} EXPRESSION_NONSTOP

EXPRESSION_SAMPLE

<static> <final> {string} EXPRESSION_SAMPLE

Constructor Detail

google.gdata.mediarss.MediaContent

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

Method Detail

addCategory

void addCategory(<google.gdata.mediarss.MediaCategory|Object> category)

addCredit

void addCredit(<google.gdata.mediarss.MediaCredit|Object> credit)

addRating

void addRating(<google.gdata.mediarss.MediaRating|Object> rating)

addRestriction

void addRestriction(<google.gdata.mediarss.MediaRestriction|Object> restriction)

addText

void addText(<google.gdata.mediarss.MediaText|Object> text)

addThumbnail

void addThumbnail(<google.gdata.mediarss.MediaThumbnail|Object> thumbnail)

getBitrate

number|undefined getBitrate()

getCategories

Array.<google.gdata.mediarss.MediaCategory> getCategories()

getChannels

number|undefined getChannels()

getCopyright

google.gdata.mediarss.MediaCopyright|undefined getCopyright()

getCredits

Array.<google.gdata.mediarss.MediaCredit> getCredits()

getDescription

google.gdata.mediarss.MediaDescription|undefined getDescription()

getDuration

number|undefined getDuration()

getExpression

string|undefined getExpression()

getFileSize

number|undefined getFileSize()

getFramerate

number|undefined getFramerate()

getHash

google.gdata.mediarss.MediaHash|undefined getHash()

getHeight

number|undefined getHeight()

getIsDefault

boolean|undefined getIsDefault()

getKeywords

google.gdata.mediarss.MediaKeywords|undefined getKeywords()

getLanguage

string|undefined getLanguage()

getMedium

string|undefined getMedium()

getPlayer

google.gdata.mediarss.MediaPlayer|undefined getPlayer()

getRatings

Array.<google.gdata.mediarss.MediaRating> getRatings()

getRestrictions

Array.<google.gdata.mediarss.MediaRestriction> getRestrictions()

getSamplingrate

number|undefined getSamplingrate()

getTexts

Array.<google.gdata.mediarss.MediaText> getTexts()

getThumbnails

Array.<google.gdata.mediarss.MediaThumbnail> getThumbnails()

getTitle

google.gdata.mediarss.MediaTitle|undefined getTitle()

getType

string|undefined getType()

getUrl

string|undefined getUrl()

getWidth

number|undefined getWidth()

setBitrate

void setBitrate(<number|undefined> bitrate)

setCategories

void setCategories(<Array.<google.gdata.mediarss.MediaCategory>|Array.<Object>|undefined> categories)

setChannels

void setChannels(<number|undefined> channels)

setCopyright

void setCopyright(<google.gdata.mediarss.MediaCopyright|Object|undefined> copyright)

setCredits

void setCredits(<Array.<google.gdata.mediarss.MediaCredit>|Array.<Object>|undefined> credits)

setDescription

void setDescription(<google.gdata.mediarss.MediaDescription|Object|undefined> description)

setDuration

void setDuration(<number|undefined> duration)

setExpression

void setExpression(<string|undefined> expression)

setFileSize

void setFileSize(<number|undefined> fileSize)

setFramerate

void setFramerate(<number|undefined> framerate)

setHash

void setHash(<google.gdata.mediarss.MediaHash|Object|undefined> hash)

setHeight

void setHeight(<number|undefined> height)

setIsDefault

void setIsDefault(<boolean|undefined> isDefault)

setKeywords

void setKeywords(<google.gdata.mediarss.MediaKeywords|Object|undefined> keywords)

setLanguage

void setLanguage(<string|undefined> language)

setMedium

void setMedium(<string|undefined> medium)

setPlayer

void setPlayer(<google.gdata.mediarss.MediaPlayer|Object|undefined> player)

setRatings

void setRatings(<Array.<google.gdata.mediarss.MediaRating>|Array.<Object>|undefined> ratings)

setRestrictions

void setRestrictions(<Array.<google.gdata.mediarss.MediaRestriction>|Array.<Object>|undefined> restrictions)

setSamplingrate

void setSamplingrate(<number|undefined> samplingrate)

setTexts

void setTexts(<Array.<google.gdata.mediarss.MediaText>|Array.<Object>|undefined> texts)

setThumbnails

void setThumbnails(<Array.<google.gdata.mediarss.MediaThumbnail>|Array.<Object>|undefined> thumbnails)

setTitle

void setTitle(<google.gdata.mediarss.MediaTitle|Object|undefined> title)

setType

void setType(<string|undefined> type)

setUrl

void setUrl(<string|undefined> url)

setWidth

void setWidth(<number|undefined> width)

GData JavaScript Client 2.1

Documentation generated by JSDoc on Mon Nov 9 14:24:07 2009