Skip to content

Instantly share code, notes, and snippets.

Created January 22, 2016 16:14
What would you like to do?
public class Geo {
public String id;
public String name;
public double latitude;
public double longitude;
public int radius;
public Geofence geofence() {
id = UUID.randomUUID().toString();
return new Geofence.Builder()
.setCircularRegion(latitude, longitude, radius)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment