-
public class WeatherResult extends LEAudioResult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
WeatherResult.DailyWeather
-
Field Summary
Fields Modifier and Type Field Description public final static int
TEMPERATURE_UNIT_CELSIUS
public final static int
TEMPERATURE_UNIT_FAHRENHEIT
private String
mainTitle
private String
subTitle
private int
temperatureUnit
private WeatherResult.DailyWeather
currentDayWeather
private List<WeatherResult.DailyWeather>
nextDaysWeather
-
Constructor Summary
Constructors Constructor Description WeatherResult(String mainTitle, String subTitle, int temperatureUnit, WeatherResult.DailyWeather currentDayWeather, List<WeatherResult.DailyWeather> nextDaysWeather)
-
Method Summary
Modifier and Type Method Description String
getMainTitle()
void
setMainTitle(String mainTitle)
String
getSubTitle()
void
setSubTitle(String subTitle)
int
getTemperatureUnit()
void
setTemperatureUnit(int temperatureUnit)
WeatherResult.DailyWeather
getCurrentDayWeather()
void
setCurrentDayWeather(WeatherResult.DailyWeather currentDayWeather)
List<WeatherResult.DailyWeather>
getNextDaysWeather()
void
setNextDaysWeather(List<WeatherResult.DailyWeather> nextDaysWeather)
-
-
Constructor Detail
-
WeatherResult
WeatherResult(String mainTitle, String subTitle, int temperatureUnit, WeatherResult.DailyWeather currentDayWeather, List<WeatherResult.DailyWeather> nextDaysWeather)
-
-
Method Detail
-
getMainTitle
String getMainTitle()
-
setMainTitle
void setMainTitle(String mainTitle)
-
getSubTitle
String getSubTitle()
-
setSubTitle
void setSubTitle(String subTitle)
-
getTemperatureUnit
int getTemperatureUnit()
-
setTemperatureUnit
void setTemperatureUnit(int temperatureUnit)
-
getCurrentDayWeather
WeatherResult.DailyWeather getCurrentDayWeather()
-
setCurrentDayWeather
void setCurrentDayWeather(WeatherResult.DailyWeather currentDayWeather)
-
getNextDaysWeather
List<WeatherResult.DailyWeather> getNextDaysWeather()
-
setNextDaysWeather
void setNextDaysWeather(List<WeatherResult.DailyWeather> nextDaysWeather)
-
-
-
-