# Titanium.Geolocation.Android.LocationRule
A location rule to filter the results returned by location providers.
# Overview
All of the properties are optional.
See Titanium.Geolocation.Android for details on using LocationProviders
to
manually configure location updates.
# Properties
# accuracy
Minimum accuracy required for a location update.
Accuracy is expressed as the maximum allowable error, in meters. To pass this rule, an update must have an accuracy value equal to or lower than this value.
# maxAge
Controls the freshness of location updates. Do not forward an update
unless it is newer than maxAge
milliseconds.
# minAge
Controls the frequency of location updates.
Do not forward an update unless at least minAge
milliseconds have passed since the last
good location update (that is, the last update from any provider that generated a
location
event).
# name
If specified, this rule only applies to updates generated
by the specified provider. If null
, this rule applies to all updates.
Can be PROVIDER_GPS, PROVIDER_NETWORK, or PROVIDER_PASSIVE.
Default: null