diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-4541E532-CC1A-4115-8467-7FA1C4378307.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-4541E532-CC1A-4115-8467-7FA1C4378307.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,182 @@ + + +
The criteria
object specifies what type
+of device location information is returned and how.
The Location Service supports two types of location information:
+Basic
+ +Basic location information includes longitude, latitude, and altitude +estimates.
+ +Generic
+ +Generic location information includes all +possible location data.
+ +The criteria
object has two main properties: LocationInformationClass
and Updateoptions
. These are described in the following table. Properties enclosed in brackets
+are optional.
+ Property + |
+ Description + |
+ Type + |
+ Value + |
---|---|---|---|
+
|
+
+ Specifies the type of location information to retrieve. It has two possible +values: +
Note: There is no guarantee that all the requested information is returned, +whether basic or generic. The availability of specific information depends +on the positioning system used and on other factors such as the number of +satellites that are available when a location fix is obtained. +For information on how to ensure that you get at least certain information,
+see the |
+
+ string + |
+
+ Possible values: +
|
+
+
|
+
+ Specifies the update options used while retrieving the location information. +If you do not define a particular option, then its default value is +used. +Note: The option values must conform to the following order of magnitude: +
If this order is not maintained, the method returns the |
+
+ object + |
+
+ Object with the properties specified below + |
+
+
|
+
+ Specifies the time interval (in microseconds) between two consecutive +location estimates. +This is only used with The default value is |
+
+ number + |
+
+
|
+
+
|
+
+ If the location server does not provide location estimates within the
+time specified in The default value is |
+
+ number + |
+
+
|
+
+
|
+
+ Specifies the expiry time for the location information cache (in microseconds).
+When a location request is made, the location information is returned from
+the cache (managed by the location server) as long as the cache is not older
+than The default value is |
+
+ number + |
+
+
|
+
+
|
+
+ Specifies whether longitude, latitude, and altitude information is always +guaranteed. +Setting Note: Altitude information is returned only if the positioning system supports +it. You can change the positioning system used by an S60 device from the Settings +> General > Positioning > Positioning methods menu. +If you set this property to The default value is |
+
+ boolean + |
+
+ Possible values: +
|
+