diff options
author | Joey <joey@lineageos.org> | 2018-03-12 13:55:27 +0100 |
---|---|---|
committer | Joey <joey@lineageos.org> | 2018-03-12 16:00:00 +0100 |
commit | b6d895cd9faec16a2f2020cc447a2aa1c698392e (patch) | |
tree | 9c80bdebcdd7abef35deeff38554593459e257c0 /reference/lineageos/weather | |
parent | 55ccdc3002a2adaee63231b59b6580cca7437869 (diff) | |
download | lineage-sdk-gh-pages.tar.gz lineage-sdk-gh-pages.tar.bz2 lineage-sdk-gh-pages.zip |
Initial javadoc pushgh-pages
Change-Id: Ic4f9f576d0676dc696631b49d7e65e72b0ccde85
Signed-off-by: Joey <joey@lineageos.org>
Diffstat (limited to 'reference/lineageos/weather')
15 files changed, 15875 insertions, 0 deletions
diff --git a/reference/lineageos/weather/LineageWeatherManager.LookupCityRequestListener.html b/reference/lineageos/weather/LineageWeatherManager.LookupCityRequestListener.html new file mode 100644 index 00000000..c0aa97e8 --- /dev/null +++ b/reference/lineageos/weather/LineageWeatherManager.LookupCityRequestListener.html @@ -0,0 +1,529 @@ +<!-- ################ 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>LineageWeatherManager.LookupCityRequestListener | 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="8" 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="selected 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="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"> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + static + + + interface +<h1 itemprop="name">LineageWeatherManager.LookupCityRequestListener</h1> + + + + + + + + + + + +</div><!-- end header --> + +<div id="naMessage"></div> + +<div id="jd-content" class="api apilevel-8"> +<table class="jd-inheritance-table"> + + + <tr> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.weather.LineageWeatherManager.LookupCityRequestListener</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">Interface used to receive notifications upon completion of a request to lookup a city name +</p> + + + + + +</div><!-- jd-descr --> + + + + + + + + + + + + + + + + +<div class="jd-descr"> + + +<h2>Summary</h2> + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!-- ========== METHOD SUMMARY =========== --> +<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> + + + + + <tr class="alt-color api apilevel-8" > + <td class="jd-typecol"><nobr> + abstract + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/LineageWeatherManager.LookupCityRequestListener.html#onLookupCityRequestCompleted(int, java.util.List<lineageos.weather.WeatherLocation>)">onLookupCityRequestCompleted</a></span>(int status, List<<a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a>> locations)</nobr> + + <div class="jd-descrdiv"> + This method will be called when the weather service provider has finished processing the + request. + + + + </div> + + </td></tr> + + + +</table> + + + + + + + +</div><!-- jd-descr (summary) --> + +<!-- Details --> + + + + + + + + +<!-- XML Attributes --> + + +<!-- Enum Values --> + + +<!-- Constants --> + + +<!-- Fields --> + + +<!-- Public ctors --> + + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<!-- Protected ctors --> + + + +<!-- ========= METHOD DETAIL ======== --> +<!-- Public methdos --> + +<h2>Public Methods</h2> + + + +<A NAME="onLookupCityRequestCompleted(int, java.util.List<lineageos.weather.WeatherLocation>)"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + abstract + + void + </span> + <span class="sympad">onLookupCityRequestCompleted</span> + <span class="normal">(int status, List<<a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a>> locations)</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>This method will be called when the weather service provider has finished processing the + request.</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>status</code></td> + <td width="100%"> + <code>int</code>: See <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.RequestStatus.html">LineageWeatherManager.RequestStatus</a></code></td> + </tr> + <tr> + <td><code>locations</code></td> + <td width="100%"> + <code>List</code>: A list of <code><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></code> if the status is + <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.RequestStatus.html#COMPLETED">COMPLETED</a></code>, null otherwise +</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> diff --git a/reference/lineageos/weather/LineageWeatherManager.RequestStatus.html b/reference/lineageos/weather/LineageWeatherManager.RequestStatus.html new file mode 100644 index 00000000..f14adc46 --- /dev/null +++ b/reference/lineageos/weather/LineageWeatherManager.RequestStatus.html @@ -0,0 +1,991 @@ +<!-- ################ 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>LineageWeatherManager.RequestStatus | 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="8" 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="selected 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="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="#constants">Constants</a> + + + + + + + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <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 8</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + static + final + + class +<h1 itemprop="name">LineageWeatherManager.RequestStatus</h1> + + + + + extends Object<br/> + + + + + + + + + + + + +</div><!-- end header --> + +<div id="naMessage"></div> + +<div id="jd-content" class="api apilevel-8"> +<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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.weather.LineageWeatherManager.RequestStatus</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">The different request statuses +</p> + + + + + +</div><!-- jd-descr --> + + + + + + + + + + + + + + + + +<div class="jd-descr"> + + +<h2>Summary</h2> + + + + + + + + + + + + + +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<table id="constants" class="jd-sumtable"><tr><th colspan="12">Constants</th></tr> + + + + <tr class="alt-color api apilevel-8" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.RequestStatus.html#ALREADY_IN_PROGRESS">ALREADY_IN_PROGRESS</a></td> + <td class="jd-descrcol" width="100%"> + Another request is already in progress + + + + + </td> + </tr> + + + <tr class=" api apilevel-8" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.RequestStatus.html#COMPLETED">COMPLETED</a></td> + <td class="jd-descrcol" width="100%"> + Request successfully completed + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-8" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.RequestStatus.html#FAILED">FAILED</a></td> + <td class="jd-descrcol" width="100%"> + An error occurred while trying to honor the request + + + + + </td> + </tr> + + + <tr class=" api apilevel-8" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.RequestStatus.html#NO_MATCH_FOUND">NO_MATCH_FOUND</a></td> + <td class="jd-descrcol" width="100%"> + No match found for the query + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-8" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.RequestStatus.html#SUBMITTED_TOO_SOON">SUBMITTED_TOO_SOON</a></td> + <td class="jd-descrcol" width="100%"> + The request can't be processed at this time + + + + + </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<?></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 --> + + +<!-- ========= ENUM CONSTANTS DETAIL ======== --> +<h2>Constants</h2> + + + + +<A NAME="ALREADY_IN_PROGRESS"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + ALREADY_IN_PROGRESS + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Another request is already in progress +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + -3 + (0xfffffffd) + + </span> + </div> + + </div> +</div> + + + +<A NAME="COMPLETED"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + COMPLETED + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Request successfully completed +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 1 + (0x00000001) + + </span> + </div> + + </div> +</div> + + + +<A NAME="FAILED"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + FAILED + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>An error occurred while trying to honor the request +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + -1 + (0xffffffff) + + </span> + </div> + + </div> +</div> + + + +<A NAME="NO_MATCH_FOUND"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + NO_MATCH_FOUND + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>No match found for the query +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + -4 + (0xfffffffc) + + </span> + </div> + + </div> +</div> + + + +<A NAME="SUBMITTED_TOO_SOON"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + SUBMITTED_TOO_SOON + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>The request can't be processed at this time +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + -2 + (0xfffffffe) + + </span> + </div> + + </div> +</div> + + + + +<!-- Fields --> + + +<!-- Public ctors --> + + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<!-- Protected ctors --> + + + +<!-- ========= METHOD DETAIL ======== --> +<!-- Public methdos --> + + + +<!-- ========= 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> diff --git a/reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html b/reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html new file mode 100644 index 00000000..f12af05f --- /dev/null +++ b/reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html @@ -0,0 +1,525 @@ +<!-- ################ 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>LineageWeatherManager.WeatherServiceProviderChangeListener | 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="8" 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="selected 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="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"> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + static + + + interface +<h1 itemprop="name">LineageWeatherManager.WeatherServiceProviderChangeListener</h1> + + + + + + + + + + + +</div><!-- end header --> + +<div id="naMessage"></div> + +<div id="jd-content" class="api apilevel-8"> +<table class="jd-inheritance-table"> + + + <tr> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.weather.LineageWeatherManager.WeatherServiceProviderChangeListener</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">Interface used to be notified when the user changes the weather service provider +</p> + + + + + +</div><!-- jd-descr --> + + + + + + + + + + + + + + + + +<div class="jd-descr"> + + +<h2>Summary</h2> + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!-- ========== METHOD SUMMARY =========== --> +<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> + + + + + <tr class="alt-color api apilevel-8" > + <td class="jd-typecol"><nobr> + abstract + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html#onWeatherServiceProviderChanged(java.lang.String)">onWeatherServiceProviderChanged</a></span>(String providerLabel)</nobr> + + <div class="jd-descrdiv"> + This method will be called when a new weather service provider becomes active in the + system. + + + + </div> + + </td></tr> + + + +</table> + + + + + + + +</div><!-- jd-descr (summary) --> + +<!-- Details --> + + + + + + + + +<!-- XML Attributes --> + + +<!-- Enum Values --> + + +<!-- Constants --> + + +<!-- Fields --> + + +<!-- Public ctors --> + + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<!-- Protected ctors --> + + + +<!-- ========= METHOD DETAIL ======== --> +<!-- Public methdos --> + +<h2>Public Methods</h2> + + + +<A NAME="onWeatherServiceProviderChanged(java.lang.String)"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + abstract + + void + </span> + <span class="sympad">onWeatherServiceProviderChanged</span> + <span class="normal">(String providerLabel)</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>This method will be called when a new weather service provider becomes active in the + system. The parameter can be null when + <p>The user removed the active weather service provider from the system </p> + <p>The active weather provider was disabled.</p></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>providerLabel</code></td> + <td width="100%"> + <code>String</code>: The label as declared on the weather service provider manifest +</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> diff --git a/reference/lineageos/weather/LineageWeatherManager.WeatherUpdateRequestListener.html b/reference/lineageos/weather/LineageWeatherManager.WeatherUpdateRequestListener.html new file mode 100644 index 00000000..4f2bf2ad --- /dev/null +++ b/reference/lineageos/weather/LineageWeatherManager.WeatherUpdateRequestListener.html @@ -0,0 +1,529 @@ +<!-- ################ 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>LineageWeatherManager.WeatherUpdateRequestListener | 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="8" 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="selected 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="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"> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + static + + + interface +<h1 itemprop="name">LineageWeatherManager.WeatherUpdateRequestListener</h1> + + + + + + + + + + + +</div><!-- end header --> + +<div id="naMessage"></div> + +<div id="jd-content" class="api apilevel-8"> +<table class="jd-inheritance-table"> + + + <tr> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.weather.LineageWeatherManager.WeatherUpdateRequestListener</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">Interface used to receive notifications upon completion of a weather update request +</p> + + + + + +</div><!-- jd-descr --> + + + + + + + + + + + + + + + + +<div class="jd-descr"> + + +<h2>Summary</h2> + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!-- ========== METHOD SUMMARY =========== --> +<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> + + + + + <tr class="alt-color api apilevel-8" > + <td class="jd-typecol"><nobr> + abstract + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherUpdateRequestListener.html#onWeatherRequestCompleted(int, lineageos.weather.WeatherInfo)">onWeatherRequestCompleted</a></span>(int status, <a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a> weatherInfo)</nobr> + + <div class="jd-descrdiv"> + This method will be called when the weather service provider has finished processing the + request + + + + </div> + + </td></tr> + + + +</table> + + + + + + + +</div><!-- jd-descr (summary) --> + +<!-- Details --> + + + + + + + + +<!-- XML Attributes --> + + +<!-- Enum Values --> + + +<!-- Constants --> + + +<!-- Fields --> + + +<!-- Public ctors --> + + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<!-- Protected ctors --> + + + +<!-- ========= METHOD DETAIL ======== --> +<!-- Public methdos --> + +<h2>Public Methods</h2> + + + +<A NAME="onWeatherRequestCompleted(int, lineageos.weather.WeatherInfo)"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + abstract + + void + </span> + <span class="sympad">onWeatherRequestCompleted</span> + <span class="normal">(int status, <a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a> weatherInfo)</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>This method will be called when the weather service provider has finished processing the + request</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>status</code></td> + <td width="100%"> + <code>int</code>: See <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.RequestStatus.html">LineageWeatherManager.RequestStatus</a></code></td> + </tr> + <tr> + <td><code>weatherInfo</code></td> + <td width="100%"> + <code>WeatherInfo</code>: A fully populated <code><a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a></code> if state is + <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.RequestStatus.html#COMPLETED">COMPLETED</a></code>, null otherwise +</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> diff --git a/reference/lineageos/weather/LineageWeatherManager.html b/reference/lineageos/weather/LineageWeatherManager.html new file mode 100644 index 00000000..659def31 --- /dev/null +++ b/reference/lineageos/weather/LineageWeatherManager.html @@ -0,0 +1,1367 @@ +<!-- ################ 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>LineageWeatherManager | 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="8" 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="selected 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="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="#nestedclasses">Nested Classes</a> + + + + + + + + + + + + + | <a href="#pubmethods">Methods</a> + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <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 8</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + + + + class +<h1 itemprop="name">LineageWeatherManager</h1> + + + + + extends Object<br/> + + + + + + + + + + + + +</div><!-- end header --> + +<div id="naMessage"></div> + +<div id="jd-content" class="api apilevel-8"> +<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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.weather.LineageWeatherManager</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">Provides access to the weather services in the device. +</p> + + + + + +</div><!-- jd-descr --> + + + + + + + + + + + + + + + + +<div class="jd-descr"> + + +<h2>Summary</h2> + + + +<!-- ======== NESTED CLASS SUMMARY ======== --> +<table id="nestedclasses" class="jd-sumtable"><tr><th colspan="12">Nested Classes</th></tr> + + + + <tr class="alt-color api apilevel-8" > + <td class="jd-typecol"><nobr> + + + + + interface</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.LookupCityRequestListener.html">LineageWeatherManager.LookupCityRequestListener</a></td> + <td class="jd-descrcol" width="100%"> + Interface used to receive notifications upon completion of a request to lookup a city name + + + + + </td> + </tr> + + + <tr class=" api apilevel-8" > + <td class="jd-typecol"><nobr> + + + + + class</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.RequestStatus.html">LineageWeatherManager.RequestStatus</a></td> + <td class="jd-descrcol" width="100%"> + The different request statuses + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-8" > + <td class="jd-typecol"><nobr> + + + + + interface</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html">LineageWeatherManager.WeatherServiceProviderChangeListener</a></td> + <td class="jd-descrcol" width="100%"> + Interface used to be notified when the user changes the weather service provider + + + + + </td> + </tr> + + + <tr class=" api apilevel-8" > + <td class="jd-typecol"><nobr> + + + + + interface</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherUpdateRequestListener.html">LineageWeatherManager.WeatherUpdateRequestListener</a></td> + <td class="jd-descrcol" width="100%"> + Interface used to receive notifications upon completion of a weather update request + + + + + </td> + </tr> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!-- ========== METHOD SUMMARY =========== --> +<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> + + + + + <tr class="alt-color api apilevel-8" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/LineageWeatherManager.html#cancelRequest(int)">cancelRequest</a></span>(int requestId)</nobr> + + <div class="jd-descrdiv"> + Cancels a request that was previously submitted to the weather service. + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-8" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/LineageWeatherManager.html#getActiveWeatherServiceProviderLabel()">getActiveWeatherServiceProviderLabel</a></span>()</nobr> + + <div class="jd-descrdiv"> + Gets the service's label as declared by the active weather service provider in its manifest + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-8" > + <td class="jd-typecol"><nobr> + + + + static + + <a href="../../../reference/lineageos/weather/LineageWeatherManager.html">LineageWeatherManager</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/LineageWeatherManager.html#getInstance(android.content.Context)">getInstance</a></span>(Context context)</nobr> + + <div class="jd-descrdiv"> + Gets or creates an instance of the <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.html">LineageWeatherManager</a></code> + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-8" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/LineageWeatherManager.html#lookupCity(java.lang.String, lineageos.weather.LineageWeatherManager.LookupCityRequestListener)">lookupCity</a></span>(String city, <a href="../../../reference/lineageos/weather/LineageWeatherManager.LookupCityRequestListener.html">LineageWeatherManager.LookupCityRequestListener</a> listener)</nobr> + + <div class="jd-descrdiv"> + Request the active weather provider service to lookup the supplied city name. + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-8" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/LineageWeatherManager.html#registerWeatherServiceProviderChangeListener(lineageos.weather.LineageWeatherManager.WeatherServiceProviderChangeListener)">registerWeatherServiceProviderChangeListener</a></span>(<a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html">LineageWeatherManager.WeatherServiceProviderChangeListener</a> listener)</nobr> + + <div class="jd-descrdiv"> + Registers a <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html">LineageWeatherManager.WeatherServiceProviderChangeListener</a></code> to be notified when a new weather + service provider becomes active. + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-8" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/LineageWeatherManager.html#requestWeatherUpdate(android.location.Location, lineageos.weather.LineageWeatherManager.WeatherUpdateRequestListener)">requestWeatherUpdate</a></span>(Location location, <a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherUpdateRequestListener.html">LineageWeatherManager.WeatherUpdateRequestListener</a> listener)</nobr> + + <div class="jd-descrdiv"> + Forces the weather service to request the latest available weather information for + the supplied <code><a href="../../../reference/android/location/Location.html">Location</a></code> location. + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-8" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/LineageWeatherManager.html#requestWeatherUpdate(lineageos.weather.WeatherLocation, lineageos.weather.LineageWeatherManager.WeatherUpdateRequestListener)">requestWeatherUpdate</a></span>(<a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a> weatherLocation, <a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherUpdateRequestListener.html">LineageWeatherManager.WeatherUpdateRequestListener</a> listener)</nobr> + + <div class="jd-descrdiv"> + Forces the weather service to request the latest weather information for the provided + WeatherLocation. + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-8" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/LineageWeatherManager.html#unregisterWeatherServiceProviderChangeListener(lineageos.weather.LineageWeatherManager.WeatherServiceProviderChangeListener)">unregisterWeatherServiceProviderChangeListener</a></span>(<a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html">LineageWeatherManager.WeatherServiceProviderChangeListener</a> listener)</nobr> + + <div class="jd-descrdiv"> + Unregisters a listener + + + + </div> + + </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<?></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 ======== --> +<!-- Protected ctors --> + + + +<!-- ========= METHOD DETAIL ======== --> +<!-- Public methdos --> + +<h2>Public Methods</h2> + + + +<A NAME="cancelRequest(int)"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">cancelRequest</span> + <span class="normal">(int requestId)</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Cancels a request that was previously submitted to the weather service.</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>requestId</code></td> + <td width="100%"> + <code>int</code>: The ID that you received when the request was submitted +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getActiveWeatherServiceProviderLabel()"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">getActiveWeatherServiceProviderLabel</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 8</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Gets the service's label as declared by the active weather service provider in its manifest</p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%">the service's label +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getInstance(android.content.Context)"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + + + + <a href="../../../reference/lineageos/weather/LineageWeatherManager.html">LineageWeatherManager</a> + </span> + <span class="sympad">getInstance</span> + <span class="normal">(Context context)</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Gets or creates an instance of the <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.html">LineageWeatherManager</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/weather/LineageWeatherManager.html">LineageWeatherManager</a></code></td> + <td width="100%"><code><a href="../../../reference/lineageos/weather/LineageWeatherManager.html">LineageWeatherManager</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="lookupCity(java.lang.String, lineageos.weather.LineageWeatherManager.LookupCityRequestListener)"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">lookupCity</span> + <span class="normal">(String city, <a href="../../../reference/lineageos/weather/LineageWeatherManager.LookupCityRequestListener.html">LineageWeatherManager.LookupCityRequestListener</a> listener)</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Request the active weather provider service to lookup the supplied city name.</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>city</code></td> + <td width="100%"> + <code>String</code>: The city name</td> + </tr> + <tr> + <td><code>listener</code></td> + <td width="100%"> + <code>LineageWeatherManager.LookupCityRequestListener</code>: <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.LookupCityRequestListener.html">LineageWeatherManager.LookupCityRequestListener</a></code> To be notified once the request has been + completed. Upon success, a list of + <code><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></code> + will be provided</td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%">An integer that identifies the request submitted to the weather service. + Note that this method might return -1 if an error occurred while trying to submit + the request. +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="registerWeatherServiceProviderChangeListener(lineageos.weather.LineageWeatherManager.WeatherServiceProviderChangeListener)"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">registerWeatherServiceProviderChangeListener</span> + <span class="normal">(<a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html">LineageWeatherManager.WeatherServiceProviderChangeListener</a> listener)</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Registers a <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html">LineageWeatherManager.WeatherServiceProviderChangeListener</a></code> to be notified when a new weather + service provider becomes active.</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>listener</code></td> + <td width="100%"> + <code>LineageWeatherManager.WeatherServiceProviderChangeListener</code>: <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html">LineageWeatherManager.WeatherServiceProviderChangeListener</a></code> to register +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="requestWeatherUpdate(android.location.Location, lineageos.weather.LineageWeatherManager.WeatherUpdateRequestListener)"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">requestWeatherUpdate</span> + <span class="normal">(Location location, <a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherUpdateRequestListener.html">LineageWeatherManager.WeatherUpdateRequestListener</a> listener)</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Forces the weather service to request the latest available weather information for + the supplied <code><a href="../../../reference/android/location/Location.html">Location</a></code> location.</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>location</code></td> + <td width="100%"> + <code>Location</code>: The location you want to get the latest weather data from.</td> + </tr> + <tr> + <td><code>listener</code></td> + <td width="100%"> + <code>LineageWeatherManager.WeatherUpdateRequestListener</code>: <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherUpdateRequestListener.html">LineageWeatherManager.WeatherUpdateRequestListener</a></code> To be notified once the active weather + service provider has finished + processing your request</td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%">An integer that identifies the request submitted to the weather service + Note that this method might return -1 if an error occurred while trying to submit + the request. +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="requestWeatherUpdate(lineageos.weather.WeatherLocation, lineageos.weather.LineageWeatherManager.WeatherUpdateRequestListener)"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">requestWeatherUpdate</span> + <span class="normal">(<a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a> weatherLocation, <a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherUpdateRequestListener.html">LineageWeatherManager.WeatherUpdateRequestListener</a> listener)</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Forces the weather service to request the latest weather information for the provided + WeatherLocation. This is the preferred method for requesting a weather update.</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>weatherLocation</code></td> + <td width="100%"> + <code>WeatherLocation</code>: A <code><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></code> that was previously + obtained by calling + <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.html#lookupCity(java.lang.String, lineageos.weather.LineageWeatherManager.LookupCityRequestListener)">lookupCity(String, LookupCityRequestListener)</a></code></td> + </tr> + <tr> + <td><code>listener</code></td> + <td width="100%"> + <code>LineageWeatherManager.WeatherUpdateRequestListener</code>: <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherUpdateRequestListener.html">LineageWeatherManager.WeatherUpdateRequestListener</a></code> To be notified once the active weather + service provider has finished + processing your request</td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%">An integer that identifies the request submitted to the weather service. + Note that this method might return -1 if an error occurred while trying to submit + the request. +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="unregisterWeatherServiceProviderChangeListener(lineageos.weather.LineageWeatherManager.WeatherServiceProviderChangeListener)"></A> + +<div class="jd-details api apilevel-8"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">unregisterWeatherServiceProviderChangeListener</span> + <span class="normal">(<a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html">LineageWeatherManager.WeatherServiceProviderChangeListener</a> listener)</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 8</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Unregisters a listener</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>listener</code></td> + <td width="100%"> + <code>LineageWeatherManager.WeatherServiceProviderChangeListener</code>: A previously registered <code><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html">LineageWeatherManager.WeatherServiceProviderChangeListener</a></code> +</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> diff --git a/reference/lineageos/weather/RequestInfo.html b/reference/lineageos/weather/RequestInfo.html new file mode 100644 index 00000000..7b6da2fe --- /dev/null +++ b/reference/lineageos/weather/RequestInfo.html @@ -0,0 +1,1688 @@ +<!-- ################ 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>RequestInfo | 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="selected 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="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="#constants">Constants</a> + + + + | <a href="#inhconstants">Inherited Constants</a> + + + + | <a href="#lfields">Fields</a> + + + + + + + | <a href="#pubmethods">Methods</a> + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <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 + + final + + class +<h1 itemprop="name">RequestInfo</h1> + + + + + extends Object<br/> + + + + + + + implements + + Parcelable + + + + + + + + +</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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.weather.RequestInfo</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">This class holds the information of a request submitted to the active weather provider service +</p> + + + + + +</div><!-- jd-descr --> + + + + + + + + + + + + + + + + +<div class="jd-descr"> + + +<h2>Summary</h2> + + + + + + + + + + + + + +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<table id="constants" class="jd-sumtable"><tr><th colspan="12">Constants</th></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/RequestInfo.html#TYPE_LOOKUP_CITY_NAME_REQ">TYPE_LOOKUP_CITY_NAME_REQ</a></td> + <td class="jd-descrcol" width="100%"> + A request to look up a city name + + + + + </td> + </tr> + + + <tr class=" api apilevel-5" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/RequestInfo.html#TYPE_WEATHER_BY_GEO_LOCATION_REQ">TYPE_WEATHER_BY_GEO_LOCATION_REQ</a></td> + <td class="jd-descrcol" width="100%"> + A request to update the weather data using a geographical <code><a href="../../../reference/android/location/Location.html">Location</a></code> + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/RequestInfo.html#TYPE_WEATHER_BY_WEATHER_LOCATION_REQ">TYPE_WEATHER_BY_WEATHER_LOCATION_REQ</a></td> + <td class="jd-descrcol" width="100%"> + A request to update the weather data using a <code><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></code> + + + + + </td> + </tr> + + + +</table> + + + + + +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<table id="inhconstants" class="jd-sumtable"><tr><th> + <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> + <div style="clear:left;">Inherited Constants</div></th></tr> + + + + +<tr class="api apilevel-" > +<td colspan="12"> + + <a href="#" id="inherited-constants-android.os.Parcelable" class="jd-expando-trigger closed" > + <img id="inherited-constants-android.os.Parcelable-trigger" class="jd-expando-trigger-img" + height="34" + src="../../../assets/images/styles/disclosure_down.png" /> + </a>From interface +android.os.Parcelable +<div id="inherited-constants-android.os.Parcelable"> + <div id="inherited-constants-android.os.Parcelable-list" + class="jd-inheritedlinks"> + </div> + <div id="inherited-constants-android.os.Parcelable-summary" style="display: none;"> + <table class="jd-sumtable-expando"> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol">CONTENTS_FILE_DESCRIPTOR</td> + <td class="jd-descrcol" width="100%"> + + + + + </td> + </tr> + + + <tr class=" api apilevel-" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol">PARCELABLE_ELIDE_DUPLICATES</td> + <td class="jd-descrcol" width="100%"> + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol">PARCELABLE_WRITE_RETURN_VALUE</td> + <td class="jd-descrcol" width="100%"> + + + + + </td> + </tr> + + +</table> + </div> +</div> +</td></tr> + + +</table> + + + + +<!-- =========== FIELD SUMMARY =========== --> +<table id="lfields" class="jd-sumtable"><tr><th colspan="12">Fields</th></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + public + static + final + Creator<<a href="../../../reference/lineageos/weather/RequestInfo.html">RequestInfo</a>></nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/RequestInfo.html#CREATOR">CREATOR</a></td> + <td class="jd-descrcol" width="100%"> + + + + + </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> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/RequestInfo.html#describeContents()">describeContents</a></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"><a href="../../../reference/lineageos/weather/RequestInfo.html#equals(java.lang.Object)">equals</a></span>(Object obj)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/RequestInfo.html#getCityName()">getCityName</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + Location</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/RequestInfo.html#getLocation()">getLocation</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/RequestInfo.html#getRequestType()">getRequestType</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/RequestInfo.html#getTemperatureUnit()">getTemperatureUnit</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/RequestInfo.html#getWeatherLocation()">getWeatherLocation</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/RequestInfo.html#hashCode()">hashCode</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/RequestInfo.html#toString()">toString</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/RequestInfo.html#writeToParcel(android.os.Parcel, int)">writeToParcel</a></span>(Parcel dest, int flags)</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<?></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> + + + +<tr class="api apilevel-" > +<td colspan="12"> + <a href="#" id="inherited-methods-android.os.Parcelable" class="jd-expando-trigger closed" > + <img id="inherited-methods-android.os.Parcelable-trigger" class="jd-expando-trigger-img" + height="34" + src="../../../assets/images/styles/disclosure_down.png" /> + </a> +From interface + + android.os.Parcelable + +<div id="inherited-methods-android.os.Parcelable"> + <div id="inherited-methods-android.os.Parcelable-list" + class="jd-inheritedlinks"> + </div> + <div id="inherited-methods-android.os.Parcelable-summary" style="display: none;"> + <table class="jd-sumtable-expando"> + + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + abstract + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">describeContents</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + abstract + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">writeToParcel</span>(Parcel arg0, int arg1)</nobr> + + </td></tr> + + +</table> + </div> +</div> +</td></tr> + + +</table> + + +</div><!-- jd-descr (summary) --> + +<!-- Details --> + + + + + + + + +<!-- XML Attributes --> + + +<!-- Enum Values --> + + +<!-- Constants --> + + +<!-- ========= ENUM CONSTANTS DETAIL ======== --> +<h2>Constants</h2> + + + + +<A NAME="TYPE_LOOKUP_CITY_NAME_REQ"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + TYPE_LOOKUP_CITY_NAME_REQ + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>A request to look up a city name +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 3 + (0x00000003) + + </span> + </div> + + </div> +</div> + + + +<A NAME="TYPE_WEATHER_BY_GEO_LOCATION_REQ"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + TYPE_WEATHER_BY_GEO_LOCATION_REQ + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>A request to update the weather data using a geographical <code><a href="../../../reference/android/location/Location.html">Location</a></code> +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 1 + (0x00000001) + + </span> + </div> + + </div> +</div> + + + +<A NAME="TYPE_WEATHER_BY_WEATHER_LOCATION_REQ"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + TYPE_WEATHER_BY_WEATHER_LOCATION_REQ + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>A request to update the weather data using a <code><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></code> +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 2 + (0x00000002) + + </span> + </div> + + </div> +</div> + + + + +<!-- Fields --> + + +<!-- ========= FIELD DETAIL ======== --> +<h2>Fields</h2> + + + + +<A NAME="CREATOR"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + Creator<<a href="../../../reference/lineageos/weather/RequestInfo.html">RequestInfo</a>> + </span> + CREATOR + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + + + </div> +</div> + + + + +<!-- Public ctors --> + + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<!-- Protected ctors --> + + + +<!-- ========= METHOD DETAIL ======== --> +<!-- Public methdos --> + +<h2>Public Methods</h2> + + + +<A NAME="describeContents()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">describeContents</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="equals(java.lang.Object)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + boolean + </span> + <span class="sympad">equals</span> + <span class="normal">(Object obj)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>obj</code></td> + <td width="100%"> + <code>Object</code> <!-- no parameter comment --></td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>boolean</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getCityName()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">getCityName</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%">the city name if this is a lookup request, null otherwise +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getLocation()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + Location + </span> + <span class="sympad">getLocation</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>Location</code></td> + <td width="100%">the <code><a href="../../../reference/android/location/Location.html">Location</a></code> if this is a request by location, null + otherwise +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getRequestType()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">getRequestType</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%">The request type +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getTemperatureUnit()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">getTemperatureUnit</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%">the temperature unit if this is a weather request, -1 otherwise +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getWeatherLocation()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a> + </span> + <span class="sympad">getWeatherLocation</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></code></td> + <td width="100%">the <code><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></code> if this is a request by weather + location, null otherwise +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="hashCode()"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">hashCode</span> + <span class="normal">()</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="toString()"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">toString</span> + <span class="normal">()</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="writeToParcel(android.os.Parcel, int)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">writeToParcel</span> + <span class="normal">(Parcel dest, int flags)</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>dest</code></td> + <td width="100%"> + <code>Parcel</code> <!-- no parameter comment --></td> + </tr> + <tr> + <td><code>flags</code></td> + <td width="100%"> + <code>int</code> <!-- no parameter comment --></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> 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> + + + + + | <a href="#pubmethods">Methods</a> + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <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"> ↳</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<<a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a>> 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<?></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<<a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a>> 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> diff --git a/reference/lineageos/weather/WeatherInfo.DayForecast.Builder.html b/reference/lineageos/weather/WeatherInfo.DayForecast.Builder.html new file mode 100644 index 00000000..56842f75 --- /dev/null +++ b/reference/lineageos/weather/WeatherInfo.DayForecast.Builder.html @@ -0,0 +1,987 @@ +<!-- ################ 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.DayForecast.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="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="selected 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> + + + + + | <a href="#pubmethods">Methods</a> + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <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.DayForecast.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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.weather.WeatherInfo.DayForecast.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.DayForecast.html">WeatherInfo.DayForecast</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.DayForecast.Builder.html#WeatherInfo.DayForecast.Builder(int)">WeatherInfo.DayForecast.Builder</a></span>(int conditionCode)</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.DayForecast.html">WeatherInfo.DayForecast</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.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.DayForecast.html">WeatherInfo.DayForecast</a></code> + object + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.Builder.html">WeatherInfo.DayForecast.Builder</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.Builder.html#setHigh(double)">setHigh</a></span>(double high)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.Builder.html">WeatherInfo.DayForecast.Builder</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.Builder.html#setLow(double)">setLow</a></span>(double low)</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<?></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.DayForecast.Builder(int)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + + </span> + <span class="sympad">WeatherInfo.DayForecast.Builder</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 + values. Attempting to pass an invalid code 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.DayForecast.html">WeatherInfo.DayForecast</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.DayForecast.html">WeatherInfo.DayForecast</a></code> + object</p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a></code></td> + <td width="100%"><code><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="setHigh(double)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.Builder.html">WeatherInfo.DayForecast.Builder</a> + </span> + <span class="sympad">setHigh</span> + <span class="normal">(double high)</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>high</code></td> + <td width="100%"> + <code>double</code>: Forecast high temperature for this day. 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.DayForecast.Builder.html">WeatherInfo.DayForecast.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="setLow(double)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.Builder.html">WeatherInfo.DayForecast.Builder</a> + </span> + <span class="sympad">setLow</span> + <span class="normal">(double low)</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>low</code></td> + <td width="100%"> + <code>double</code>: Forecast low temperate for this day. 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.DayForecast.Builder.html">WeatherInfo.DayForecast.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> diff --git a/reference/lineageos/weather/WeatherInfo.DayForecast.html b/reference/lineageos/weather/WeatherInfo.DayForecast.html new file mode 100644 index 00000000..4a506d94 --- /dev/null +++ b/reference/lineageos/weather/WeatherInfo.DayForecast.html @@ -0,0 +1,1417 @@ +<!-- ################ 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.DayForecast | 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="api apilevel-5"><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></li> + <li class="selected 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="#nestedclasses">Nested Classes</a> + + + + + + + + | <a href="#inhconstants">Inherited Constants</a> + + + + | <a href="#lfields">Fields</a> + + + + + + + | <a href="#pubmethods">Methods</a> + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <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.DayForecast</h1> + + + + + extends Object<br/> + + + + + + + implements + + Parcelable + + + + + + + + +</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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.weather.WeatherInfo.DayForecast</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">This class represents the weather forecast for a given day. Do not add low and high + temperatures for the current day in this list. Use + <code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html#setTodaysHigh(double)">setTodaysHigh(double)</a></code> and + <code><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html#setTodaysLow(double)">setTodaysLow(double)</a></code> instead. +</p> + + + + + +</div><!-- jd-descr --> + + + + + + + + + + + + + + + + +<div class="jd-descr"> + + +<h2>Summary</h2> + + + +<!-- ======== NESTED CLASS SUMMARY ======== --> +<table id="nestedclasses" class="jd-sumtable"><tr><th colspan="12">Nested Classes</th></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + class</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.Builder.html">WeatherInfo.DayForecast.Builder</a></td> + <td class="jd-descrcol" width="100%"> + Builder class for <code><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a></code> + + + + + </td> + </tr> + + + + + + + + + + + + + + + + + + +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<table id="inhconstants" class="jd-sumtable"><tr><th> + <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> + <div style="clear:left;">Inherited Constants</div></th></tr> + + + + +<tr class="api apilevel-" > +<td colspan="12"> + + <a href="#" id="inherited-constants-android.os.Parcelable" class="jd-expando-trigger closed" > + <img id="inherited-constants-android.os.Parcelable-trigger" class="jd-expando-trigger-img" + height="34" + src="../../../assets/images/styles/disclosure_down.png" /> + </a>From interface +android.os.Parcelable +<div id="inherited-constants-android.os.Parcelable"> + <div id="inherited-constants-android.os.Parcelable-list" + class="jd-inheritedlinks"> + </div> + <div id="inherited-constants-android.os.Parcelable-summary" style="display: none;"> + <table class="jd-sumtable-expando"> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol">CONTENTS_FILE_DESCRIPTOR</td> + <td class="jd-descrcol" width="100%"> + + + + + </td> + </tr> + + + <tr class=" api apilevel-" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol">PARCELABLE_ELIDE_DUPLICATES</td> + <td class="jd-descrcol" width="100%"> + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol">PARCELABLE_WRITE_RETURN_VALUE</td> + <td class="jd-descrcol" width="100%"> + + + + + </td> + </tr> + + +</table> + </div> +</div> +</td></tr> + + +</table> + + + + +<!-- =========== FIELD SUMMARY =========== --> +<table id="lfields" class="jd-sumtable"><tr><th colspan="12">Fields</th></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + public + static + final + Creator<<a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a>></nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html#CREATOR">CREATOR</a></td> + <td class="jd-descrcol" width="100%"> + + + + + </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> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html#describeContents()">describeContents</a></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"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html#equals(java.lang.Object)">equals</a></span>(Object obj)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html#getConditionCode()">getConditionCode</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + double</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html#getHigh()">getHigh</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + double</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html#getLow()">getLow</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html#hashCode()">hashCode</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html#toString()">toString</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html#writeToParcel(android.os.Parcel, int)">writeToParcel</a></span>(Parcel dest, int flags)</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<?></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> + + + +<tr class="api apilevel-" > +<td colspan="12"> + <a href="#" id="inherited-methods-android.os.Parcelable" class="jd-expando-trigger closed" > + <img id="inherited-methods-android.os.Parcelable-trigger" class="jd-expando-trigger-img" + height="34" + src="../../../assets/images/styles/disclosure_down.png" /> + </a> +From interface + + android.os.Parcelable + +<div id="inherited-methods-android.os.Parcelable"> + <div id="inherited-methods-android.os.Parcelable-list" + class="jd-inheritedlinks"> + </div> + <div id="inherited-methods-android.os.Parcelable-summary" style="display: none;"> + <table class="jd-sumtable-expando"> + + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + abstract + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">describeContents</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + abstract + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">writeToParcel</span>(Parcel arg0, int arg1)</nobr> + + </td></tr> + + +</table> + </div> +</div> +</td></tr> + + +</table> + + +</div><!-- jd-descr (summary) --> + +<!-- Details --> + + + + + + + + +<!-- XML Attributes --> + + +<!-- Enum Values --> + + +<!-- Constants --> + + +<!-- Fields --> + + +<!-- ========= FIELD DETAIL ======== --> +<h2>Fields</h2> + + + + +<A NAME="CREATOR"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + Creator<<a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a>> + </span> + CREATOR + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + + + </div> +</div> + + + + +<!-- Public ctors --> + + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<!-- Protected ctors --> + + + +<!-- ========= METHOD DETAIL ======== --> +<!-- Public methdos --> + +<h2>Public Methods</h2> + + + +<A NAME="describeContents()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">describeContents</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="equals(java.lang.Object)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + boolean + </span> + <span class="sympad">equals</span> + <span class="normal">(Object obj)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>obj</code></td> + <td width="100%"> + <code>Object</code> <!-- no parameter comment --></td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>boolean</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getConditionCode()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">getConditionCode</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%">forecasted weather condition code. Implementation specific +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getHigh()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + double + </span> + <span class="sympad">getHigh</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>double</code></td> + <td width="100%">not what you think. Returns the forecasted high temperature +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getLow()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + double + </span> + <span class="sympad">getLow</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>double</code></td> + <td width="100%">forecasted low temperature +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="hashCode()"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">hashCode</span> + <span class="normal">()</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="toString()"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">toString</span> + <span class="normal">()</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="writeToParcel(android.os.Parcel, int)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">writeToParcel</span> + <span class="normal">(Parcel dest, int flags)</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>dest</code></td> + <td width="100%"> + <code>Parcel</code> <!-- no parameter comment --></td> + </tr> + <tr> + <td><code>flags</code></td> + <td width="100%"> + <code>int</code> <!-- no parameter comment --></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> diff --git a/reference/lineageos/weather/WeatherInfo.html b/reference/lineageos/weather/WeatherInfo.html new file mode 100644 index 00000000..9067e8f6 --- /dev/null +++ b/reference/lineageos/weather/WeatherInfo.html @@ -0,0 +1,1953 @@ +<!-- ################ 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 | 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="selected api apilevel-5"><a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a></li> + <li class="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="#nestedclasses">Nested Classes</a> + + + + + + + + | <a href="#inhconstants">Inherited Constants</a> + + + + | <a href="#lfields">Fields</a> + + + + + + + | <a href="#pubmethods">Methods</a> + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <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 + + final + + class +<h1 itemprop="name">WeatherInfo</h1> + + + + + extends Object<br/> + + + + + + + implements + + Parcelable + + + + + + + + +</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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.weather.WeatherInfo</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">This class represents the weather information that a + <code><a href="../../../reference/lineageos/weatherservice/WeatherProviderService.html">WeatherProviderService</a></code> will use to update the weather content + provider. A weather provider service will be called by the system to process an update + request at any time. If the service successfully processes the request, then the weather provider + service is responsible of calling + <code><a href="../../../reference/lineageos/weatherservice/ServiceRequest.html#complete(lineageos.weatherservice.ServiceRequestResult)">complete(ServiceRequestResult)</a></code> to notify the + system that the request was completed and that the weather content provider should be updated + with the supplied weather information. +</p> + + + + + +</div><!-- jd-descr --> + + + + + + + + + + + + + + + + +<div class="jd-descr"> + + +<h2>Summary</h2> + + + +<!-- ======== NESTED CLASS SUMMARY ======== --> +<table id="nestedclasses" class="jd-sumtable"><tr><th colspan="12">Nested Classes</th></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + class</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></td> + <td class="jd-descrcol" width="100%"> + Builder class for <code><a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a></code> + + + + + </td> + </tr> + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + class</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a></td> + <td class="jd-descrcol" width="100%"> + This class represents the weather forecast for a given day. + + + + </td> + </tr> + + + + + + + + + + + + + + + + + + +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<table id="inhconstants" class="jd-sumtable"><tr><th> + <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> + <div style="clear:left;">Inherited Constants</div></th></tr> + + + + +<tr class="api apilevel-" > +<td colspan="12"> + + <a href="#" id="inherited-constants-android.os.Parcelable" class="jd-expando-trigger closed" > + <img id="inherited-constants-android.os.Parcelable-trigger" class="jd-expando-trigger-img" + height="34" + src="../../../assets/images/styles/disclosure_down.png" /> + </a>From interface +android.os.Parcelable +<div id="inherited-constants-android.os.Parcelable"> + <div id="inherited-constants-android.os.Parcelable-list" + class="jd-inheritedlinks"> + </div> + <div id="inherited-constants-android.os.Parcelable-summary" style="display: none;"> + <table class="jd-sumtable-expando"> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol">CONTENTS_FILE_DESCRIPTOR</td> + <td class="jd-descrcol" width="100%"> + + + + + </td> + </tr> + + + <tr class=" api apilevel-" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol">PARCELABLE_ELIDE_DUPLICATES</td> + <td class="jd-descrcol" width="100%"> + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol">PARCELABLE_WRITE_RETURN_VALUE</td> + <td class="jd-descrcol" width="100%"> + + + + + </td> + </tr> + + +</table> + </div> +</div> +</td></tr> + + +</table> + + + + +<!-- =========== FIELD SUMMARY =========== --> +<table id="lfields" class="jd-sumtable"><tr><th colspan="12">Fields</th></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + public + static + final + Creator<<a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a>></nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/WeatherInfo.html#CREATOR">CREATOR</a></td> + <td class="jd-descrcol" width="100%"> + + + + + </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> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#describeContents()">describeContents</a></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"><a href="../../../reference/lineageos/weather/WeatherInfo.html#equals(java.lang.Object)">equals</a></span>(Object obj)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#getCity()">getCity</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#getConditionCode()">getConditionCode</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + List<<a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a>></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#getForecasts()">getForecasts</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + double</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#getHumidity()">getHumidity</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + double</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#getTemperature()">getTemperature</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#getTemperatureUnit()">getTemperatureUnit</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + long</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#getTimestamp()">getTimestamp</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + double</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#getTodaysHigh()">getTodaysHigh</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + double</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#getTodaysLow()">getTodaysLow</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + double</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#getWindDirection()">getWindDirection</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + double</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#getWindSpeed()">getWindSpeed</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#getWindSpeedUnit()">getWindSpeedUnit</a></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"><a href="../../../reference/lineageos/weather/WeatherInfo.html#hashCode()">hashCode</a></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"><a href="../../../reference/lineageos/weather/WeatherInfo.html#toString()">toString</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherInfo.html#writeToParcel(android.os.Parcel, int)">writeToParcel</a></span>(Parcel dest, int flags)</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<?></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> + + + +<tr class="api apilevel-" > +<td colspan="12"> + <a href="#" id="inherited-methods-android.os.Parcelable" class="jd-expando-trigger closed" > + <img id="inherited-methods-android.os.Parcelable-trigger" class="jd-expando-trigger-img" + height="34" + src="../../../assets/images/styles/disclosure_down.png" /> + </a> +From interface + + android.os.Parcelable + +<div id="inherited-methods-android.os.Parcelable"> + <div id="inherited-methods-android.os.Parcelable-list" + class="jd-inheritedlinks"> + </div> + <div id="inherited-methods-android.os.Parcelable-summary" style="display: none;"> + <table class="jd-sumtable-expando"> + + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + abstract + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">describeContents</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + abstract + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">writeToParcel</span>(Parcel arg0, int arg1)</nobr> + + </td></tr> + + +</table> + </div> +</div> +</td></tr> + + +</table> + + +</div><!-- jd-descr (summary) --> + +<!-- Details --> + + + + + + + + +<!-- XML Attributes --> + + +<!-- Enum Values --> + + +<!-- Constants --> + + +<!-- Fields --> + + +<!-- ========= FIELD DETAIL ======== --> +<h2>Fields</h2> + + + + +<A NAME="CREATOR"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + Creator<<a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a>> + </span> + CREATOR + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + + + </div> +</div> + + + + +<!-- Public ctors --> + + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<!-- Protected ctors --> + + + +<!-- ========= METHOD DETAIL ======== --> +<!-- Public methdos --> + +<h2>Public Methods</h2> + + + +<A NAME="describeContents()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">describeContents</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="equals(java.lang.Object)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + boolean + </span> + <span class="sympad">equals</span> + <span class="normal">(Object obj)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>obj</code></td> + <td width="100%"> + <code>Object</code> <!-- no parameter comment --></td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>boolean</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getCity()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">getCity</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%">city name +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getConditionCode()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">getConditionCode</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%">An implementation specific weather condition code +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getForecasts()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + List<<a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a>> + </span> + <span class="sympad">getForecasts</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>List<<a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a>></code></td> + <td width="100%">List of <code><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a></code>. This list will contain + the forecast weather for the upcoming days. If you want to know today's high and low + temperatures, use <code><a href="../../../reference/lineageos/weather/WeatherInfo.html#getTodaysHigh()">getTodaysHigh()</a></code> and <code><a href="../../../reference/lineageos/weather/WeatherInfo.html#getTodaysLow()">getTodaysLow()</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getHumidity()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + double + </span> + <span class="sympad">getHumidity</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>double</code></td> + <td width="100%">humidity +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getTemperature()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + double + </span> + <span class="sympad">getTemperature</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>double</code></td> + <td width="100%">current temperature +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getTemperatureUnit()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">getTemperatureUnit</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%">temperature unit +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getTimestamp()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + long + </span> + <span class="sympad">getTimestamp</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>long</code></td> + <td width="100%">time stamp when the request was processed +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getTodaysHigh()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + double + </span> + <span class="sympad">getTodaysHigh</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>double</code></td> + <td width="100%">today's high temperature +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getTodaysLow()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + double + </span> + <span class="sympad">getTodaysLow</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>double</code></td> + <td width="100%">today's low temperature +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getWindDirection()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + double + </span> + <span class="sympad">getWindDirection</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>double</code></td> + <td width="100%">wind direction (degrees) +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getWindSpeed()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + double + </span> + <span class="sympad">getWindSpeed</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>double</code></td> + <td width="100%">wind speed +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getWindSpeedUnit()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">getWindSpeedUnit</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%">wind speed unit +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="hashCode()"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">hashCode</span> + <span class="normal">()</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="toString()"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">toString</span> + <span class="normal">()</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="writeToParcel(android.os.Parcel, int)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">writeToParcel</span> + <span class="normal">(Parcel dest, int flags)</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>dest</code></td> + <td width="100%"> + <code>Parcel</code> <!-- no parameter comment --></td> + </tr> + <tr> + <td><code>flags</code></td> + <td width="100%"> + <code>int</code> <!-- no parameter comment --></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> diff --git a/reference/lineageos/weather/WeatherLocation.Builder.html b/reference/lineageos/weather/WeatherLocation.Builder.html new file mode 100644 index 00000000..ac9049c6 --- /dev/null +++ b/reference/lineageos/weather/WeatherLocation.Builder.html @@ -0,0 +1,1176 @@ +<!-- ################ 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>WeatherLocation.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="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="selected 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> + + + + + | <a href="#pubmethods">Methods</a> + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <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">WeatherLocation.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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.weather.WeatherLocation.Builder</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">Builder class for <code><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</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/WeatherLocation.Builder.html#WeatherLocation.Builder(java.lang.String, java.lang.String)">WeatherLocation.Builder</a></span>(String cityId, String cityName)</nobr> + + </td></tr> + + + + <tr class=" 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/WeatherLocation.Builder.html#WeatherLocation.Builder(java.lang.String)">WeatherLocation.Builder</a></span>(String cityName)</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/WeatherLocation.html">WeatherLocation</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherLocation.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/WeatherLocation.html">WeatherLocation</a></code> + object + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html#setCountry(java.lang.String)">setCountry</a></span>(String country)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html#setCountryId(java.lang.String)">setCountryId</a></span>(String countryId)</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html#setPostalCode(java.lang.String)">setPostalCode</a></span>(String postalCode)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html#setState(java.lang.String)">setState</a></span>(String state)</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<?></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="WeatherLocation.Builder(java.lang.String, java.lang.String)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + + </span> + <span class="sympad">WeatherLocation.Builder</span> + <span class="normal">(String cityId, String cityName)</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>cityId</code></td> + <td width="100%"> + <code>String</code>: An identifier for the city (for example WOEID - Where On Earth IDentifier)</td> + </tr> + <tr> + <td><code>cityName</code></td> + <td width="100%"> + <code>String</code>: The name of the city +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="WeatherLocation.Builder(java.lang.String)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + + </span> + <span class="sympad">WeatherLocation.Builder</span> + <span class="normal">(String cityName)</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>: The name of the city +</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/WeatherLocation.html">WeatherLocation</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/WeatherLocation.html">WeatherLocation</a></code> + object</p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></code></td> + <td width="100%"><code><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="setCountry(java.lang.String)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a> + </span> + <span class="sympad">setCountry</span> + <span class="normal">(String country)</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>country</code></td> + <td width="100%"> + <code>String</code>: The country name</td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></code></td> + <td width="100%">The <code><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></code> instance +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="setCountryId(java.lang.String)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a> + </span> + <span class="sympad">setCountryId</span> + <span class="normal">(String countryId)</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>countryId</code></td> + <td width="100%"> + <code>String</code>: An identifier for the country (for example ISO alpha-2, ISO alpha-3, + ISO 3166-1 numeric-3, etc)</td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></code></td> + <td width="100%">The <code><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></code> instance +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="setPostalCode(java.lang.String)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a> + </span> + <span class="sympad">setPostalCode</span> + <span class="normal">(String postalCode)</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>postalCode</code></td> + <td width="100%"> + <code>String</code>: The postal/ZIP code</td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></code></td> + <td width="100%">The <code><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></code> instance +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="setState(java.lang.String)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a> + </span> + <span class="sympad">setState</span> + <span class="normal">(String state)</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>state</code></td> + <td width="100%"> + <code>String</code>: The state or territory where the city is located</td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></code></td> + <td width="100%">The <code><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.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> diff --git a/reference/lineageos/weather/WeatherLocation.html b/reference/lineageos/weather/WeatherLocation.html new file mode 100644 index 00000000..c84e067b --- /dev/null +++ b/reference/lineageos/weather/WeatherLocation.html @@ -0,0 +1,1590 @@ +<!-- ################ 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>WeatherLocation | 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="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="selected 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="#nestedclasses">Nested Classes</a> + + + + + + + + | <a href="#inhconstants">Inherited Constants</a> + + + + | <a href="#lfields">Fields</a> + + + + + + + | <a href="#pubmethods">Methods</a> + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <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 + + final + + class +<h1 itemprop="name">WeatherLocation</h1> + + + + + extends Object<br/> + + + + + + + implements + + Parcelable + + + + + + + + +</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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.weather.WeatherLocation</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">A class representing a geographical location that a weather service provider can use to + get weather data from. Each service provider will potentially populate objects of this class + with different content, so make sure you don't preserve the values when a service provider + is changed +</p> + + + + + +</div><!-- jd-descr --> + + + + + + + + + + + + + + + + +<div class="jd-descr"> + + +<h2>Summary</h2> + + + +<!-- ======== NESTED CLASS SUMMARY ======== --> +<table id="nestedclasses" class="jd-sumtable"><tr><th colspan="12">Nested Classes</th></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + class</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></td> + <td class="jd-descrcol" width="100%"> + Builder class for <code><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></code> + + + + + </td> + </tr> + + + + + + + + + + + + + + + + + + +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<table id="inhconstants" class="jd-sumtable"><tr><th> + <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> + <div style="clear:left;">Inherited Constants</div></th></tr> + + + + +<tr class="api apilevel-" > +<td colspan="12"> + + <a href="#" id="inherited-constants-android.os.Parcelable" class="jd-expando-trigger closed" > + <img id="inherited-constants-android.os.Parcelable-trigger" class="jd-expando-trigger-img" + height="34" + src="../../../assets/images/styles/disclosure_down.png" /> + </a>From interface +android.os.Parcelable +<div id="inherited-constants-android.os.Parcelable"> + <div id="inherited-constants-android.os.Parcelable-list" + class="jd-inheritedlinks"> + </div> + <div id="inherited-constants-android.os.Parcelable-summary" style="display: none;"> + <table class="jd-sumtable-expando"> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol">CONTENTS_FILE_DESCRIPTOR</td> + <td class="jd-descrcol" width="100%"> + + + + + </td> + </tr> + + + <tr class=" api apilevel-" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol">PARCELABLE_ELIDE_DUPLICATES</td> + <td class="jd-descrcol" width="100%"> + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol">PARCELABLE_WRITE_RETURN_VALUE</td> + <td class="jd-descrcol" width="100%"> + + + + + </td> + </tr> + + +</table> + </div> +</div> +</td></tr> + + +</table> + + + + +<!-- =========== FIELD SUMMARY =========== --> +<table id="lfields" class="jd-sumtable"><tr><th colspan="12">Fields</th></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + public + static + final + Creator<<a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a>></nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/WeatherLocation.html#CREATOR">CREATOR</a></td> + <td class="jd-descrcol" width="100%"> + + + + + </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> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherLocation.html#describeContents()">describeContents</a></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"><a href="../../../reference/lineageos/weather/WeatherLocation.html#equals(java.lang.Object)">equals</a></span>(Object obj)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherLocation.html#getCity()">getCity</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherLocation.html#getCityId()">getCityId</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherLocation.html#getCountry()">getCountry</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherLocation.html#getCountryId()">getCountryId</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherLocation.html#getPostalCode()">getPostalCode</a></span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherLocation.html#getState()">getState</a></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"><a href="../../../reference/lineageos/weather/WeatherLocation.html#hashCode()">hashCode</a></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"><a href="../../../reference/lineageos/weather/WeatherLocation.html#toString()">toString</a></span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/weather/WeatherLocation.html#writeToParcel(android.os.Parcel, int)">writeToParcel</a></span>(Parcel dest, int flags)</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<?></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> + + + +<tr class="api apilevel-" > +<td colspan="12"> + <a href="#" id="inherited-methods-android.os.Parcelable" class="jd-expando-trigger closed" > + <img id="inherited-methods-android.os.Parcelable-trigger" class="jd-expando-trigger-img" + height="34" + src="../../../assets/images/styles/disclosure_down.png" /> + </a> +From interface + + android.os.Parcelable + +<div id="inherited-methods-android.os.Parcelable"> + <div id="inherited-methods-android.os.Parcelable-list" + class="jd-inheritedlinks"> + </div> + <div id="inherited-methods-android.os.Parcelable-summary" style="display: none;"> + <table class="jd-sumtable-expando"> + + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + abstract + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">describeContents</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + abstract + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">writeToParcel</span>(Parcel arg0, int arg1)</nobr> + + </td></tr> + + +</table> + </div> +</div> +</td></tr> + + +</table> + + +</div><!-- jd-descr (summary) --> + +<!-- Details --> + + + + + + + + +<!-- XML Attributes --> + + +<!-- Enum Values --> + + +<!-- Constants --> + + +<!-- Fields --> + + +<!-- ========= FIELD DETAIL ======== --> +<h2>Fields</h2> + + + + +<A NAME="CREATOR"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + Creator<<a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a>> + </span> + CREATOR + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + + + </div> +</div> + + + + +<!-- Public ctors --> + + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<!-- Protected ctors --> + + + +<!-- ========= METHOD DETAIL ======== --> +<!-- Public methdos --> + +<h2>Public Methods</h2> + + + +<A NAME="describeContents()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">describeContents</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="equals(java.lang.Object)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + boolean + </span> + <span class="sympad">equals</span> + <span class="normal">(Object obj)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>obj</code></td> + <td width="100%"> + <code>Object</code> <!-- no parameter comment --></td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>boolean</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getCity()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">getCity</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%">The city name. This method will return an empty string if the city name was not set +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getCityId()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">getCityId</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%">The city ID. This method will return an empty string if the city ID was not set +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getCountry()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">getCountry</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%">The country name. This method will return an empty string if the country ID was not + set +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getCountryId()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">getCountryId</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%">The country ID. This method will return an empty string if the country ID was not set +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getPostalCode()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">getPostalCode</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%">The postal/ZIP code. This method will return an empty string if the postal/ZIP code + was not set +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getState()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">getState</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></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%">The state name. This method will return an empty string if the state was not set +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="hashCode()"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">hashCode</span> + <span class="normal">()</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="toString()"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">toString</span> + <span class="normal">()</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="writeToParcel(android.os.Parcel, int)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">writeToParcel</span> + <span class="normal">(Parcel dest, int flags)</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>dest</code></td> + <td width="100%"> + <code>Parcel</code> <!-- no parameter comment --></td> + </tr> + <tr> + <td><code>flags</code></td> + <td width="100%"> + <code>int</code> <!-- no parameter comment --></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> diff --git a/reference/lineageos/weather/package-summary.html b/reference/lineageos/weather/package-summary.html new file mode 100644 index 00000000..016e2903 --- /dev/null +++ b/reference/lineageos/weather/package-summary.html @@ -0,0 +1,479 @@ +<!-- ################ 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>lineageos.weather | 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"> + <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="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="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> + + + +</div> +</div> + +<div id="jd-header"> + package + <h1>lineageos.weather</h1> +</div><!-- end header --> + +<div id="naMessage"></div> + +<div id="jd-content" class="api apilevel-5"> + + + + + + + + + + + <h2>Interfaces</h2> + <div class="jd-sumtable"> + + + <table class="jd-sumtable-expando"> + + <tr class="alt-color api apilevel-8" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.LookupCityRequestListener.html">LineageWeatherManager.LookupCityRequestListener</a></td> + <td class="jd-descrcol" width="100%"> + Interface used to receive notifications upon completion of a request to lookup a city name + + + + + </td> + </tr> + + + <tr class=" api apilevel-8" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherServiceProviderChangeListener.html">LineageWeatherManager.WeatherServiceProviderChangeListener</a></td> + <td class="jd-descrcol" width="100%"> + Interface used to be notified when the user changes the weather service provider + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-8" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.WeatherUpdateRequestListener.html">LineageWeatherManager.WeatherUpdateRequestListener</a></td> + <td class="jd-descrcol" width="100%"> + Interface used to receive notifications upon completion of a weather update request + + + + + </td> + </tr> + + + </table> + + </div> + + + + + <h2>Classes</h2> + <div class="jd-sumtable"> + + + <table class="jd-sumtable-expando"> + + <tr class="alt-color api apilevel-8" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.html">LineageWeatherManager</a></td> + <td class="jd-descrcol" width="100%"> + Provides access to the weather services in the device. + + + + </td> + </tr> + + + <tr class=" api apilevel-8" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/LineageWeatherManager.RequestStatus.html">LineageWeatherManager.RequestStatus</a></td> + <td class="jd-descrcol" width="100%"> + The different request statuses + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-5" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/RequestInfo.html">RequestInfo</a></td> + <td class="jd-descrcol" width="100%"> + This class holds the information of a request submitted to the active weather provider service + + + + + </td> + </tr> + + + <tr class=" api apilevel-5" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a></td> + <td class="jd-descrcol" width="100%"> + This class represents the weather information that a + <code><a href="../../../reference/lineageos/weatherservice/WeatherProviderService.html">WeatherProviderService</a></code> will use to update the weather content + provider. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-5" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/WeatherInfo.Builder.html">WeatherInfo.Builder</a></td> + <td class="jd-descrcol" width="100%"> + Builder class for <code><a href="../../../reference/lineageos/weather/WeatherInfo.html">WeatherInfo</a></code> + + + + + </td> + </tr> + + + <tr class=" api apilevel-5" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a></td> + <td class="jd-descrcol" width="100%"> + This class represents the weather forecast for a given day. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-5" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.Builder.html">WeatherInfo.DayForecast.Builder</a></td> + <td class="jd-descrcol" width="100%"> + Builder class for <code><a href="../../../reference/lineageos/weather/WeatherInfo.DayForecast.html">WeatherInfo.DayForecast</a></code> + + + + + </td> + </tr> + + + <tr class=" api apilevel-5" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></td> + <td class="jd-descrcol" width="100%"> + A class representing a geographical location that a weather service provider can use to + get weather data from. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-5" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/weather/WeatherLocation.Builder.html">WeatherLocation.Builder</a></td> + <td class="jd-descrcol" width="100%"> + Builder class for <code><a href="../../../reference/lineageos/weather/WeatherLocation.html">WeatherLocation</a></code> + + + + + </td> + </tr> + + + </table> + + </div> + + + + + + + + + + + + +<div id="footer"> + +</div> <!-- end footer --> + +</div><!-- end jd-content --> +</div><!-- doc-content --> + +</div> <!-- end body-content --> + +<script type="text/javascript"> +init(); /* initialize android-developer-docs.js */ +</script> + +</body> +</html> diff --git a/reference/lineageos/weather/util/WeatherUtils.html b/reference/lineageos/weather/util/WeatherUtils.html new file mode 100644 index 00000000..d5171cfe --- /dev/null +++ b/reference/lineageos/weather/util/WeatherUtils.html @@ -0,0 +1,980 @@ +<!-- ################ 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>WeatherUtils | 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="" 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="api apilevel-5"> + <a href="../../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li> + <li class="selected 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>Classes</h2> + <ul> + <li class="selected api apilevel-"><a href="../../../../reference/lineageos/weather/util/WeatherUtils.html">WeatherUtils</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> + + + + + | <a href="#pubmethods">Methods</a> + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + + + + class +<h1 itemprop="name">WeatherUtils</h1> + + + + + extends Object<br/> + + + + + + + + + + + + +</div><!-- end header --> + +<div id="naMessage"></div> + +<div id="jd-content" class="api apilevel-"> +<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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.weather.util.WeatherUtils</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">Helper class to perform operations and formatting of weather data +</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-" > + <td class="jd-typecol"><nobr> + + + + + + </nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../../reference/lineageos/weather/util/WeatherUtils.html#WeatherUtils()">WeatherUtils</a></span>()</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-" > + <td class="jd-typecol"><nobr> + + + + static + + double</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../../reference/lineageos/weather/util/WeatherUtils.html#celsiusToFahrenheit(double)">celsiusToFahrenheit</a></span>(double celsius)</nobr> + + <div class="jd-descrdiv"> + Converts a temperature expressed in degrees Celsius to degrees Fahrenheit + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + + static + + double</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../../reference/lineageos/weather/util/WeatherUtils.html#fahrenheitToCelsius(double)">fahrenheitToCelsius</a></span>(double fahrenheit)</nobr> + + <div class="jd-descrdiv"> + Converts a temperature expressed in degrees Fahrenheit to degrees Celsius + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + static + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../../reference/lineageos/weather/util/WeatherUtils.html#formatTemperature(double, int)">formatTemperature</a></span>(double temperature, int tempUnit)</nobr> + + <div class="jd-descrdiv"> + Returns a string representation of the temperature and unit supplied. + + + + </div> + + </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<?></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="WeatherUtils()"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + + </span> + <span class="sympad">WeatherUtils</span> + <span class="normal">()</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + + </div> +</div> + + + + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<!-- Protected ctors --> + + + +<!-- ========= METHOD DETAIL ======== --> +<!-- Public methdos --> + +<h2>Public Methods</h2> + + + +<A NAME="celsiusToFahrenheit(double)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + + + + double + </span> + <span class="sympad">celsiusToFahrenheit</span> + <span class="normal">(double celsius)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Converts a temperature expressed in degrees Celsius to degrees Fahrenheit</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>celsius</code></td> + <td width="100%"> + <code>double</code>: temperature in Celsius</td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>double</code></td> + <td width="100%">the temperature in degrees Fahrenheit +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="fahrenheitToCelsius(double)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + + + + double + </span> + <span class="sympad">fahrenheitToCelsius</span> + <span class="normal">(double fahrenheit)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Converts a temperature expressed in degrees Fahrenheit to degrees Celsius</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>fahrenheit</code></td> + <td width="100%"> + <code>double</code>: temperature in Fahrenheit</td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>double</code></td> + <td width="100%">the temperature in degrees Celsius +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="formatTemperature(double, int)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + + + + String + </span> + <span class="sympad">formatTemperature</span> + <span class="normal">(double temperature, int tempUnit)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Returns a string representation of the temperature and unit supplied. The temperature value + will be half-even rounded.</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>temperature</code></td> + <td width="100%"> + <code>double</code>: the temperature value</td> + </tr> + <tr> + <td><code>tempUnit</code></td> + <td width="100%"> + <code>int</code>: A valid <code><a href="../../../../reference/lineageos/providers/WeatherContract.WeatherColumns.TempUnit.html">WeatherContract.WeatherColumns.TempUnit</a></code></td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%">A string with the format XX°F or XX°C (where XX is the temperature) + depending on the temperature unit that was provided or null if an invalid unit is supplied +</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> diff --git a/reference/lineageos/weather/util/package-summary.html b/reference/lineageos/weather/util/package-summary.html new file mode 100644 index 00000000..905f92d1 --- /dev/null +++ b/reference/lineageos/weather/util/package-summary.html @@ -0,0 +1,322 @@ +<!-- ################ 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>lineageos.weather.util | 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"> + <div id="doc-api-level" class="" 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="api apilevel-5"> + <a href="../../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li> + <li class="selected 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>Classes</h2> + <ul> + <li class="api apilevel-"><a href="../../../../reference/lineageos/weather/util/WeatherUtils.html">WeatherUtils</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="api-level"> + + + + +</div> +</div> + +<div id="jd-header"> + package + <h1>lineageos.weather.util</h1> +</div><!-- end header --> + +<div id="naMessage"></div> + +<div id="jd-content" class="api apilevel-"> + + + + + + + + + + + + + + <h2>Classes</h2> + <div class="jd-sumtable"> + + + <table class="jd-sumtable-expando"> + + <tr class="alt-color api apilevel-" > + <td class="jd-linkcol"><a href="../../../../reference/lineageos/weather/util/WeatherUtils.html">WeatherUtils</a></td> + <td class="jd-descrcol" width="100%"> + Helper class to perform operations and formatting of weather data + + + + + </td> + </tr> + + + </table> + + </div> + + + + + + + + + + + + +<div id="footer"> + +</div> <!-- end footer --> + +</div><!-- end jd-content --> +</div><!-- doc-content --> + +</div> <!-- end body-content --> + +<script type="text/javascript"> +init(); /* initialize android-developer-docs.js */ +</script> + +</body> +</html> |