Difference between revisions of "Geolocation.setThreshold"

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 minimum distance (in meters) threshold. If threshold distance is greater than 0, <br />
 
Sets the minimum distance (in meters) threshold. If threshold distance is greater than 0, <br />
Line 10: Line 10:
 
  Geolocation.setThreshold(threshold)
 
  Geolocation.setThreshold(threshold)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''threshold''': (number) <translate>the minimum distance threshold</translate> <br/>
 
'''threshold''': (number) <translate>the minimum distance threshold</translate> <br/>

Revision as of 07:27, 24 August 2018

Available since: Gideros 2012.8

Description


Sets the minimum distance (in meters) threshold. If threshold distance is greater than 0,
a location event will only be dispatched if the device moves by threshold. The default value
is 0 (as frequently as possible).

 Geolocation.setThreshold(threshold)

Parameters

threshold: (number) the minimum distance threshold