public class FetchResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FetchResult.Builder |
Modifier and Type | Method and Description |
---|---|
ErrorReport |
getError()
Error report.
|
LocationReport |
getLocation()
Location report.
|
int |
getRequestsPerDay()
How many requests you have available this day.
|
int |
getRequestsPerSecond()
How many requests you have available this second.
|
WeatherReport |
getWeather()
Weather report.
|
boolean |
isSuccess()
Returns true if the fetch succeeded.
|
public WeatherReport getWeather()
public LocationReport getLocation()
public ErrorReport getError()
public boolean isSuccess()
public int getRequestsPerSecond()
public int getRequestsPerDay()
Copyright © 2015. All rights reserved.