Home
last modified time | relevance | path

Searched refs:geofences (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/docs/html/training/location/
Dgeofencing.jd46 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>
[all …]
Dindex.jd100 called geofences, and detect when the user is close to or inside a geofence.
/frameworks/base/services/core/jni/
Dcom_android_server_location_FlpHardwareProvider.cpp954 Geofence* geofences = new Geofence[geofenceRequestsCount]; in AddGeofences() local
955 if (geofences == NULL) { in AddGeofences()
960 geofences[i].data = new GeofenceData(); in AddGeofences()
961 geofences[i].options = new GeofenceOptions(); in AddGeofences()
964 TranslateGeofenceFromGeofenceHardwareRequestParcelable(env, geofenceObject, geofences[i]); in AddGeofences()
968 sFlpGeofencingInterface->add_geofences(geofenceRequestsCount, &geofences); in AddGeofences()
969 if (geofences != NULL) { in AddGeofences()
971 delete geofences[i].data; in AddGeofences()
972 delete geofences[i].options; in AddGeofences()
974 delete[] geofences; in AddGeofences()