Opensocial.DataResponse (v0.9)

From VZ Developer Wiki
Revision as of 12:14, 29 July 2010 by Seba (talk | contribs) (Created page with '{{NeedsExamples}} <div style="float:right; margin: 0 0 10px 10px;">__TOC__</div> <span style="font-size:150%"><strong>opensocial.DataResponse</strong></span> This object contai…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This documentation is not completed yet and will be extended by more examples in future.

opensocial.DataResponse

This object contains the requested server data mapped to the requested keys. See also: DataRequest

Methods

opensocial.DataResponse.get

opensocial.ResponseItem get(key)
Parameters
<c/> <c/>
Name Type Description
key
Returns
Type Description
opensocial.ResponseItem The requested response calculated by the server
Description
Gets the ResponseItem for the requested field.

opensocial.DataResponse.getErrorMessage

String getErrorMessage()
Returns
Type Description
String A human-readable description of the error that occurred.
Description
If the entire request had a batch level error, returns the error message.

opensocial.DataResponse.hadError

Boolean hadError()
Returns
Type Description
Boolean True if there was an error; otherwise, false
Description
Returns true if there was an error in fetching this data from the server.



OpenSocial (v0.9)

gadgets

gadgets.io

gadgets.json

gadgets.Prefs

gadgets.util

gadgets.views

gadgets.flash

gadgets.MiniMessage

gadgets.oauth.Popup

gadgets.rpc

gadgets.skins

gadgets.pubsub

gadgets.Tab

gadgets.TabSet

gadgets.window

gadgets.i18n

opensocial

opensocial.Activity

opensocial.Address

opensocial.Album

opensocial.BodyType

opensocial.Collection

opensocial.CreateActivityPriority

opensocial.DataRequest

opensocial.DataResponse

opensocial.Email

opensocial.Enum

opensocial.Environment

opensocial.EscapeType

opensocial.IdSpec

opensocial.MediaItem

opensocial.Message

opensocial.MessageCollection

opensocial.Name

opensocial.NavigationParameters

opensocial.Organization

opensocial.Permission

opensocial.Person

opensocial.Phone

opensocial.ResponseItem

opensocial.Url

osapi.Request

osapi.BatchRequest

osapi.people

osapi.activities

osapi.appdata

osapi.messages

osapi.http