opensocial.Address


Method

opensocial.Address.getField

Acquires data for the Activity 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.

Additional parameters passed on to requests

Return value

Type

Description

String

Data

Sample

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.
PREVIOUS

opensocial.Activity

NEXT

opensocial.BodyType