Difference between revisions of "Geolocation.setAccuracy"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.8<br/>
+
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><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 />
Line 9: Line 9:
 
  Geolocation.setAccuracy(accuracy)
 
  Geolocation.setAccuracy(accuracy)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''accuracy''': (number) <translate>the desired accuracy</translate> <br/>
 
'''accuracy''': (number) <translate>the desired accuracy</translate> <br/>

Revision as of 08:29, 24 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