J'ai ajouté des géofences à l'API Google Geofence comme au that example. de temps en temps, je voudrais effacer ces geofences (soit un par un ou tous togehter), indépendamment de leur date d'expiration, etc.Comment effacer toutes les géofences introduites dans l'API google Geofence?
mGeofenceList.add(new Geofence.Builder()
// Set the request ID of the geofence. This is a string to identify this
// geofence.
.setRequestId(entry.getKey())
.setCircularRegion(
entry.getValue().latitude,
entry.getValue().longitude,
Constants.GEOFENCE_RADIUS_IN_METERS
)
.setExpirationDuration(Constants.GEOFENCE_EXPIRATION_IN_MILLISECONDS)
.setTransitionTypes(Geofence.GEOFENCE_TRANSITION_ENTER |
Geofence.GEOFENCE_TRANSITION_EXIT)
.build());
Comment puis-je effacer les geofences introduits dans l'API Google Geofence par moi-même ?