kibotu / geofencer

Location tracking & geofencing the easy way. Supports background, killed app, rebooted device different update intervals.
MIT License
129 stars 28 forks source link

[Feature] Set Expiration and Lointering delay on Geofence #6

Closed galadril closed 4 years ago

galadril commented 5 years ago

Would be cool to also set the expiration duration, and loitering delay on the Geofence object.

For example:

.setExpirationDuration(Geofence.NEVER_EXPIRE)
.setLoiteringDelay(3000)
kibotu commented 4 years ago

i've added this here

https://github.com/exozet/Geolocator/blob/master/Geolocator/src/main/java/com/sprotte/geolocator/geofencer/GeofenceRepository.kt#L95-L97

and can be configured like this: https://github.com/exozet/Geolocator#configuration