Difference between revisions of "Geolocation.setAccuracy"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2012.8<br/>
 
'''Available since:''' Gideros 2012.8<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Sets the desired accuracy (in meters) of the location data. The receiver does its best to achieve the requested <br />
 
Sets the desired accuracy (in meters) of the location data. The receiver does its best to achieve the requested <br />
 
accuracy. However the actual accuracy is not guaranteed. The default value is 0 (best accuracy).<br />
 
accuracy. However the actual accuracy is not guaranteed. The default value is 0 (best accuracy).<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Geolocation.setAccuracy(accuracy)
 
  Geolocation.setAccuracy(accuracy)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''accuracy''': (number) the desired accuracy <br/>
+
'''accuracy''': (number) <translate>the desired accuracy</translate> <br/>

Revision as of 14:34, 23 August 2018

Available since: Gideros 2012.8

Description


Sets the desired accuracy (in meters) of the location data. The receiver does its best to achieve the requested
accuracy. However the actual accuracy is not guaranteed. The default value is 0 (best accuracy).

 Geolocation.setAccuracy(accuracy)

Parameters

accuracy: (number) the desired accuracy