Geolocation.setThreshold

From GiderosMobile
Revision as of 10:17, 23 August 2018 by Hgy29 (talk | contribs)

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)

'threshold: (number) the minimum distance threshold '