Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Geofence GEOFENCE_TRANSITION_DWELLING error

Tags:

android

What does Non-negative loitering delay needs to be set when transition types include GEOFENCE_TRANSITION_DWELLING means? I got this error when I tried to run the sample GeofenceDetection provided by the android's website, and set the transition to DWELL.

like image 805
Samoka Avatar asked May 26 '14 14:05

Samoka


1 Answers

The error is gone after I add the setLoiteringDelay(int loiteringDelayMs) on myGeofence.Builder according the the doc.

like image 108
Samoka Avatar answered Oct 17 '22 01:10

Samoka