Skip to main content

opensocial.Phone

Method​

opensocial.Phone.getField​

String getField(key, opt_params)

Acquires data for the Phone 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 number = phone.getField(opensocial.Phone.Field.NUMBER);

opensocial.Phone.Field​

opensocial.Phone.Field.TYPE​

opensocial.Phone.Field.NUMBER​

Revision History​

  • 12/2010
    • Initial Release.