-
-
Save hitherejoe/eb090a7a8c444da40a17317524e255b0 to your computer and use it in GitHub Desktop.
This file contains 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
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