Difference between revisions of "Geolocation.setAccuracy"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2012.8<br/> | + | <languages /> |
− | === Description === | + | '''<translate>Available since</translate>:''' Gideros 2012.8<br/> |
− | <br /> | + | '''<translate>Class</translate>:''' [[Special:MyLanguage/Geolocation|Geolocation]]<br/> |
+ | === <translate>Description</translate> === | ||
+ | <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> |
− | < | + | <syntaxhighlight lang="lua"> |
Geolocation.setAccuracy(accuracy) | Geolocation.setAccuracy(accuracy) | ||
− | </ | + | </syntaxhighlight> |
− | === Parameters === | + | === <translate>Parameters</translate> === |
− | '''accuracy''': (number) the desired accuracy <br/> | + | '''accuracy''': (number) <translate>the desired accuracy</translate> <br/> |
+ | |||
+ | {{Geolocation}} |
Latest revision as of 14: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