Lines Matching refs:location

17 package android.location;
32 * for location updates from the Location Manager.
34 * <p>For example, if your application wants high accuracy location
35 * it should create a location request with {@link #setQuality} set to
38 * appropriate for mapping applications that are showing your location
42 * impact, but to still receive location updates when available, then use
45 * power blame) any location updates, but will receive locations
47 * applications that have no firm requirement for location, but can
60 * many location aware applications, including background usage. Do be
64 * <p>Activities should strongly consider removing all location
68 * Future version of the location manager may automatically perform background
71 * <p>Applications cannot specify the exact location sources that are
73 * may have multiple location sources (providers) running and may
79 * be automatically throttled to a slower interval, and the location
82 * <p>All location requests are considered hints, and you may receive
118 * <p>This location request will not trigger any active location requests,
120 * will not receive any direct power blame for location work.
127 * <p>This location request will avoid high power location work where
133 * Used with {@link #setQuality} to allow high power consumption for location.
135 * <p>This location request will allow high power location work.
157 * Create a location request with default parameters.
159 * <p>Default parameters are for a low power, slowly updated location.
163 * @return a new location request
257 * location sources to use. For example, {@link #ACCURACY_FINE} is more likely
263 * on a location request.
285 * Set the desired interval for active location updates, in milliseconds.
287 * <p>The location manager will actively try to obtain location updates
293 * no location sources are available), or you may receive them
295 * requested (if other applications are requesting location at a
299 * <p>Applications with only the coarse location permission may have their
303 * location updates may be extremely fast on future implementations.
306 * on a location request.
331 * Explicitly set the fastest interval for location updates, in
335 * receive location updates, which might be faster than
337 * applications are triggering location updates).
350 * location updates may be extremely fast on future implementations.
369 * <p>The system will never provide location updates faster
383 * is passed to the location manager), so call this method again
386 * <p>The location manager will automatically stop updates after
414 * <p>The location manager will automatically stop updates after
442 * Set the number of location updates.
446 * For example, if your application only needs a single fresh location,
448 * to the location manager.
450 * @param numUpdates the number of location updates requested
511 * Sets the WorkSource to use for power blaming of this location request.
514 * will throw a SecurityException when requesting location updates if the caller
517 * @param workSource WorkSource defining power blame for this location request.
532 * Sets whether or not this location request should be hidden from AppOps.
534 * <p>Hiding a location request from AppOps will remove user visibility in the UI as to this
538 * will throw a SecurityException when requesting location updates if the caller
541 * @param hideFromAppOps If true AppOps won't keep track of this location request.