aboutsummaryrefslogtreecommitdiffstats
path: root/reference/lineageos/profiles
diff options
context:
space:
mode:
authorJoey <joey@lineageos.org>2018-03-12 13:55:27 +0100
committerJoey <joey@lineageos.org>2018-03-12 16:00:00 +0100
commitb6d895cd9faec16a2f2020cc447a2aa1c698392e (patch)
tree9c80bdebcdd7abef35deeff38554593459e257c0 /reference/lineageos/profiles
parent55ccdc3002a2adaee63231b59b6580cca7437869 (diff)
downloadlineage-sdk-b6d895cd9faec16a2f2020cc447a2aa1c698392e.tar.gz
lineage-sdk-b6d895cd9faec16a2f2020cc447a2aa1c698392e.tar.bz2
lineage-sdk-b6d895cd9faec16a2f2020cc447a2aa1c698392e.zip
Initial javadoc pushgh-pages
Change-Id: Ic4f9f576d0676dc696631b49d7e65e72b0ccde85 Signed-off-by: Joey <joey@lineageos.org>
Diffstat (limited to 'reference/lineageos/profiles')
-rw-r--r--reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html879
-rw-r--r--reference/lineageos/profiles/AirplaneModeSettings.html1403
-rw-r--r--reference/lineageos/profiles/BrightnessSettings.html1373
-rw-r--r--reference/lineageos/profiles/ConnectionSettings.BooleanState.html879
-rw-r--r--reference/lineageos/profiles/ConnectionSettings.html2146
-rw-r--r--reference/lineageos/profiles/LockSettings.html1243
-rw-r--r--reference/lineageos/profiles/RingModeSettings.html1551
-rw-r--r--reference/lineageos/profiles/StreamSettings.html1451
-rw-r--r--reference/lineageos/profiles/package-summary.html413
9 files changed, 11338 insertions, 0 deletions
diff --git a/reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html b/reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html
new file mode 100644
index 00000000..29f25ee9
--- /dev/null
+++ b/reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html
@@ -0,0 +1,879 @@
+<!-- ################ 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>AirplaneModeSettings.BooleanState | 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="2" 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="selected 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="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-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></li>
+ <li class="selected api apilevel-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html">AirplaneModeSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</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>
+
+
+
+
+
+
+ &#124; <a href="#pubctors">Ctors</a>
+
+
+
+
+
+
+ &#124; <a href="#inhmethods">Inherited Methods</a>
+
+&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
+
+</div><!-- end sum-details-links -->
+<div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+</div>
+</div><!-- end api-info-block -->
+
+
+<!-- ======== START OF CLASS DATA ======== -->
+
+<div id="jd-header">
+ public
+ static
+
+
+ class
+<h1 itemprop="name">AirplaneModeSettings.BooleanState</h1>
+
+
+
+
+ extends Object<br/>
+
+
+
+
+
+
+
+
+
+
+
+
+</div><!-- end header -->
+
+<div id="naMessage"></div>
+
+<div id="jd-content" class="api apilevel-2">
+<table class="jd-inheritance-table">
+
+
+ <tr>
+
+ <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
+ </tr>
+
+
+ <tr>
+
+ <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
+
+ <td colspan="1" class="jd-inheritance-class-cell">lineageos.profiles.AirplaneModeSettings.BooleanState</td>
+ </tr>
+
+
+</table>
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Class Overview</h2>
+<p itemprop="articleBody">BooleanStates for specific <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code>
+</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-2" >
+ <td class="jd-typecol">int</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html#STATE_DISALED">STATE_DISALED</a></td>
+ <td class="jd-descrcol" width="100%">
+ Disabled state
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol">int</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html#STATE_ENABLED">STATE_ENABLED</a></td>
+ <td class="jd-descrcol" width="100%">
+ Enabled state
+
+
+
+ </td>
+ </tr>
+
+
+
+</table>
+
+
+
+
+
+
+
+
+
+
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr>
+
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html#AirplaneModeSettings.BooleanState()">AirplaneModeSettings.BooleanState</a></span>()</nobr>
+
+ </td></tr>
+
+
+
+</table>
+
+
+
+
+
+
+
+
+
+
+
+<!-- ========== METHOD SUMMARY =========== -->
+<table id="inhmethods" class="jd-sumtable"><tr><th>
+ <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
+ <div style="clear:left;">Inherited Methods</div></th></tr>
+
+
+<tr class="api apilevel-" >
+<td colspan="12">
+ <a href="#" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" >
+ <img id="inherited-methods-java.lang.Object-trigger" class="jd-expando-trigger-img"
+ height="34"
+ src="../../../assets/images/styles/disclosure_down.png" />
+ </a>
+From class
+
+ java.lang.Object
+
+<div id="inherited-methods-java.lang.Object">
+ <div id="inherited-methods-java.lang.Object-list"
+ class="jd-inheritedlinks">
+ </div>
+ <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
+ <table class="jd-sumtable-expando">
+
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ Object</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">clone</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ boolean</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">equals</span>(Object arg0)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">finalize</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ Class&lt;?&gt;</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">getClass</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">hashCode</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notify</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notifyAll</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ String</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">toString</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>()</nobr>
+
+ </td></tr>
+
+
+</table>
+ </div>
+</div>
+</td></tr>
+
+
+</table>
+
+
+</div><!-- jd-descr (summary) -->
+
+<!-- Details -->
+
+
+
+
+
+
+
+
+<!-- XML Attributes -->
+
+
+<!-- Enum Values -->
+
+
+<!-- Constants -->
+
+
+<!-- ========= ENUM CONSTANTS DETAIL ======== -->
+<h2>Constants</h2>
+
+
+
+
+<A NAME="STATE_DISALED"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ int
+ </span>
+ STATE_DISALED
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Disabled state </p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ 0
+ (0x00000000)
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+<A NAME="STATE_ENABLED"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ int
+ </span>
+ STATE_ENABLED
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Enabled state </p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ 1
+ (0x00000001)
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+
+<!-- Fields -->
+
+
+<!-- Public ctors -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<h2>Public Constructors</h2>
+
+
+
+<A NAME="AirplaneModeSettings.BooleanState()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">AirplaneModeSettings.BooleanState</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p></p>
+
+ </div>
+</div>
+
+
+
+
+
+<!-- ========= 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/profiles/AirplaneModeSettings.html b/reference/lineageos/profiles/AirplaneModeSettings.html
new file mode 100644
index 00000000..20ed4f3e
--- /dev/null
+++ b/reference/lineageos/profiles/AirplaneModeSettings.html
@@ -0,0 +1,1403 @@
+<!-- ################ 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>AirplaneModeSettings | 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="2" 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="selected 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="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-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html">AirplaneModeSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</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>
+
+
+
+
+
+
+
+ &#124; <a href="#inhconstants">Inherited Constants</a>
+
+
+
+
+
+ &#124; <a href="#pubctors">Ctors</a>
+
+
+
+
+ &#124; <a href="#pubmethods">Methods</a>
+
+
+
+
+ &#124; <a href="#inhmethods">Inherited Methods</a>
+
+&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
+
+</div><!-- end sum-details-links -->
+<div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+</div>
+</div><!-- end api-info-block -->
+
+
+<!-- ======== START OF CLASS DATA ======== -->
+
+<div id="jd-header">
+ public
+
+ final
+
+ class
+<h1 itemprop="name">AirplaneModeSettings</h1>
+
+
+
+
+ extends Object<br/>
+
+
+
+
+
+
+ implements
+
+ Parcelable
+
+
+
+
+
+
+
+
+</div><!-- end header -->
+
+<div id="naMessage"></div>
+
+<div id="jd-content" class="api apilevel-2">
+<table class="jd-inheritance-table">
+
+
+ <tr>
+
+ <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
+ </tr>
+
+
+ <tr>
+
+ <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
+
+ <td colspan="1" class="jd-inheritance-class-cell">lineageos.profiles.AirplaneModeSettings</td>
+ </tr>
+
+
+</table>
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Class Overview</h2>
+<p itemprop="articleBody">The <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> class allows for overriding and setting the airplane mode.
+
+ <p>Example for setting the airplane mode to enabled:
+ <pre class="prettyprint">
+ AirplaneModeSettings airplaneMode = new AirplaneModeSettings(BooleanState.STATE_ENABLED, true)
+ profile.setAirplaneMode(airplaneMode);
+ </pre>
+</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-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+ class</nobr></td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html">AirplaneModeSettings.BooleanState</a></td>
+ <td class="jd-descrcol" width="100%">
+ BooleanStates for specific <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code>
+&nbsp;
+
+
+
+ </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>
+
+
+
+
+
+
+
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr>
+
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html#AirplaneModeSettings(android.os.Parcel)">AirplaneModeSettings</a></span>(Parcel parcel)</nobr>
+
+ <div class="jd-descrdiv">
+ Unwrap <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> from a parcel.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html#AirplaneModeSettings()">AirplaneModeSettings</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Construct a <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> with a default value of
+ <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html#STATE_DISALED">STATE_DISALED</a></code>.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html#AirplaneModeSettings(int, boolean)">AirplaneModeSettings</a></span>(int value, boolean override)</nobr>
+
+ <div class="jd-descrdiv">
+ Construct a <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> with a default value and whether or not it should
+ override user settings.
+
+
+
+ </div>
+
+ </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-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html#describeContents()">describeContents</a></span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html#getValue()">getValue</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Get the default value for the <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code>
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ boolean</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html#isOverride()">isOverride</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Check whether or not the <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> overrides user settings.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html#setOverride(boolean)">setOverride</a></span>(boolean override)</nobr>
+
+ <div class="jd-descrdiv">
+ Set whether or not the <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> should override default user values
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html#setValue(int)">setValue</a></span>(int value)</nobr>
+
+ <div class="jd-descrdiv">
+ Set the default value for the <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code>
+
+
+
+ </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&lt;?&gt;</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">getClass</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">hashCode</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notify</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notifyAll</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ String</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">toString</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>()</nobr>
+
+ </td></tr>
+
+
+</table>
+ </div>
+</div>
+</td></tr>
+
+
+
+<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 -->
+
+
+<!-- Public ctors -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<h2>Public Constructors</h2>
+
+
+
+<A NAME="AirplaneModeSettings(android.os.Parcel)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">AirplaneModeSettings</span>
+ <span class="normal">(Parcel parcel)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Unwrap <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> from a parcel.</p>
+
+ </div>
+</div>
+
+
+<A NAME="AirplaneModeSettings()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">AirplaneModeSettings</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Construct a <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> with a default value of
+ <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html#STATE_DISALED">STATE_DISALED</a></code>.
+</p>
+
+ </div>
+</div>
+
+
+<A NAME="AirplaneModeSettings(int, boolean)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">AirplaneModeSettings</span>
+ <span class="normal">(int value, boolean override)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Construct a <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> with a default value and whether or not it should
+ override user settings.</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>value</code></td>
+ <td width="100%">
+ <code>int</code>: ex: <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html#STATE_DISALED">STATE_DISALED</a></code></td>
+ </tr>
+ <tr>
+ <td><code>override</code></td>
+ <td width="100%">
+ <code>boolean</code>: whether or not the setting should override user settings
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<!-- Protected ctors -->
+
+
+
+<!-- ========= METHOD DETAIL ======== -->
+<!-- Public methdos -->
+
+<h2>Public Methods</h2>
+
+
+
+<A NAME="describeContents()"></A>
+
+<div class="jd-details api apilevel-2">
+ <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 2</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="getValue()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ int
+ </span>
+ <span class="sympad">getValue</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Get the default value for the <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code></p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code>int</code></td>
+ <td width="100%">integer value corresponding with its brightness value
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="isOverride()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ boolean
+ </span>
+ <span class="sympad">isOverride</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Check whether or not the <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> overrides user settings.</p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code>boolean</code></td>
+ <td width="100%">true if override
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setOverride(boolean)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ void
+ </span>
+ <span class="sympad">setOverride</span>
+ <span class="normal">(boolean override)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Set whether or not the <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> should override default user values</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>override</code></td>
+ <td width="100%">
+ <code>boolean</code>: boolean override
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setValue(int)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ void
+ </span>
+ <span class="sympad">setValue</span>
+ <span class="normal">(int value)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Set the default value for the <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code></p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>value</code></td>
+ <td width="100%">
+ <code>int</code>: <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html#STATE_DISALED">STATE_DISALED</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/profiles/BrightnessSettings.html b/reference/lineageos/profiles/BrightnessSettings.html
new file mode 100644
index 00000000..63bd85fe
--- /dev/null
+++ b/reference/lineageos/profiles/BrightnessSettings.html
@@ -0,0 +1,1373 @@
+<!-- ################ 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>BrightnessSettings | 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="2" 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="selected 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="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-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html">AirplaneModeSettings.BooleanState</a></li>
+ <li class="selected api apilevel-2"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</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="#inhconstants">Inherited Constants</a>
+
+
+
+
+
+ &#124; <a href="#pubctors">Ctors</a>
+
+
+
+
+ &#124; <a href="#pubmethods">Methods</a>
+
+
+
+
+ &#124; <a href="#inhmethods">Inherited Methods</a>
+
+&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
+
+</div><!-- end sum-details-links -->
+<div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+</div>
+</div><!-- end api-info-block -->
+
+
+<!-- ======== START OF CLASS DATA ======== -->
+
+<div id="jd-header">
+ public
+
+ final
+
+ class
+<h1 itemprop="name">BrightnessSettings</h1>
+
+
+
+
+ extends Object<br/>
+
+
+
+
+
+
+ implements
+
+ Parcelable
+
+
+
+
+
+
+
+
+</div><!-- end header -->
+
+<div id="naMessage"></div>
+
+<div id="jd-content" class="api apilevel-2">
+<table class="jd-inheritance-table">
+
+
+ <tr>
+
+ <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
+ </tr>
+
+
+ <tr>
+
+ <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
+
+ <td colspan="1" class="jd-inheritance-class-cell">lineageos.profiles.BrightnessSettings</td>
+ </tr>
+
+
+</table>
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Class Overview</h2>
+<p itemprop="articleBody">The <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> class allows for overriding and setting the brightness level
+ of the display. The range for brightness is between 0 -> 255.
+
+ <p>Example for setting the brightness to ~25% (255 * .25):
+ <pre class="prettyprint">
+ BrightnessSettings twentyFivePercent = new BrightnessSettings(63, true)
+ profile.setBrightness(twentyFivePercent);
+ </pre>
+</p>
+
+
+
+
+
+</div><!-- jd-descr -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Summary</h2>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!-- =========== 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>
+
+
+
+
+
+
+
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr>
+
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html#BrightnessSettings(android.os.Parcel)">BrightnessSettings</a></span>(Parcel parcel)</nobr>
+
+ <div class="jd-descrdiv">
+ Unwrap <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> from a parcel.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html#BrightnessSettings()">BrightnessSettings</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Construct a <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> with a default value of 0.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html#BrightnessSettings(int, boolean)">BrightnessSettings</a></span>(int value, boolean override)</nobr>
+
+ <div class="jd-descrdiv">
+ Construct a <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> with a default value and whether or not it should
+ override user settings.
+
+
+
+ </div>
+
+ </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-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html#describeContents()">describeContents</a></span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html#getValue()">getValue</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Get the default value for the <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code>
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ boolean</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html#isOverride()">isOverride</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Check whether or not the <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> overrides user settings.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html#setOverride(boolean)">setOverride</a></span>(boolean override)</nobr>
+
+ <div class="jd-descrdiv">
+ Set whether or not the <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> should override default user values
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html#setValue(int)">setValue</a></span>(int value)</nobr>
+
+ <div class="jd-descrdiv">
+ Set the default value for the <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code>
+
+
+
+ </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&lt;?&gt;</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">getClass</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">hashCode</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notify</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notifyAll</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ String</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">toString</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>()</nobr>
+
+ </td></tr>
+
+
+</table>
+ </div>
+</div>
+</td></tr>
+
+
+
+<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 -->
+
+
+<!-- Public ctors -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<h2>Public Constructors</h2>
+
+
+
+<A NAME="BrightnessSettings(android.os.Parcel)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">BrightnessSettings</span>
+ <span class="normal">(Parcel parcel)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Unwrap <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> from a parcel.</p>
+
+ </div>
+</div>
+
+
+<A NAME="BrightnessSettings()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">BrightnessSettings</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Construct a <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> with a default value of 0.
+</p>
+
+ </div>
+</div>
+
+
+<A NAME="BrightnessSettings(int, boolean)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">BrightnessSettings</span>
+ <span class="normal">(int value, boolean override)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Construct a <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> with a default value and whether or not it should
+ override user settings.</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>value</code></td>
+ <td width="100%">
+ <code>int</code>: ex: 255 (MAX)</td>
+ </tr>
+ <tr>
+ <td><code>override</code></td>
+ <td width="100%">
+ <code>boolean</code>: whether or not the setting should override user settings
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<!-- Protected ctors -->
+
+
+
+<!-- ========= METHOD DETAIL ======== -->
+<!-- Public methdos -->
+
+<h2>Public Methods</h2>
+
+
+
+<A NAME="describeContents()"></A>
+
+<div class="jd-details api apilevel-2">
+ <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 2</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="getValue()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ int
+ </span>
+ <span class="sympad">getValue</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Get the default value for the <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code></p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code>int</code></td>
+ <td width="100%">integer value corresponding with its brightness value
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="isOverride()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ boolean
+ </span>
+ <span class="sympad">isOverride</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Check whether or not the <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> overrides user settings.</p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code>boolean</code></td>
+ <td width="100%">true if override
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setOverride(boolean)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ void
+ </span>
+ <span class="sympad">setOverride</span>
+ <span class="normal">(boolean override)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Set whether or not the <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> should override default user values</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>override</code></td>
+ <td width="100%">
+ <code>boolean</code>: boolean override
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setValue(int)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ void
+ </span>
+ <span class="sympad">setValue</span>
+ <span class="normal">(int value)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Set the default value for the <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code></p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>value</code></td>
+ <td width="100%">
+ <code>int</code>: ex: 255 (MAX)
+</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/profiles/ConnectionSettings.BooleanState.html b/reference/lineageos/profiles/ConnectionSettings.BooleanState.html
new file mode 100644
index 00000000..b0848913
--- /dev/null
+++ b/reference/lineageos/profiles/ConnectionSettings.BooleanState.html
@@ -0,0 +1,879 @@
+<!-- ################ 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>ConnectionSettings.BooleanState | 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="2" 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="selected 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="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-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html">AirplaneModeSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></li>
+ <li class="selected api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</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>
+
+
+
+
+
+
+ &#124; <a href="#pubctors">Ctors</a>
+
+
+
+
+
+
+ &#124; <a href="#inhmethods">Inherited Methods</a>
+
+&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
+
+</div><!-- end sum-details-links -->
+<div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+</div>
+</div><!-- end api-info-block -->
+
+
+<!-- ======== START OF CLASS DATA ======== -->
+
+<div id="jd-header">
+ public
+ static
+
+
+ class
+<h1 itemprop="name">ConnectionSettings.BooleanState</h1>
+
+
+
+
+ extends Object<br/>
+
+
+
+
+
+
+
+
+
+
+
+
+</div><!-- end header -->
+
+<div id="naMessage"></div>
+
+<div id="jd-content" class="api apilevel-2">
+<table class="jd-inheritance-table">
+
+
+ <tr>
+
+ <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
+ </tr>
+
+
+ <tr>
+
+ <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
+
+ <td colspan="1" class="jd-inheritance-class-cell">lineageos.profiles.ConnectionSettings.BooleanState</td>
+ </tr>
+
+
+</table>
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Class Overview</h2>
+<p itemprop="articleBody">BooleanStates for specific <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code>
+</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-2" >
+ <td class="jd-typecol">int</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html#STATE_DISALED">STATE_DISALED</a></td>
+ <td class="jd-descrcol" width="100%">
+ Disabled state
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol">int</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html#STATE_ENABLED">STATE_ENABLED</a></td>
+ <td class="jd-descrcol" width="100%">
+ Enabled state
+
+
+
+ </td>
+ </tr>
+
+
+
+</table>
+
+
+
+
+
+
+
+
+
+
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr>
+
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html#ConnectionSettings.BooleanState()">ConnectionSettings.BooleanState</a></span>()</nobr>
+
+ </td></tr>
+
+
+
+</table>
+
+
+
+
+
+
+
+
+
+
+
+<!-- ========== METHOD SUMMARY =========== -->
+<table id="inhmethods" class="jd-sumtable"><tr><th>
+ <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
+ <div style="clear:left;">Inherited Methods</div></th></tr>
+
+
+<tr class="api apilevel-" >
+<td colspan="12">
+ <a href="#" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" >
+ <img id="inherited-methods-java.lang.Object-trigger" class="jd-expando-trigger-img"
+ height="34"
+ src="../../../assets/images/styles/disclosure_down.png" />
+ </a>
+From class
+
+ java.lang.Object
+
+<div id="inherited-methods-java.lang.Object">
+ <div id="inherited-methods-java.lang.Object-list"
+ class="jd-inheritedlinks">
+ </div>
+ <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
+ <table class="jd-sumtable-expando">
+
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ Object</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">clone</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ boolean</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">equals</span>(Object arg0)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">finalize</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ Class&lt;?&gt;</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">getClass</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">hashCode</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notify</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notifyAll</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ String</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">toString</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>()</nobr>
+
+ </td></tr>
+
+
+</table>
+ </div>
+</div>
+</td></tr>
+
+
+</table>
+
+
+</div><!-- jd-descr (summary) -->
+
+<!-- Details -->
+
+
+
+
+
+
+
+
+<!-- XML Attributes -->
+
+
+<!-- Enum Values -->
+
+
+<!-- Constants -->
+
+
+<!-- ========= ENUM CONSTANTS DETAIL ======== -->
+<h2>Constants</h2>
+
+
+
+
+<A NAME="STATE_DISALED"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ int
+ </span>
+ STATE_DISALED
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Disabled state </p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ 0
+ (0x00000000)
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+<A NAME="STATE_ENABLED"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ int
+ </span>
+ STATE_ENABLED
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Enabled state </p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ 1
+ (0x00000001)
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+
+<!-- Fields -->
+
+
+<!-- Public ctors -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<h2>Public Constructors</h2>
+
+
+
+<A NAME="ConnectionSettings.BooleanState()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">ConnectionSettings.BooleanState</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p></p>
+
+ </div>
+</div>
+
+
+
+
+
+<!-- ========= 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/profiles/ConnectionSettings.html b/reference/lineageos/profiles/ConnectionSettings.html
new file mode 100644
index 00000000..0ca2747c
--- /dev/null
+++ b/reference/lineageos/profiles/ConnectionSettings.html
@@ -0,0 +1,2146 @@
+<!-- ################ 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>ConnectionSettings | 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="2" 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="selected 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="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-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html">AirplaneModeSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></li>
+ <li class="selected api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</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>
+
+
+
+
+
+
+ &#124; <a href="#constants">Constants</a>
+
+
+
+ &#124; <a href="#inhconstants">Inherited Constants</a>
+
+
+
+
+
+ &#124; <a href="#pubctors">Ctors</a>
+
+
+
+
+ &#124; <a href="#pubmethods">Methods</a>
+
+
+
+
+ &#124; <a href="#inhmethods">Inherited Methods</a>
+
+&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
+
+</div><!-- end sum-details-links -->
+<div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+</div>
+</div><!-- end api-info-block -->
+
+
+<!-- ======== START OF CLASS DATA ======== -->
+
+<div id="jd-header">
+ public
+
+ final
+
+ class
+<h1 itemprop="name">ConnectionSettings</h1>
+
+
+
+
+ extends Object<br/>
+
+
+
+
+
+
+ implements
+
+ Parcelable
+
+
+
+
+
+
+
+
+</div><!-- end header -->
+
+<div id="naMessage"></div>
+
+<div id="jd-content" class="api apilevel-2">
+<table class="jd-inheritance-table">
+
+
+ <tr>
+
+ <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
+ </tr>
+
+
+ <tr>
+
+ <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
+
+ <td colspan="1" class="jd-inheritance-class-cell">lineageos.profiles.ConnectionSettings</td>
+ </tr>
+
+
+</table>
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Class Overview</h2>
+<p itemprop="articleBody">The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> class allows for creating Network/Hardware overrides
+ depending on their capabilities.
+
+ <p>Example for enabling/disabling sync settings:
+ <pre class="prettyprint">
+ ConnectionSettings connectionSettings =
+ new ConnectionSettings(ConnectionSettings.PROFILE_CONNECTION_SYNC,
+ shouldBeEnabled() ?
+ <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html#STATE_ENABLED">STATE_ENABLED</a></code> : <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html#STATE_DISALED">STATE_DISALED</a></code>,
+ true)
+ profile.setConnectionSettings(connectionSettings);
+ </pre>
+</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-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+ class</nobr></td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></td>
+ <td class="jd-descrcol" width="100%">
+ BooleanStates for specific <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code>
+&nbsp;
+
+
+
+ </td>
+ </tr>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!-- =========== ENUM CONSTANT SUMMARY =========== -->
+<table id="constants" class="jd-sumtable"><tr><th colspan="12">Constants</th></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol">int</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_2G3G4G">PROFILE_CONNECTION_2G3G4G</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_2G3G4G">PROFILE_CONNECTION_2G3G4G</a></code> allows for flipping between 2G/3G/4G (if exists)
+ on the device.
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol">int</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_BLUETOOTH">PROFILE_CONNECTION_BLUETOOTH</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_BLUETOOTH">PROFILE_CONNECTION_BLUETOOTH</a></code> allows for enabling and disabling the Bluetooth device
+ (if exists) on the device.
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol">int</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_GPS">PROFILE_CONNECTION_GPS</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_GPS">PROFILE_CONNECTION_GPS</a></code> allows for enabling and disabling the GPS radio (if exists)
+ on the device.
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol">int</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_MOBILEDATA">PROFILE_CONNECTION_MOBILEDATA</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_MOBILEDATA">PROFILE_CONNECTION_MOBILEDATA</a></code> allows for enabling and disabling the mobile
+ data connection.
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol">int</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_NFC">PROFILE_CONNECTION_NFC</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_NFC">PROFILE_CONNECTION_NFC</a></code> allows for enabling and disabling the NFC device
+ (if exists) on the device.
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol">int</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_SYNC">PROFILE_CONNECTION_SYNC</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_SYNC">PROFILE_CONNECTION_SYNC</a></code> allows for enabling and disabling the global sync state
+ on the device.
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol">int</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_WIFI">PROFILE_CONNECTION_WIFI</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_WIFI">PROFILE_CONNECTION_WIFI</a></code> allows for enabling and disabling the WiFi connection
+ on the device.
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol">int</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_WIFIAP">PROFILE_CONNECTION_WIFIAP</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_WIFIAP">PROFILE_CONNECTION_WIFIAP</a></code> allows for enabling and disabling the WiFi hotspot
+ on the device.
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol">int</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_WIMAX">PROFILE_CONNECTION_WIMAX</a></td>
+ <td class="jd-descrcol" width="100%">
+ <em>
+ This constant was deprecated
+ in API level 7.
+ No replacement.</em>
+
+
+
+ </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>
+
+
+
+
+
+
+
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr>
+
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#ConnectionSettings(android.os.Parcel)">ConnectionSettings</a></span>(Parcel parcel)</nobr>
+
+ <div class="jd-descrdiv">
+ Unwrap <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> from a parcel.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#ConnectionSettings(int)">ConnectionSettings</a></span>(int connectionId)</nobr>
+
+ <div class="jd-descrdiv">
+ Construct a <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> with a connection id and default states.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#ConnectionSettings(int, int, boolean)">ConnectionSettings</a></span>(int connectionId, int value, boolean override)</nobr>
+
+ <div class="jd-descrdiv">
+ Construct a <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> with a connection id, default value
+ , and if the setting should override the user defaults.
+
+
+
+ </div>
+
+ </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-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#describeContents()">describeContents</a></span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#getConnectionId()">getConnectionId</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Retrieve the connection id associated with the <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code>
+
+
+
+ </div>
+
+ </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/profiles/ConnectionSettings.html#getSubId()">getSubId</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Get the subscription id which this <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> should apply to.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#getValue()">getValue</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Get the default value for the <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code>
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ boolean</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#isOverride()">isOverride</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Check whether or not the <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> overrides user settings.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#setOverride(boolean)">setOverride</a></span>(boolean override)</nobr>
+
+ <div class="jd-descrdiv">
+ Set whether or not the <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> should override default user values
+
+
+
+ </div>
+
+ </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/profiles/ConnectionSettings.html#setSubId(int)">setSubId</a></span>(int subId)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#setValue(int)">setValue</a></span>(int value)</nobr>
+
+ <div class="jd-descrdiv">
+ Set the default value for the <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code>
+
+
+
+ </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&lt;?&gt;</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">getClass</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">hashCode</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notify</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notifyAll</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ String</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">toString</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>()</nobr>
+
+ </td></tr>
+
+
+</table>
+ </div>
+</div>
+</td></tr>
+
+
+
+<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="PROFILE_CONNECTION_2G3G4G"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ int
+ </span>
+ PROFILE_CONNECTION_2G3G4G
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_2G3G4G">PROFILE_CONNECTION_2G3G4G</a></code> allows for flipping between 2G/3G/4G (if exists)
+ on the device.
+</p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ 9
+ (0x00000009)
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+<A NAME="PROFILE_CONNECTION_BLUETOOTH"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ int
+ </span>
+ PROFILE_CONNECTION_BLUETOOTH
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_BLUETOOTH">PROFILE_CONNECTION_BLUETOOTH</a></code> allows for enabling and disabling the Bluetooth device
+ (if exists) on the device. Boolean connection settings <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></code>
+</p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ 7
+ (0x00000007)
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+<A NAME="PROFILE_CONNECTION_GPS"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ int
+ </span>
+ PROFILE_CONNECTION_GPS
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_GPS">PROFILE_CONNECTION_GPS</a></code> allows for enabling and disabling the GPS radio (if exists)
+ on the device. Boolean connection settings <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></code>
+</p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ 4
+ (0x00000004)
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+<A NAME="PROFILE_CONNECTION_MOBILEDATA"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ int
+ </span>
+ PROFILE_CONNECTION_MOBILEDATA
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_MOBILEDATA">PROFILE_CONNECTION_MOBILEDATA</a></code> allows for enabling and disabling the mobile
+ data connection. Boolean connection settings <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></code>
+</p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ 0
+ (0x00000000)
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+<A NAME="PROFILE_CONNECTION_NFC"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ int
+ </span>
+ PROFILE_CONNECTION_NFC
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_NFC">PROFILE_CONNECTION_NFC</a></code> allows for enabling and disabling the NFC device
+ (if exists) on the device. Boolean connection settings <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></code>
+</p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ 8
+ (0x00000008)
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+<A NAME="PROFILE_CONNECTION_SYNC"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ int
+ </span>
+ PROFILE_CONNECTION_SYNC
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_SYNC">PROFILE_CONNECTION_SYNC</a></code> allows for enabling and disabling the global sync state
+ on the device. Boolean connection settings <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></code>
+</p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ 5
+ (0x00000005)
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+<A NAME="PROFILE_CONNECTION_WIFI"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ int
+ </span>
+ PROFILE_CONNECTION_WIFI
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_WIFI">PROFILE_CONNECTION_WIFI</a></code> allows for enabling and disabling the WiFi connection
+ on the device. Boolean connection settings <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></code>
+</p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ 1
+ (0x00000001)
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+<A NAME="PROFILE_CONNECTION_WIFIAP"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ int
+ </span>
+ PROFILE_CONNECTION_WIFIAP
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_WIFIAP">PROFILE_CONNECTION_WIFIAP</a></code> allows for enabling and disabling the WiFi hotspot
+ on the device. Boolean connection settings <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></code>
+</p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ 2
+ (0x00000002)
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+<A NAME="PROFILE_CONNECTION_WIMAX"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ int
+ </span>
+ PROFILE_CONNECTION_WIMAX
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+ <p>
+ <p class="caution"><strong>
+ This constant was deprecated
+ in API level 7.</strong><br/>
+ No replacement.
+ </p>
+ <p>The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_WIMAX">PROFILE_CONNECTION_WIMAX</a></code> allows for enabling and disabling the WIMAX radio (if exists)
+ on the device. Boolean connection settings <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></code></p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ 3
+ (0x00000003)
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+
+<!-- Fields -->
+
+
+<!-- Public ctors -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<h2>Public Constructors</h2>
+
+
+
+<A NAME="ConnectionSettings(android.os.Parcel)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">ConnectionSettings</span>
+ <span class="normal">(Parcel parcel)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Unwrap <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> from a parcel.</p>
+
+ </div>
+</div>
+
+
+<A NAME="ConnectionSettings(int)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">ConnectionSettings</span>
+ <span class="normal">(int connectionId)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Construct a <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> with a connection id and default states.</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>connectionId</code></td>
+ <td width="100%">
+ <code>int</code>: ex: #PROFILE_CONNECTION_NFC
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="ConnectionSettings(int, int, boolean)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">ConnectionSettings</span>
+ <span class="normal">(int connectionId, int value, boolean override)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Construct a <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> with a connection id, default value
+ , and if the setting should override the user defaults.</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>connectionId</code></td>
+ <td width="100%">
+ <code>int</code>: an identifier for the ConnectionSettings (ex:#PROFILE_CONNECTION_WIFI)</td>
+ </tr>
+ <tr>
+ <td><code>value</code></td>
+ <td width="100%">
+ <code>int</code>: default value for the ConnectionSettings (ex:<code><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html#STATE_ENABLED">STATE_ENABLED</a></code>)</td>
+ </tr>
+ <tr>
+ <td><code>override</code></td>
+ <td width="100%">
+ <code>boolean</code>: whether or not the <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> should override user defaults
+</td>
+ </tr>
+ </table>
+ <div>
+ <p><b>See also:</b></p>
+ <ul class="nolist"><li><code><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></code></li>
+ </ul>
+ </div>
+
+ </div>
+</div>
+
+
+
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<!-- Protected ctors -->
+
+
+
+<!-- ========= METHOD DETAIL ======== -->
+<!-- Public methdos -->
+
+<h2>Public Methods</h2>
+
+
+
+<A NAME="describeContents()"></A>
+
+<div class="jd-details api apilevel-2">
+ <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 2</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="getConnectionId()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ int
+ </span>
+ <span class="sympad">getConnectionId</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Retrieve the connection id associated with the <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code></p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code>int</code></td>
+ <td width="100%">an integer identifier
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="getSubId()"></A>
+
+<div class="jd-details api apilevel-5">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ int
+ </span>
+ <span class="sympad">getSubId</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>Get the subscription id which this <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> should apply to.</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="getValue()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ int
+ </span>
+ <span class="sympad">getValue</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Get the default value for the <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code></p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code>int</code></td>
+ <td width="100%">integer value corresponding with its state
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="isOverride()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ boolean
+ </span>
+ <span class="sympad">isOverride</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Check whether or not the <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> overrides user settings.</p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code>boolean</code></td>
+ <td width="100%">true if override
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setOverride(boolean)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ void
+ </span>
+ <span class="sympad">setOverride</span>
+ <span class="normal">(boolean override)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Set whether or not the <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> should override default user values</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>override</code></td>
+ <td width="100%">
+ <code>boolean</code>: boolean override
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setSubId(int)"></A>
+
+<div class="jd-details api apilevel-5">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ void
+ </span>
+ <span class="sympad">setSubId</span>
+ <span class="normal">(int subId)</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>subId</code></td>
+ <td width="100%">
+ <code>int</code> <!-- no parameter comment --></td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setValue(int)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ void
+ </span>
+ <span class="sympad">setValue</span>
+ <span class="normal">(int value)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Set the default value for the <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code></p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>value</code></td>
+ <td width="100%">
+ <code>int</code>: <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</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/profiles/LockSettings.html b/reference/lineageos/profiles/LockSettings.html
new file mode 100644
index 00000000..810a7019
--- /dev/null
+++ b/reference/lineageos/profiles/LockSettings.html
@@ -0,0 +1,1243 @@
+<!-- ################ 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>LockSettings | 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="2" 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="selected 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="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-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html">AirplaneModeSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></li>
+ <li class="selected api apilevel-2"><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</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="#inhconstants">Inherited Constants</a>
+
+
+
+
+
+ &#124; <a href="#pubctors">Ctors</a>
+
+
+
+
+ &#124; <a href="#pubmethods">Methods</a>
+
+
+
+
+ &#124; <a href="#inhmethods">Inherited Methods</a>
+
+&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
+
+</div><!-- end sum-details-links -->
+<div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+</div>
+</div><!-- end api-info-block -->
+
+
+<!-- ======== START OF CLASS DATA ======== -->
+
+<div id="jd-header">
+ public
+
+ final
+
+ class
+<h1 itemprop="name">LockSettings</h1>
+
+
+
+
+ extends Object<br/>
+
+
+
+
+
+
+ implements
+
+ Parcelable
+
+
+
+
+
+
+
+
+</div><!-- end header -->
+
+<div id="naMessage"></div>
+
+<div id="jd-content" class="api apilevel-2">
+<table class="jd-inheritance-table">
+
+
+ <tr>
+
+ <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
+ </tr>
+
+
+ <tr>
+
+ <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
+
+ <td colspan="1" class="jd-inheritance-class-cell">lineageos.profiles.LockSettings</td>
+ </tr>
+
+
+</table>
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Class Overview</h2>
+<p itemprop="articleBody">The <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code> class allows for overriding and setting the
+ current Lock screen state/security level. Value should be one a constant from
+ of <code><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></code>
+
+ <p>Example for disabling lockscreen security:
+ <pre class="prettyprint">
+ LockSettings lock = new LockSettings(Profile.LockMode.INSECURE);
+ profile.setScreenLockMode(lock);
+ </pre>
+</p>
+
+
+
+
+
+</div><!-- jd-descr -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Summary</h2>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!-- =========== 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>
+
+
+
+
+
+
+
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr>
+
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/LockSettings.html#LockSettings(android.os.Parcel)">LockSettings</a></span>(Parcel parcel)</nobr>
+
+ <div class="jd-descrdiv">
+ Unwrap <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code> from a parcel.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/LockSettings.html#LockSettings()">LockSettings</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Construct a <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code> with a default value of <code><a href="../../../">ERROR(/Profile.LockMode.DEFAULT)</a></code>.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/LockSettings.html#LockSettings(int)">LockSettings</a></span>(int value)</nobr>
+
+ <div class="jd-descrdiv">
+ Construct a <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code> with a default value.
+
+
+
+ </div>
+
+ </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-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/LockSettings.html#describeContents()">describeContents</a></span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/LockSettings.html#getValue()">getValue</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Get the value for the <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code>
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/LockSettings.html#setValue(int)">setValue</a></span>(int value)</nobr>
+
+ <div class="jd-descrdiv">
+ Set the value for the <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code>
+
+ see <code><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></code>
+
+
+
+
+ </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&lt;?&gt;</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">getClass</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">hashCode</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notify</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notifyAll</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ String</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">toString</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>()</nobr>
+
+ </td></tr>
+
+
+</table>
+ </div>
+</div>
+</td></tr>
+
+
+
+<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 -->
+
+
+<!-- Public ctors -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<h2>Public Constructors</h2>
+
+
+
+<A NAME="LockSettings(android.os.Parcel)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">LockSettings</span>
+ <span class="normal">(Parcel parcel)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Unwrap <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code> from a parcel.</p>
+
+ </div>
+</div>
+
+
+<A NAME="LockSettings()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">LockSettings</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Construct a <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code> with a default value of <code><a href="../../../">ERROR(/Profile.LockMode.DEFAULT)</a></code>.
+</p>
+
+ </div>
+</div>
+
+
+<A NAME="LockSettings(int)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">LockSettings</span>
+ <span class="normal">(int value)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Construct a <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code> with a default value.
+</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>value</code></td>
+ <td width="100%">
+ <code>int</code> <!-- no parameter comment --></td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<!-- Protected ctors -->
+
+
+
+<!-- ========= METHOD DETAIL ======== -->
+<!-- Public methdos -->
+
+<h2>Public Methods</h2>
+
+
+
+<A NAME="describeContents()"></A>
+
+<div class="jd-details api apilevel-2">
+ <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 2</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="getValue()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ int
+ </span>
+ <span class="sympad">getValue</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Get the value for the <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code></p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code>int</code></td>
+ <td width="100%">a constant from <code><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></code>
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setValue(int)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ void
+ </span>
+ <span class="sympad">setValue</span>
+ <span class="normal">(int value)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Set the value for the <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code>
+
+ see <code><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></code>
+</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>value</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/profiles/RingModeSettings.html b/reference/lineageos/profiles/RingModeSettings.html
new file mode 100644
index 00000000..f26150bf
--- /dev/null
+++ b/reference/lineageos/profiles/RingModeSettings.html
@@ -0,0 +1,1551 @@
+<!-- ################ 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>RingModeSettings | 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="2" 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="selected 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="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-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html">AirplaneModeSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></li>
+ <li class="selected api apilevel-2"><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</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>
+
+
+
+ &#124; <a href="#inhconstants">Inherited Constants</a>
+
+
+
+
+
+ &#124; <a href="#pubctors">Ctors</a>
+
+
+
+
+ &#124; <a href="#pubmethods">Methods</a>
+
+
+
+
+ &#124; <a href="#inhmethods">Inherited Methods</a>
+
+&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
+
+</div><!-- end sum-details-links -->
+<div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+</div>
+</div><!-- end api-info-block -->
+
+
+<!-- ======== START OF CLASS DATA ======== -->
+
+<div id="jd-header">
+ public
+
+ final
+
+ class
+<h1 itemprop="name">RingModeSettings</h1>
+
+
+
+
+ extends Object<br/>
+
+
+
+
+
+
+ implements
+
+ Parcelable
+
+
+
+
+
+
+
+
+</div><!-- end header -->
+
+<div id="naMessage"></div>
+
+<div id="jd-content" class="api apilevel-2">
+<table class="jd-inheritance-table">
+
+
+ <tr>
+
+ <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
+ </tr>
+
+
+ <tr>
+
+ <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
+
+ <td colspan="1" class="jd-inheritance-class-cell">lineageos.profiles.RingModeSettings</td>
+ </tr>
+
+
+</table>
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Class Overview</h2>
+<p itemprop="articleBody">The <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> class allows for creating various <code><a href="../../../reference/android/media/AudioManager.html">AudioManager</a></code>
+ overrides on the device depending on their capabilities.
+
+ <p>Example for setting the default ring mode to muted:
+ <pre class="prettyprint">
+ RingModeSettings ringSettings = new RingModeSettings(RING_MODE_MUTE, true));
+ profile.setRingMode(ringSettings);
+ </pre>
+</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-2" >
+ <td class="jd-typecol">String</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/RingModeSettings.html#RING_MODE_MUTE">RING_MODE_MUTE</a></td>
+ <td class="jd-descrcol" width="100%">
+
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol">String</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/RingModeSettings.html#RING_MODE_NORMAL">RING_MODE_NORMAL</a></td>
+ <td class="jd-descrcol" width="100%">
+
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol">String</td>
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/RingModeSettings.html#RING_MODE_VIBRATE">RING_MODE_VIBRATE</a></td>
+ <td class="jd-descrcol" width="100%">
+
+
+
+
+ </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>
+
+
+
+
+
+
+
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr>
+
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/RingModeSettings.html#RingModeSettings(android.os.Parcel)">RingModeSettings</a></span>(Parcel parcel)</nobr>
+
+ <div class="jd-descrdiv">
+ Unwrap <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> from a parcel.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/RingModeSettings.html#RingModeSettings()">RingModeSettings</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Construct a <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> with a default state of #RING_MODE_NORMAL.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/RingModeSettings.html#RingModeSettings(java.lang.String, boolean)">RingModeSettings</a></span>(String value, boolean override)</nobr>
+
+ <div class="jd-descrdiv">
+ Construct a <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> with a default value and whether or not it should
+ override user settings.
+
+
+
+ </div>
+
+ </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-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/RingModeSettings.html#describeContents()">describeContents</a></span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ String</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/RingModeSettings.html#getValue()">getValue</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Get the default value for the <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code>
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ boolean</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/RingModeSettings.html#isOverride()">isOverride</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Check whether or not the <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> overrides user settings.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/RingModeSettings.html#setOverride(boolean)">setOverride</a></span>(boolean override)</nobr>
+
+ <div class="jd-descrdiv">
+ Set whether or not the <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> should override default user values
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/RingModeSettings.html#setValue(java.lang.String)">setValue</a></span>(String value)</nobr>
+
+ <div class="jd-descrdiv">
+ Set the default value for the <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code>
+
+
+
+ </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&lt;?&gt;</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">getClass</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">hashCode</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notify</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notifyAll</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ String</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">toString</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>()</nobr>
+
+ </td></tr>
+
+
+</table>
+ </div>
+</div>
+</td></tr>
+
+
+
+<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="RING_MODE_MUTE"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ String
+ </span>
+ RING_MODE_MUTE
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p></p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ "mute"
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+<A NAME="RING_MODE_NORMAL"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ String
+ </span>
+ RING_MODE_NORMAL
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p></p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ "normal"
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+<A NAME="RING_MODE_VIBRATE"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+ static
+ final
+ String
+ </span>
+ RING_MODE_VIBRATE
+ </h4>
+ <div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p></p>
+
+
+ <div class="jd-tagdata">
+ <span class="jd-tagtitle">Constant Value: </span>
+ <span>
+
+ "vibrate"
+
+ </span>
+ </div>
+
+ </div>
+</div>
+
+
+
+
+<!-- Fields -->
+
+
+<!-- Public ctors -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<h2>Public Constructors</h2>
+
+
+
+<A NAME="RingModeSettings(android.os.Parcel)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">RingModeSettings</span>
+ <span class="normal">(Parcel parcel)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Unwrap <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> from a parcel.</p>
+
+ </div>
+</div>
+
+
+<A NAME="RingModeSettings()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">RingModeSettings</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Construct a <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> with a default state of #RING_MODE_NORMAL.
+</p>
+
+ </div>
+</div>
+
+
+<A NAME="RingModeSettings(java.lang.String, boolean)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">RingModeSettings</span>
+ <span class="normal">(String value, boolean override)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Construct a <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> with a default value and whether or not it should
+ override user settings.</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>value</code></td>
+ <td width="100%">
+ <code>String</code>: ex: <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html#RING_MODE_VIBRATE">RING_MODE_VIBRATE</a></code></td>
+ </tr>
+ <tr>
+ <td><code>override</code></td>
+ <td width="100%">
+ <code>boolean</code>: whether or not the setting should override user settings
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<!-- Protected ctors -->
+
+
+
+<!-- ========= METHOD DETAIL ======== -->
+<!-- Public methdos -->
+
+<h2>Public Methods</h2>
+
+
+
+<A NAME="describeContents()"></A>
+
+<div class="jd-details api apilevel-2">
+ <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 2</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="getValue()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ String
+ </span>
+ <span class="sympad">getValue</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Get the default value for the <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code></p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code>String</code></td>
+ <td width="100%">integer value corresponding with its type
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="isOverride()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ boolean
+ </span>
+ <span class="sympad">isOverride</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Check whether or not the <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> overrides user settings.</p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code>boolean</code></td>
+ <td width="100%">true if override
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setOverride(boolean)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ void
+ </span>
+ <span class="sympad">setOverride</span>
+ <span class="normal">(boolean override)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Set whether or not the <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> should override default user values</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>override</code></td>
+ <td width="100%">
+ <code>boolean</code>: boolean override
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setValue(java.lang.String)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ void
+ </span>
+ <span class="sympad">setValue</span>
+ <span class="normal">(String value)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Set the default value for the <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code></p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>value</code></td>
+ <td width="100%">
+ <code>String</code>: ex: <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html#RING_MODE_VIBRATE">RING_MODE_VIBRATE</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/profiles/StreamSettings.html b/reference/lineageos/profiles/StreamSettings.html
new file mode 100644
index 00000000..5463e9a2
--- /dev/null
+++ b/reference/lineageos/profiles/StreamSettings.html
@@ -0,0 +1,1451 @@
+<!-- ################ 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>StreamSettings | 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="2" 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="selected 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="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-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html">AirplaneModeSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></li>
+ <li class="selected api apilevel-2"><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</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="#inhconstants">Inherited Constants</a>
+
+
+
+
+
+ &#124; <a href="#pubctors">Ctors</a>
+
+
+
+
+ &#124; <a href="#pubmethods">Methods</a>
+
+
+
+
+ &#124; <a href="#inhmethods">Inherited Methods</a>
+
+&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
+
+</div><!-- end sum-details-links -->
+<div class="api-level">
+
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a>
+
+
+
+</div>
+</div><!-- end api-info-block -->
+
+
+<!-- ======== START OF CLASS DATA ======== -->
+
+<div id="jd-header">
+ public
+
+ final
+
+ class
+<h1 itemprop="name">StreamSettings</h1>
+
+
+
+
+ extends Object<br/>
+
+
+
+
+
+
+ implements
+
+ Parcelable
+
+
+
+
+
+
+
+
+</div><!-- end header -->
+
+<div id="naMessage"></div>
+
+<div id="jd-content" class="api apilevel-2">
+<table class="jd-inheritance-table">
+
+
+ <tr>
+
+ <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
+ </tr>
+
+
+ <tr>
+
+ <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
+
+ <td colspan="1" class="jd-inheritance-class-cell">lineageos.profiles.StreamSettings</td>
+ </tr>
+
+
+</table>
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Class Overview</h2>
+<p itemprop="articleBody">The <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> class allows for creating various <code><a href="../../../reference/android/media/AudioManager.html">AudioManager</a></code>
+ overrides on the device depending on their capabilities.
+
+ <p>Example for setting the alarm stream defaults and override:
+ <pre class="prettyprint">
+ StreamSettings alarmStreamSettings = new StreamSettings(AudioManager.STREAM_ALARM,
+ am.getStreamVolume(AudioManager.STREAM_ALARM), true));
+ profile.setStreamSettings(alarmStreamSettings);
+ </pre>
+</p>
+
+
+
+
+
+</div><!-- jd-descr -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Summary</h2>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!-- =========== 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>
+
+
+
+
+
+
+
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr>
+
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/StreamSettings.html#StreamSettings(android.os.Parcel)">StreamSettings</a></span>(Parcel parcel)</nobr>
+
+ <div class="jd-descrdiv">
+ Unwrap <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> from a parcel.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/StreamSettings.html#StreamSettings(int)">StreamSettings</a></span>(int streamId)</nobr>
+
+ <div class="jd-descrdiv">
+ Construct a <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> with a stream id and default states.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ </nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/StreamSettings.html#StreamSettings(int, int, boolean)">StreamSettings</a></span>(int streamId, int value, boolean override)</nobr>
+
+ <div class="jd-descrdiv">
+ Construct a <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> with a stream id, default value,
+ and if the setting should override the user defaults.
+
+
+
+ </div>
+
+ </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-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/StreamSettings.html#describeContents()">describeContents</a></span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/StreamSettings.html#getStreamId()">getStreamId</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Retrieve the stream id id associated with the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code>
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/StreamSettings.html#getValue()">getValue</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Get the default value for the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code>
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ boolean</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/StreamSettings.html#isOverride()">isOverride</a></span>()</nobr>
+
+ <div class="jd-descrdiv">
+ Check whether or not the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> overrides user settings.
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/StreamSettings.html#setOverride(boolean)">setOverride</a></span>(boolean override)</nobr>
+
+ <div class="jd-descrdiv">
+ Set whether or not the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> should override default user values
+
+
+
+ </div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../../reference/lineageos/profiles/StreamSettings.html#setValue(int)">setValue</a></span>(int value)</nobr>
+
+ <div class="jd-descrdiv">
+ Set the default value for the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code>
+
+
+
+ </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&lt;?&gt;</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">getClass</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ int</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">hashCode</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notify</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">notifyAll</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+
+
+
+ String</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">toString</span>()</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>(long arg0)</nobr>
+
+ </td></tr>
+
+
+
+ <tr class="alt-color api apilevel-" >
+ <td class="jd-typecol"><nobr>
+
+
+ final
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad">wait</span>()</nobr>
+
+ </td></tr>
+
+
+</table>
+ </div>
+</div>
+</td></tr>
+
+
+
+<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 -->
+
+
+<!-- Public ctors -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<h2>Public Constructors</h2>
+
+
+
+<A NAME="StreamSettings(android.os.Parcel)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">StreamSettings</span>
+ <span class="normal">(Parcel parcel)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Unwrap <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> from a parcel.</p>
+
+ </div>
+</div>
+
+
+<A NAME="StreamSettings(int)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">StreamSettings</span>
+ <span class="normal">(int streamId)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Construct a <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> with a stream id and default states.</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>streamId</code></td>
+ <td width="100%">
+ <code>int</code>: ex: <code><a href="../../../reference/android/media/AudioManager.html#STREAM_ALARM">STREAM_ALARM</a></code>
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="StreamSettings(int, int, boolean)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+
+ </span>
+ <span class="sympad">StreamSettings</span>
+ <span class="normal">(int streamId, int value, boolean override)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Construct a <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> with a stream id, default value,
+ and if the setting should override the user defaults.</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>streamId</code></td>
+ <td width="100%">
+ <code>int</code>: ex: <code><a href="../../../reference/android/media/AudioManager.html#STREAM_ALARM">STREAM_ALARM</a></code></td>
+ </tr>
+ <tr>
+ <td><code>value</code></td>
+ <td width="100%">
+ <code>int</code>: default value for the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code></td>
+ </tr>
+ <tr>
+ <td><code>override</code></td>
+ <td width="100%">
+ <code>boolean</code>: whether or not the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> should override user defaults
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<!-- Protected ctors -->
+
+
+
+<!-- ========= METHOD DETAIL ======== -->
+<!-- Public methdos -->
+
+<h2>Public Methods</h2>
+
+
+
+<A NAME="describeContents()"></A>
+
+<div class="jd-details api apilevel-2">
+ <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 2</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="getStreamId()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ int
+ </span>
+ <span class="sympad">getStreamId</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Retrieve the stream id id associated with the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code></p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code>int</code></td>
+ <td width="100%">an integer identifier
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="getValue()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ int
+ </span>
+ <span class="sympad">getValue</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Get the default value for the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code></p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code>int</code></td>
+ <td width="100%">integer value corresponding with its state
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="isOverride()"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ boolean
+ </span>
+ <span class="sympad">isOverride</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 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Check whether or not the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> overrides user settings.</p>
+ <table class="responsive">
+ <tr><th colspan=2>Returns</th></tr>
+ <tr>
+ <td><code>boolean</code></td>
+ <td width="100%">true if override
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setOverride(boolean)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ void
+ </span>
+ <span class="sympad">setOverride</span>
+ <span class="normal">(boolean override)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Set whether or not the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> should override default user values</p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>override</code></td>
+ <td width="100%">
+ <code>boolean</code>: boolean override
+</td>
+ </tr>
+ </table>
+
+ </div>
+</div>
+
+
+<A NAME="setValue(int)"></A>
+
+<div class="jd-details api apilevel-2">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+
+
+ void
+ </span>
+ <span class="sympad">setValue</span>
+ <span class="normal">(int value)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+ added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+
+
+
+ <p>Set the default value for the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code></p>
+ <table class="responsive">
+ <tr><th colspan=2>Parameters</th></tr>
+ <tr>
+ <td><code>value</code></td>
+ <td width="100%">
+ <code>int</code>: see <code><a href="../../../reference/android/media/AudioManager.html">AudioManager</a></code> for viable values
+</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/profiles/package-summary.html b/reference/lineageos/profiles/package-summary.html
new file mode 100644
index 00000000..12dc7d64
--- /dev/null
+++ b/reference/lineageos/profiles/package-summary.html
@@ -0,0 +1,413 @@
+<!-- ################ 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.profiles | 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="2" 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="selected 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="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-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html">AirplaneModeSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></li>
+ <li class="api apilevel-2"><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</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 2</a>
+
+
+
+</div>
+</div>
+
+<div id="jd-header">
+ package
+ <h1>lineageos.profiles</h1>
+</div><!-- end header -->
+
+<div id="naMessage"></div>
+
+<div id="jd-content" class="api apilevel-2">
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <h2>Classes</h2>
+ <div class="jd-sumtable">
+
+
+ <table class="jd-sumtable-expando">
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> class allows for overriding and setting the airplane mode.&nbsp;
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.BooleanState.html">AirplaneModeSettings.BooleanState</a></td>
+ <td class="jd-descrcol" width="100%">
+ BooleanStates for specific <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code>
+&nbsp;
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> class allows for overriding and setting the brightness level
+ of the display.&nbsp;
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> class allows for creating Network/Hardware overrides
+ depending on their capabilities.&nbsp;
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/ConnectionSettings.BooleanState.html">ConnectionSettings.BooleanState</a></td>
+ <td class="jd-descrcol" width="100%">
+ BooleanStates for specific <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code>
+&nbsp;
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code> class allows for overriding and setting the
+ current Lock screen state/security level.&nbsp;
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class="alt-color api apilevel-2" >
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> class allows for creating various <code><a href="../../../reference/android/media/AudioManager.html">AudioManager</a></code>
+ overrides on the device depending on their capabilities.&nbsp;
+
+
+
+ </td>
+ </tr>
+
+
+ <tr class=" api apilevel-2" >
+ <td class="jd-linkcol"><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></td>
+ <td class="jd-descrcol" width="100%">
+ The <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> class allows for creating various <code><a href="../../../reference/android/media/AudioManager.html">AudioManager</a></code>
+ overrides on the device depending on their capabilities.&nbsp;
+
+
+
+ </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>