aboutsummaryrefslogtreecommitdiffstats
path: root/reference/lineageos/weather/WeatherInfo.Builder.html
diff options
context:
space:
mode:
Diffstat (limited to 'reference/lineageos/weather/WeatherInfo.Builder.html')
-rw-r--r--reference/lineageos/weather/WeatherInfo.Builder.html1342
1 files changed, 1342 insertions, 0 deletions
diff --git a/reference/lineageos/weather/WeatherInfo.Builder.html b/reference/lineageos/weather/WeatherInfo.Builder.html
new file mode 100644
index 00000000..ed724900
--- /dev/null
+++ b/reference/lineageos/weather/WeatherInfo.Builder.html
@@ -0,0 +1,1342 @@
+<!-- ################ DO NOT EDIT THIS FILE. ################# -->
+<!-- ################ ################# -->
+<!-- ################ IT IS GENERATED. ################# -->
+<!-- ################ ################# -->
+<!-- ################ INSTEAD EDIT THE JAVADOC COMMENTS. ################# -->
+
+<!DOCTYPE html>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<html>
+<head>
+
+
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="viewport" content="width=device-width" />
+
+<link rel="shortcut icon" type="image/x-icon" href="../../../assets/favicon.ico" />
+<title>WeatherInfo.Builder | Android Developers</title>
+
+<!-- STYLESHEETS -->
+<link rel="stylesheet"
+href="http://fonts.googleapis.com/css?family=Roboto+Condensed">
+<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold"
+ title="roboto">
+<link href="../../../assets/css/default.css?v=5" rel="stylesheet" type="text/css">
+
+
+<!-- FULLSCREEN STYLESHEET -->
+<link href="../../../assets/css/fullscreen.css" rel="stylesheet" class="fullscreen"
+type="text/css">
+
+
+<!-- JAVASCRIPT -->
+<script src="http://www.google.com/jsapi" type="text/javascript"></script>
+<script src="../../../assets/js/android_3p-bundle.js" type="text/javascript"></script>
+<script type="text/javascript">
+ var toRoot = "../../../";
+ var metaTags = [];
+ var devsite = false;
+</script>
+
+
+
+<script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-5831155-1', 'android.com');
+ ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker);
+ ga('send', 'pageview');
+ ga('universal.send', 'pageview'); // Send page view for new tracker.
+</script>
+
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
+<script src="../../../assets/docs.js?v=3" type="text/javascript"></script>
+</head>
+
+<body class="gc-documentation
+ develop reference" itemscope itemtype="http://schema.org/Article">
+ <div id="doc-api-level" class="5" style="display:none"></div>
+ <a name="top"></a>
+
+ <div id="header">
+ <div id="headerLeft">
+ <a href="../../../reference/packages.html" tabindex="-1"><img
+ src="../../../assets/lineage_logo.svg" alt="CID" width="144" height="72"/>
+ <span id="masthead-title" style="font-size: 28px;">LineageOS Platform SDK</span></a>
+ </div>
+ </div><!-- header -->
+
+
+ <div class="wrap clearfix" id="body-content">
+ <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
+ <div id="devdoc-nav">
+ <div id="api-nav-header">
+ <div id="api-level-toggle">
+ <label for="apiLevelCheckbox" class="disabled"
+ title="Select your target API level to dim unavailable APIs">API level: </label>
+ <div class="select-wrapper">
+ <select id="apiLevelSelector">
+ <!-- option elements added by buildApiLevelSelector() -->
+ </select>
+ </div>
+ </div><!-- end toggle -->
+ <div id="api-nav-title">LineageOS APIs</div>
+ </div><!-- end nav header -->
+ <script>
+ var SINCE_DATA = [ '1', '2', '3', '4', '5', '6', '7', '8', '9' ];
+ buildApiLevelSelector();
+ </script>
+
+ <div id="swapper">
+ <div id="nav-panels">
+ <div id="resize-packages-nav">
+ <div id="packages-nav" class="scroll-pane">
+
+ <ul>
+
+ <li class="api apilevel-2">
+ <a href="../../../reference/lineageos/app/package-summary.html">lineageos.app</a></li>
+ <li class="api apilevel-4">
+ <a href="../../../reference/lineageos/content/package-summary.html">lineageos.content</a></li>
+ <li class="api apilevel-2">
+ <a href="../../../reference/lineageos/hardware/package-summary.html">lineageos.hardware</a></li>
+ <li class="api apilevel-1">
+ <a href="../../../reference/lineageos/os/package-summary.html">lineageos.os</a></li>
+ <li class="api apilevel-1">
+ <a href="../../../reference/lineageos/platform/package-summary.html">lineageos.platform</a></li>
+ <li class="api apilevel-4">
+ <a href="../../../reference/lineageos/power/package-summary.html">lineageos.power</a></li>
+ <li class="api apilevel-8">
+ <a href="../../../reference/lineageos/preference/package-summary.html">lineageos.preference</a></li>
+ <li class="api apilevel-2">
+ <a href="../../../reference/lineageos/profiles/package-summary.html">lineageos.profiles</a></li>
+ <li class="api apilevel-5">
+ <a href="../../../reference/lineageos/providers/package-summary.html">lineageos.providers</a></li>
+ <li class="api apilevel-9">
+ <a href="../../../reference/lineageos/style/package-summary.html">lineageos.style</a></li>
+ <li class="api apilevel-5">
+ <a href="../../../reference/lineageos/util/package-summary.html">lineageos.util</a></li>
+ <li class="selected api apilevel-5">
+ <a href="../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li>
+ <li class="api apilevel-">
+ <a href="../../../reference/lineageos/weather/util/package-summary.html">lineageos.weather.util</a></li>
+ <li class="api apilevel-5">
+ <a href="../../../reference/lineageos/weatherservice/package-summary.html">lineageos.weatherservice</a></li>
+ </ul><br/>
+
+ </div> <!-- end packages-nav -->
+ </div> <!-- end resize-packages -->
+ <div id="classes-nav" class="scroll-pane">
+
+
+
+ <ul>
+
+
+ <li><h2>Interfaces</h2>
+ <ul>
+ <li class="api apilevel-8"><a href="../../../reference/lineageos/weather/LineageWeatherManager.LookupCityRequestListener.html">LineageWeatherManager.LookupCityRequestListener</a></li>
+ <li class="api apilevel-8"><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html">LineageWeatherManager.WeatherServiceProviderChangeListener</a></li>
+ <li class="api apilevel-8"><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherUpdateRequestListener.html">LineageWeatherManager.WeatherUpdateRequestListener</a></li>
+ </ul>
+ </li>
+
+ <li><h2>Classes</h2>
+ <ul>
+ <li class="api apilevel-8"><a href="../../../reference/lineageos/weather/LineageWeatherManager.html">LineageWeatherManager</a></li>
+ <li class="api apilevel-8"><a href="../../../reference/lineageos/weather/LineageWeatherManager.RequestStatus.html">LineageWeatherManager.RequestStatus</a></li>
+ <li class="api apilevel-5"><a href="../../../reference/lineageos/weather/RequestInfo.html">RequestInfo</a></li>
+ <li class="api apilevel-5"><a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a></li>
+ <li class="selected api apilevel-5"><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></li>
+ <li class="api apilevel-5"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a></li>
+ <li class="api apilevel-5"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.Builder.html">WeatherInfo.DayForecast.Builder</a></li>
+ <li class="api apilevel-5"><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></li>
+ <li class="api apilevel-5"><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></li>
+ </ul>
+ </li>
+
+
+
+ </ul><br/>
+
+
+ </div><!-- end classes -->
+ </div><!-- end nav-panels -->
+ <div id="nav-tree" style="display:none" class="scroll-pane">
+ <div id="tree-list"></div>
+ </div><!-- end nav-tree -->
+ </div><!-- end swapper -->
+ <div id="nav-swap">
+ <a class="fullscreen">fullscreen</a>
+ <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>
+ </div>
+ </div> <!-- end devdoc-nav -->
+ </div> <!-- end side-nav -->
+ <script type="text/javascript">
+ // init fullscreen based on user pref
+ var fullscreen = readCookie("fullscreen");
+ if (fullscreen != 0) {
+ if (fullscreen == "false") {
+ toggleFullscreen(false);
+ } else {
+ toggleFullscreen(true);
+ }
+ }
+ // init nav version for mobile
+ if (isMobile) {
+ swapNav(); // tree view should be used on mobile
+ $('#nav-swap').hide();
+ } else {
+ chooseDefaultNav();
+ if ($("#nav-tree").is(':visible')) {
+ init_default_navtree("../../../");
+ }
+ }
+ // scroll the selected page into view
+ $(document).ready(function() {
+ scrollIntoView("packages-nav");
+ scrollIntoView("classes-nav");
+ });
+ </script>
+
+
+
+
+
+<div class="col-12" id="doc-col">
+
+<div id="api-info-block">
+
+
+
+
+
+
+
+
+
+
+
+<div class="sum-details-links">
+
+Summary:
+
+
+
+
+
+
+
+
+
+ <a href="#pubctors">Ctors</a>
+
+
+
+
+ &#124; <a href="#pubmethods">Methods</a>
+
+
+
+
+ &#124; <a href="#inhmethods">Inherited Methods</a>
+
+&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
+
+</div><!-- end sum-details-links -->
+<div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a>
+
+
+
+</div>
+</div><!-- end api-info-block -->
+
+
+<!-- ======== START OF CLASS DATA ======== -->
+
+<div id="jd-header">
+ public
+ static
+
+
+ class
+<h1 itemprop="name">WeatherInfo.Builder</h1>
+
+
+
+
+ extends Object<br/>
+
+
+
+
+
+
+
+
+
+
+
+
+</div><!-- end header -->
+
+<div id="naMessage"></div>
+
+<div id="jd-content" class="api apilevel-5">
+<table class="jd-inheritance-table">
+
+
+ <tr>
+
+ <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
+ </tr>
+
+
+ <tr>
+
+ <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
+
+ <td colspan="1" class="jd-inheritance-class-cell">lineageos.weather.WeatherInfo.Builder</td>
+ </tr>
+
+
+</table>
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Class Overview</h2>
+<p itemprop="articleBody">Builder class for <code><a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a></code>
+</p>
+
+
+
+
+
+</div><!-- jd-descr -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Summary</h2>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr>
+
+
+
+
+ <tr class="alt-color api apilevel-5" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html#WeatherInfo.Builder(java.lang.String, double, int)">WeatherInfo.Builder</a></span>(String cityName, double temperature, int tempUnit)</nobr>
+
+ </td></tr>
+
+
+
+</table>
+
+
+
+
+
+
+<!-- ========== METHOD SUMMARY =========== -->
+<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr>
+
+
+
+
+ <tr class="alt-color api apilevel-5" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a></nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html#build()">build</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Combine all of the options that have been set and return a new <code><a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a></code> object
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-5" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html#setForecast(java.util.List<lineageos.weather.WeatherInfo.DayForecast>)">setForecast</a></span>(List&lt;<a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a>&gt; forecasts)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-5" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html#setHumidity(double)">setHumidity</a></span>(double humidity)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-5" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html#setTimestamp(long)">setTimestamp</a></span>(long timeStamp)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-5" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html#setTodaysHigh(double)">setTodaysHigh</a></span>(double todaysHigh)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-5" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html#setTodaysLow(double)">setTodaysLow</a></span>(double todaysLow)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-5" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html#setWeatherCondition(int)">setWeatherCondition</a></span>(int conditionCode)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-5" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html#setWind(double, double, int)">setWind</a></span>(double windSpeed, double windDirection, int windSpeedUnit)</nobr>
+
+ </td></tr>
+
+
+
+</table>
+
+
+
+
+
+
+
+<!-- ========== METHOD SUMMARY =========== -->
+<table id="inhmethods" class="jd-sumtable"><tr><th>
+ <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
+ <div style="clear:left;">Inherited Methods</div></th></tr>
+
+
+<tr class="api apilevel-" >
+<td colspan="12">
+ <a href="#" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" >
+ <img id="inherited-methods-java.lang.Object-trigger" class="jd-expando-trigger-img"
+ height="34"
+ src="../../../assets/images/styles/disclosure_down.png" />
+ </a>
+From class
+
+ java.lang.Object
+
+<div id="inherited-methods-java.lang.Object">
+ <div id="inherited-methods-java.lang.Object-list"
+ class="jd-inheritedlinks">
+ </div>
+ <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
+ <table class="jd-sumtable-expando">
+
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ Object</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">clone</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ boolean</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">equals</span>(Object arg0)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">finalize</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ Class&lt;?&gt;</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">getClass</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">hashCode</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notify</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notifyAll</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ String</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">toString</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>()</nobr>
+
+ </td></tr>
+
+
+</table>
+ </div>
+</div>
+</td></tr>
+
+
+</table>
+
+
+</div><!-- jd-descr (summary) -->
+
+<!-- Details -->
+
+
+
+
+
+
+
+
+<!-- XML Attributes -->
+
+
+<!-- Enum Values -->
+
+
+<!-- Constants -->
+
+
+<!-- Fields -->
+
+
+<!-- Public ctors -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<h2>Public Constructors</h2>
+
+
+
+<A NAME="WeatherInfo.Builder(java.lang.String, double, int)"></A>
+
+<div class="jd-details api apilevel-5">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">WeatherInfo.Builder</span>
+ <span class="normal">(String cityName, double temperature, int tempUnit)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p></p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>cityName</code></td>
+ <td width="100%">
+ <code>String</code>: A valid city name. Attempting to pass null will get you an
+ IllegalArgumentException</td>
+ </tr>
+ <tr>
+ <td><code>temperature</code></td>
+ <td width="100%">
+ <code>double</code>: A valid temperature value. Attempting pass an invalid double value,
+ will get you an IllegalArgumentException</td>
+ </tr>
+ <tr>
+ <td><code>tempUnit</code></td>
+ <td width="100%">
+ <code>int</code>: A valid temperature unit value. See
+ <code><a href="../../../reference/lineageos/providers/WeatherContract.WeatherColumns.TempUnit.html">WeatherContract.WeatherColumns.TempUnit</a></code> for
+ valid values. Attempting to pass an invalid temperature unit will get you
+ an IllegalArgumentException
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<!-- Protected ctors -->
+
+
+
+<!-- ========= METHOD DETAIL ======== -->
+<!-- Public methdos -->
+
+<h2>Public Methods</h2>
+
+
+
+<A NAME="build()"></A>
+
+<div class="jd-details api apilevel-5">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a>
+ </span>
+ <span class="sympad">build</span>
+ <span class="normal">()</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Combine all of the options that have been set and return a new <code><a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a></code> object</p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code><a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a></code></td>
+ <td width="100%"><code><a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a></code>
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setForecast(java.util.List<lineageos.weather.WeatherInfo.DayForecast>)"></A>
+
+<div class="jd-details api apilevel-5">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a>
+ </span>
+ <span class="sympad">setForecast</span>
+ <span class="normal">(List&lt;<a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a>&gt; forecasts)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p></p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>forecasts</code></td>
+ <td width="100%">
+ <code>List</code>: A valid array list of <code><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a></code> objects. Attempting to pass
+ null will get you an IllegalArgumentException'</td>
+ </tr>
+ </table>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></code></td>
+ <td width="100%">The <code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></code> instance
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setHumidity(double)"></A>
+
+<div class="jd-details api apilevel-5">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a>
+ </span>
+ <span class="sympad">setHumidity</span>
+ <span class="normal">(double humidity)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p></p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>humidity</code></td>
+ <td width="100%">
+ <code>double</code>: The weather humidity. Attempting to pass an invalid double value will get
+ you an IllegalArgumentException</td>
+ </tr>
+ </table>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></code></td>
+ <td width="100%">The <code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></code> instance
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setTimestamp(long)"></A>
+
+<div class="jd-details api apilevel-5">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a>
+ </span>
+ <span class="sympad">setTimestamp</span>
+ <span class="normal">(long timeStamp)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p></p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>timeStamp</code></td>
+ <td width="100%">
+ <code>long</code>: A timestamp indicating when this data was generated. If timestamps is
+ not set, then the builder will set it to the time of object creation</td>
+ </tr>
+ </table>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></code></td>
+ <td width="100%">The <code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></code> instance
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setTodaysHigh(double)"></A>
+
+<div class="jd-details api apilevel-5">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a>
+ </span>
+ <span class="sympad">setTodaysHigh</span>
+ <span class="normal">(double todaysHigh)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p></p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>todaysHigh</code></td>
+ <td width="100%">
+ <code>double</code>: Today's high temperature. Attempting to pass an invalid double value
+ will get you an IllegalArgumentException</td>
+ </tr>
+ </table>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></code></td>
+ <td width="100%">The <code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></code> instance
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setTodaysLow(double)"></A>
+
+<div class="jd-details api apilevel-5">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a>
+ </span>
+ <span class="sympad">setTodaysLow</span>
+ <span class="normal">(double todaysLow)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p></p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>todaysLow</code></td>
+ <td width="100%">
+ <code>double</code>: Today's low temperature. Attempting to pass an invalid double value will
+ get you an IllegalArgumentException</td>
+ </tr>
+ </table>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></code></td>
+ <td width="100%"><!-- no returns description in source --></td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setWeatherCondition(int)"></A>
+
+<div class="jd-details api apilevel-5">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a>
+ </span>
+ <span class="sympad">setWeatherCondition</span>
+ <span class="normal">(int conditionCode)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p></p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>conditionCode</code></td>
+ <td width="100%">
+ <code>int</code>: A valid weather condition code. See
+ <code><a href="../../../reference/lineageos/providers/WeatherContract.WeatherColumns.WeatherCode.html">WeatherContract.WeatherColumns.WeatherCode</a></code>
+ for valid codes. Attempting to pass an invalid code will get you an
+ IllegalArgumentException.</td>
+ </tr>
+ </table>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></code></td>
+ <td width="100%">The <code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></code> instance
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setWind(double, double, int)"></A>
+
+<div class="jd-details api apilevel-5">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ <a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a>
+ </span>
+ <span class="sympad">setWind</span>
+ <span class="normal">(double windSpeed, double windDirection, int windSpeedUnit)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p></p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>windSpeed</code></td>
+ <td width="100%">
+ <code>double</code>: The wind speed. Attempting to pass an invalid double value will get you
+ an IllegalArgumentException</td>
+ </tr>
+ <tr>
+ <td><code>windDirection</code></td>
+ <td width="100%">
+ <code>double</code>: The wind direction. Attempting to pass an invalid double value will
+ get you an IllegalArgumentException</td>
+ </tr>
+ <tr>
+ <td><code>windSpeedUnit</code></td>
+ <td width="100%">
+ <code>int</code>: A valid wind speed direction unit. See
+ <code><a href="../../../reference/lineageos/providers/WeatherContract.WeatherColumns.WindSpeedUnit.html">WeatherContract.WeatherColumns.WindSpeedUnit</a></code>
+ for valid values. Attempting to pass an invalid speed unit will get
+ you an IllegalArgumentException</td>
+ </tr>
+ </table>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></code></td>
+ <td width="100%">The <code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></code> instance
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+
+
+
+<!-- ========= METHOD DETAIL ======== -->
+
+
+
+<!-- ========= END OF CLASS DATA ========= -->
+<A NAME="navbar_top"></A>
+
+<div id="footer">
+
+</div> <!-- end footer -->
+
+</div> <!-- jd-content -->
+
+</div><!-- end doc-content -->
+
+</div> <!-- end body-content -->
+
+<script type="text/javascript">
+init(); /* initialize android-developer-docs.js */
+</script>
+
+</body>
+</html>