Class Index

Classes


Class opensocial.MediaItem

Represents images, movies, and audio. Create a MediaItem object using the opensocial.newMediaItem() method.
Defined in: opensocial.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
getField(key, opt_params)
Gets the media item data that's associated with the specified key.
 
setField(key, data)
Sets data for this media item associated with the given key.
Class Detail
opensocial.MediaItem()
Method Detail
{String} getField(key, opt_params)
Gets the media item data that's associated with the specified key.
Parameters:
{String} key
The key to get data for; see the Field class for possible values
opt_params
Returns:
{String} The data

setField(key, data)
Sets data for this media item associated with the given key.
Parameters:
{String} key
The key to set data for
{String} data
The data to set

Documentation generated by JsDoc Toolkit 2.0.2 on Wed Nov 12 2008 12:32:44 GMT-0800 (PST)