opensocial.Phone
Method
opensocial.Phone.getField
String getField(key, opt_params)
Acquires data for the Phone linked to the specified key.
Parameter
| Name | Type | Description |
|---|---|---|
| key | String | Key for acquiring data. Refer to the Field class for possible values |
| opt_params | Map.<opensocial.DataRequest.DataRequestFields | Object> |
Return value
| Type | Description |
|---|---|
| String | Data |
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.