English | Site Directory

opensocial.DataResponse (v0.7)

 SUMMARY     DETAIL

Class opensocial.DataResponse

This object contains the requested server data mapped to the requested keys.

See also: DataRequest

Method Summary

 opensocial.ResponseItem get(key)
Gets the ResponseItem for the requested field.
 Boolean hadError()
Returns true if there was an error in fetching this data from the server.
 

Method Detail

get

opensocial.ResponseItem get(key)
    Gets the ResponseItem for the requested field.
    Parameters:
      key
    Returns:
      opensocial.ResponseItem The requested response calculated by the server

hadError

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

Documentation generated by JsDoc Toolkit 1.3.3