The namespace APIFunction defines functions that populate HTML
elements in a template with data when the template is rendered.
The functions must be invoked from the value of the element attribute fill,
for example: fill="getFullAddress()".
country
(jsonObject)
: String
|
This function retrieves the country name from the place address from the JSON object supplied by the caller. |
fullAddress
(jsonObject)
: String
|
This function retrieves the complete formatted address of a place from the JSON object supplied by the caller. |
isPlace
(jsonObject)
: Boolean
|
This function checks if an object supplied by the caller is a place. |
locality
(jsonObject)
: String
|
This function retrieves the part of the place address including zip/post code, city, state and country, if available, from the JSON object supplied by the caller. |
primaryDescriptions
(jsonObject)
: Object
|
This function returns an array of up to five descriptions with the most content available from the JSON object supplied by the caller. |
primaryEmail
(jsonObject)
: String
|
This function retreives the primary email number for a place from the JSON object supplied by the caller. |
primaryFax
(jsonObject)
: String
|
This function retrieves the primary fax number of a place, if available, from the JSON object supplied by the caller. |
primaryMobile
(jsonObject)
: String
|
This function returns the primary mobile phone number for a place from the JSON object supplied by the caller. |
primaryPhone
(jsonObject)
: String
|
This function retrieves the primary phone number for a place, if available in the JSON object supplied by the caller. |
primaryURL
(jsonObject)
: String
|
This function retrieves the primary Web site URL for a place, if available in the JSON object supplied by the caller. |
primaryURLLabel
(jsonObject)
|
This function retrieves the primary Web site label associated with a place from the JSON object supplied by the caller. |
reviewDate
(jsonObject)
|
This function retrieves a date formatted appropriately for the locale from the JSON object supplied by the caller. |
street
(jsonObject)
: String
|
This function retrieves the street address of a place (partial place address, without city, state and country) from the JSON object supplied by the caller. |
country
(jsonObject)
: String
jsonObject
fullAddress
(jsonObject)
: String
jsonObject
isPlace
(jsonObject)
: Boolean
jsonObject
true if the supplied object is a valid instance of
{nokia.places.objects.Place}, otherwise false
locality
(jsonObject)
: String
jsonObject
primaryDescriptions
(jsonObject)
: Object
jsonObject
nokia.places.objects.Place.editorials)
primaryEmail
(jsonObject)
: String
jsonObject
primaryFax
(jsonObject)
: String
jsonObject
primaryMobile
(jsonObject)
: String
jsonObject
primaryPhone
(jsonObject)
: String
jsonObject
primaryURL
(jsonObject)
: String
jsonObject
primaryURLLabel
(jsonObject)
jsonObject
reviewDate
(jsonObject)
jsonObject
street
(jsonObject)
: String
jsonObject
Copyright © 2011 Nokia. All rights reserved. Terms and Conditions