Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Last active July 12, 2016 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hitherejoe/eb090a7a8c444da40a17317524e255b0 to your computer and use it in GitHub Desktop.
Save hitherejoe/eb090a7a8c444da40a17317524e255b0 to your computer and use it in GitHub Desktop.
Awareness.FenceApi.updateFences(
mGoogleApiClient,
new FenceUpdateRequest.Builder()
.removeFence(FENCE_KEY)
.build()).setResultCallback(new ResultCallbacks<Status>() {
@Override
public void onSuccess(@NonNull Status status) {
// Fence removed!
}
@Override
public void onFailure(@NonNull Status status) {
// Oops, the fence wasn't removed...
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment