-
-
Save hitherejoe/1e45bb5c1411e2f1196e5050621aa7a9 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.SnapshotApi.getWeather(mGoogleApiClient) | |
.setResultCallback(new ResultCallback<WeatherResult>() { | |
@Override | |
public void onResult(@NonNull WeatherResult weatherResult) { | |
if (weatherResult.getStatus().isSuccess()) { | |
Weather weather = weatherResult.getWeather(); | |
// do stuff with Weather object! | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment