Skip to main content

opensocial.Address


Method​

opensocial.Address.getField​

String getField(key, opt_parmas)

Acquires data for the Activity linked to the specified key.

Parameter​
NameTypeDescription
keyStringKey for acquiring data. Refer to the Field class for possible values.
opt_paramsMap.Additional parameters passed on to requests
Return value​
TypeDescription
StringData
Sample​
var country = address.getField(opensocial.Address.Field.COUNTRY);

opensocial.Address.Field​

opensocial.Address.Field.TYPE​

Locked to home.

opensocial.Address.Field.UNSTRUCTURED_ADDRESS​

Not supported.

opensocial.Address.Field.PO_BOX​

Not supported.

opensocial.Address.Field.STREET_ADDRESS​

Not supported.

opensocial.Address.Field.EXTENDED_ADDRESS​

Not supported.

opensocial.Address.Field.REGION​

Prefecture

opensocial.Address.Field.LOCALITY​

Not supported.

opensocial.Address.Field.POSTAL_CODE​

Not supported.

opensocial.Address.Field.COUNTRY​

Country

opensocial.Address.Field.LATITUDE​

Not supported.

opensocial.Address.Field.LONGITUDE​

Not supported.

Revision History​

  • 12/2010
    • Initial Release.