Geolocation.setAccuracy

From GiderosMobile
Revision as of 14:28, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


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).

<syntaxhighlight lang="lua">

Geolocation.setAccuracy(accuracy)

</source>

Parameters

accuracy: (number) the desired accuracy