Difference between revisions of "Geolocation.setAccuracy"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
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 /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  Geolocation.setAccuracy(accuracy)
 
  Geolocation.setAccuracy(accuracy)
</source>
+
</syntaxhighlight>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''accuracy''': (number) <translate>the desired accuracy</translate> <br/>
 
'''accuracy''': (number) <translate>the desired accuracy</translate> <br/>
  
 
{{Geolocation}}
 
{{Geolocation}}

Latest revision as of 15:29, 13 July 2023


Available since: Gideros 2012.8
Class: Geolocation

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