Class Index

Classes


Class opensocial.Message

Base interface for all message objects.

See also: opensocial.newMessage(), opensocial.requestSendMessage()
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 message data that's associated with the specified key.
 
setField(key, data)
Sets data for this message associated with the given key.
Class Detail
opensocial.Message()
Method Detail
{String} getField(key, opt_params)
Gets the message data that's associated with the specified key.
Parameters:
{String} key
The key to get data for; see the Field class for possible values
{Map.<opensocial.DataRequest.DataRequestFields|Object>} opt_params
Additional params to pass to the request.
Returns:
{String} The data

setField(key, data)
Sets data for this message 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)