Skip to content

Instantly share code, notes, and snippets.

@markchristopherng
Created October 13, 2018 01:43
Show Gist options
  • Save markchristopherng/db915fb861dba834a47f3954b499e2b7 to your computer and use it in GitHub Desktop.
Save markchristopherng/db915fb861dba834a47f3954b499e2b7 to your computer and use it in GitHub Desktop.
ResultCallback<Status> resultCallback = status -> {
if (status.isSuccess()) {
Timber.d("Fence %s was successfully registered", geoFence.getId());
databaseManager.save(geoFence);
} else {
Timber.e("Fence %s could not be registered: %s", geoFence.getId(), status);
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment