Skip to main content

opensocial.Url

Method​

opensocial.Url.getField​

String getField(key, opt_params)

Acquires data for the Url linked to the specified key.

Parameter​
NameTypeDescription
keyStringKey for acquiring data. Refer to the Field class for possible values
opt_paramsMap.<opensocial.DataRequest.DataRequestFieldsObject>
Return value​
TypeDescription
StringData
Sample​
var address = url.getField(opensocial.Url.Field.ADDRESS);

opensocial.Url.Field​

opensocial.Url.Field.TYPE​

opensocial.Url.Field.ADDRESS​

Revision History​

  • 12/2010
    • Initial Release.