public static class

WeatherInfo.DayForecast.Builder

extends Object
java.lang.Object
   ↳ cyanogenmod.weather.WeatherInfo.DayForecast.Builder

Class Overview

Builder class for WeatherInfo.DayForecast

Summary

Public Constructors
WeatherInfo.DayForecast.Builder(int conditionCode)
Public Methods
WeatherInfo.DayForecast build()
Combine all of the options that have been set and return a new WeatherInfo.DayForecast object
WeatherInfo.DayForecast.Builder setHigh(double high)
WeatherInfo.DayForecast.Builder setLow(double low)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WeatherInfo.DayForecast.Builder (int conditionCode)

Added in API level 5

Parameters
conditionCode A valid weather condition code. See WeatherContract.WeatherColumns.WeatherCode for valid values. Attempting to pass an invalid code will get you an IllegalArgumentException

Public Methods

public WeatherInfo.DayForecast build ()

Added in API level 5

Combine all of the options that have been set and return a new WeatherInfo.DayForecast object

public WeatherInfo.DayForecast.Builder setHigh (double high)

Added in API level 5

Parameters
high Forecast high temperature for this day. Attempting to pass an invalid double value will get you an IllegalArgumentException
Returns

public WeatherInfo.DayForecast.Builder setLow (double low)

Added in API level 5

Parameters
low Forecast low temperate for this day. Attempting to pass an invalid double value will get you an IllegalArgumentException
Returns