Sets how much distance in meters must be travelled until the next location (GPS) event is sent. Because location events involve hardware that can drain the battery, using larger threshold distances preserve battery life.
Related Items:
Location Events
1 | system.setLocationThreshold( distance ) |
system.setLocationThreshold( 100 ) -- fire the location event every 100 meters
distance
Location event distance (in meters). Defaults to 0 meters.
Nothing.