Created
November 24, 2014 17:08
-
-
Save CHLibrarian/b2d3bbc50b22ea9d1838 to your computer and use it in GitHub Desktop.
ContextHub Element Services Geofence Retrieve ID (Android)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Getting a geofence with a specific ID | |
GeofenceProxy proxy = new GeofenceProxy(); | |
proxy.getGeofence(1000, new Callback<Geofence> { | |
@Override | |
public void onSuccess(Geofence result) { | |
Log.d(TAG, geofence.toString()); | |
} | |
@Override | |
public void onFailure(Exception e) { | |
Log.d(TAG, e.getMessage()); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment