Lines Matching refs:geofences

46     You can have multiple active geofences, with a limit of 100 per device user. For each geofence,
57 This lesson shows you how to add and remove geofences, and then listen for geofence transitions
105 <p>Your app needs to create and add geofences using the location API's builder class for
111 …gle-user devices, there is a limit of 100 geofences per app. For multi-user devices, the limit is …
140 dynamically create geofences based on the user's location.</p>
142 <h3>Specify geofences and initial triggers</h3>
149 specify the geofences to monitor and to set how related geofence events are triggered:
182 device briefly enters and exits geofences. Another strategy for getting best results from your
183 geofences is to set a minimum radius of 100 meters. This helps account for the location accuracy
213 <h3>Add geofences</h3>
216 To add geofences, use the <code>
242 you included in the request to add geofences. This {@link android.content.Intent} is received
245 and determines which of the defined geofences was triggered. It then sends a notification as
272 // Get the geofences that were triggered. A single event can trigger
273 // multiple geofences.
307 in the main activity used to add and remove geofences; removing a geofence stops it
309 remove geofences either by request IDs, or by removing geofences associated with a given
313 The following snippet removes geofences by {@link android.app.PendingIntent}, stopping all
314 further notification when the device enters or exits previously added geofences:
362 several kilometers. In cases like this, you should create geofences using a larger radius.</p>
376 <h3>Re-register geofences only when required</h3>
378 <p>Registered geofences are kept in the <code>com.google.process.location</code> process owned by
381 restores geofences after these events:</p>
387 <p>The app must re-register geofences if they're still needed after the following events, since
388 the system cannot recover the geofences in the following cases:</p>
392 register the geofences required.</li>
403 <p>If geofences are not being triggered when the device enters a geofence
405 GEOFENCE_TRANSITION_ENTER</a></code> alert isn’t triggered), first ensure that your geofences are