Skip to content

Instantly share code, notes, and snippets.

@hitherejoe hitherejoe/weather.java Secret
Last active Jul 6, 2016

Embed
What would you like to do?
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
You can’t perform that action at this time.