diff options
Diffstat (limited to 'reference/lineageos/app')
-rw-r--r-- | reference/lineageos/app/Profile.DozeMode.html | 935 | ||||
-rw-r--r-- | reference/lineageos/app/Profile.ExpandedDesktopMode.html | 935 | ||||
-rw-r--r-- | reference/lineageos/app/Profile.LockMode.html | 935 | ||||
-rw-r--r-- | reference/lineageos/app/Profile.NotificationLightMode.html | 935 | ||||
-rw-r--r-- | reference/lineageos/app/Profile.ProfileTrigger.html | 1336 | ||||
-rw-r--r-- | reference/lineageos/app/Profile.TriggerState.html | 1051 | ||||
-rw-r--r-- | reference/lineageos/app/Profile.TriggerType.html | 881 | ||||
-rw-r--r-- | reference/lineageos/app/Profile.Type.html | 881 | ||||
-rw-r--r-- | reference/lineageos/app/Profile.html | 3299 | ||||
-rw-r--r-- | reference/lineageos/app/ProfileManager.html | 2759 | ||||
-rw-r--r-- | reference/lineageos/app/package-summary.html | 452 |
11 files changed, 14399 insertions, 0 deletions
diff --git a/reference/lineageos/app/Profile.DozeMode.html b/reference/lineageos/app/Profile.DozeMode.html new file mode 100644 index 00000000..fd37f83f --- /dev/null +++ b/reference/lineageos/app/Profile.DozeMode.html @@ -0,0 +1,935 @@ +<!-- ################ 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>Profile.DozeMode | 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="selected api apilevel-2"> + <a href="../../../reference/lineageos/app/package-summary.html">lineageos.app</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/content/package-summary.html">lineageos.content</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/hardware/package-summary.html">lineageos.hardware</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/os/package-summary.html">lineageos.os</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/platform/package-summary.html">lineageos.platform</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/power/package-summary.html">lineageos.power</a></li> + <li class="api apilevel-8"> + <a href="../../../reference/lineageos/preference/package-summary.html">lineageos.preference</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/profiles/package-summary.html">lineageos.profiles</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/providers/package-summary.html">lineageos.providers</a></li> + <li class="api apilevel-9"> + <a href="../../../reference/lineageos/style/package-summary.html">lineageos.style</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/util/package-summary.html">lineageos.util</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li> + <li class="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/app/Profile.html">Profile</a></li> + <li class="selected api apilevel-2"><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></li> + <li class="api apilevel-5"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></li> + </ul> + </li> + + + + </ul><br/> + + + </div><!-- end classes --> + </div><!-- end nav-panels --> + <div id="nav-tree" style="display:none" class="scroll-pane"> + <div id="tree-list"></div> + </div><!-- end nav-tree --> + </div><!-- end swapper --> + <div id="nav-swap"> + <a class="fullscreen">fullscreen</a> + <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a> + </div> + </div> <!-- end devdoc-nav --> + </div> <!-- end side-nav --> + <script type="text/javascript"> + // init fullscreen based on user pref + var fullscreen = readCookie("fullscreen"); + if (fullscreen != 0) { + if (fullscreen == "false") { + toggleFullscreen(false); + } else { + toggleFullscreen(true); + } + } + // init nav version for mobile + if (isMobile) { + swapNav(); // tree view should be used on mobile + $('#nav-swap').hide(); + } else { + chooseDefaultNav(); + if ($("#nav-tree").is(':visible')) { + init_default_navtree("../../../"); + } + } + // scroll the selected page into view + $(document).ready(function() { + scrollIntoView("packages-nav"); + scrollIntoView("classes-nav"); + }); + </script> + + + + + +<div class="col-12" id="doc-col"> + +<div id="api-info-block"> + + + + + + + + + + + +<div class="sum-details-links"> + +Summary: + + + + + + <a href="#constants">Constants</a> + + + + + + + | <a href="#pubctors">Ctors</a> + + + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + static + + + class +<h1 itemprop="name">Profile.DozeMode</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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.app.Profile.DozeMode</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">Doze modes available on a device +</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/app/Profile.DozeMode.html#DEFAULT">DEFAULT</a></td> + <td class="jd-descrcol" width="100%"> + Represents a default Doze mode (user choice) + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.DozeMode.html#DISABLE">DISABLE</a></td> + <td class="jd-descrcol" width="100%"> + Represents an disabled Doze mode + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.DozeMode.html#ENABLE">ENABLE</a></td> + <td class="jd-descrcol" width="100%"> + Represents an enabled Doze mode + + + + </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/app/Profile.DozeMode.html#Profile.DozeMode()">Profile.DozeMode</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<?></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="DEFAULT"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + DEFAULT + </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>Represents a default Doze mode (user choice) </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 0 + (0x00000000) + + </span> + </div> + + </div> +</div> + + + +<A NAME="DISABLE"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + DISABLE + </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>Represents an disabled Doze mode </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 2 + (0x00000002) + + </span> + </div> + + </div> +</div> + + + +<A NAME="ENABLE"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + ENABLE + </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>Represents an enabled Doze mode </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="Profile.DozeMode()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + + </span> + <span class="sympad">Profile.DozeMode</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/app/Profile.ExpandedDesktopMode.html b/reference/lineageos/app/Profile.ExpandedDesktopMode.html new file mode 100644 index 00000000..513d8fe8 --- /dev/null +++ b/reference/lineageos/app/Profile.ExpandedDesktopMode.html @@ -0,0 +1,935 @@ +<!-- ################ 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>Profile.ExpandedDesktopMode | 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="selected api apilevel-2"> + <a href="../../../reference/lineageos/app/package-summary.html">lineageos.app</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/content/package-summary.html">lineageos.content</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/hardware/package-summary.html">lineageos.hardware</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/os/package-summary.html">lineageos.os</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/platform/package-summary.html">lineageos.platform</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/power/package-summary.html">lineageos.power</a></li> + <li class="api apilevel-8"> + <a href="../../../reference/lineageos/preference/package-summary.html">lineageos.preference</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/profiles/package-summary.html">lineageos.profiles</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/providers/package-summary.html">lineageos.providers</a></li> + <li class="api apilevel-9"> + <a href="../../../reference/lineageos/style/package-summary.html">lineageos.style</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/util/package-summary.html">lineageos.util</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li> + <li class="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/app/Profile.html">Profile</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></li> + <li class="selected api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></li> + <li class="api apilevel-5"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></li> + </ul> + </li> + + + + </ul><br/> + + + </div><!-- end classes --> + </div><!-- end nav-panels --> + <div id="nav-tree" style="display:none" class="scroll-pane"> + <div id="tree-list"></div> + </div><!-- end nav-tree --> + </div><!-- end swapper --> + <div id="nav-swap"> + <a class="fullscreen">fullscreen</a> + <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a> + </div> + </div> <!-- end devdoc-nav --> + </div> <!-- end side-nav --> + <script type="text/javascript"> + // init fullscreen based on user pref + var fullscreen = readCookie("fullscreen"); + if (fullscreen != 0) { + if (fullscreen == "false") { + toggleFullscreen(false); + } else { + toggleFullscreen(true); + } + } + // init nav version for mobile + if (isMobile) { + swapNav(); // tree view should be used on mobile + $('#nav-swap').hide(); + } else { + chooseDefaultNav(); + if ($("#nav-tree").is(':visible')) { + init_default_navtree("../../../"); + } + } + // scroll the selected page into view + $(document).ready(function() { + scrollIntoView("packages-nav"); + scrollIntoView("classes-nav"); + }); + </script> + + + + + +<div class="col-12" id="doc-col"> + +<div id="api-info-block"> + + + + + + + + + + + +<div class="sum-details-links"> + +Summary: + + + + + + <a href="#constants">Constants</a> + + + + + + + | <a href="#pubctors">Ctors</a> + + + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + static + + + class +<h1 itemprop="name">Profile.ExpandedDesktopMode</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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.app.Profile.ExpandedDesktopMode</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">Expanded desktop modes available on a device +</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/app/Profile.ExpandedDesktopMode.html#DEFAULT">DEFAULT</a></td> + <td class="jd-descrcol" width="100%"> + Represents a default state expanded desktop mode (user choice) + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html#DISABLE">DISABLE</a></td> + <td class="jd-descrcol" width="100%"> + Represents a disabled expanded desktop mode + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html#ENABLE">ENABLE</a></td> + <td class="jd-descrcol" width="100%"> + Represents an enabled expanded desktop mode + + + + </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/app/Profile.ExpandedDesktopMode.html#Profile.ExpandedDesktopMode()">Profile.ExpandedDesktopMode</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<?></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="DEFAULT"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + DEFAULT + </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>Represents a default state expanded desktop mode (user choice) </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 0 + (0x00000000) + + </span> + </div> + + </div> +</div> + + + +<A NAME="DISABLE"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + DISABLE + </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>Represents a disabled expanded desktop mode </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 2 + (0x00000002) + + </span> + </div> + + </div> +</div> + + + +<A NAME="ENABLE"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + ENABLE + </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>Represents an enabled expanded desktop mode </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="Profile.ExpandedDesktopMode()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + + </span> + <span class="sympad">Profile.ExpandedDesktopMode</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/app/Profile.LockMode.html b/reference/lineageos/app/Profile.LockMode.html new file mode 100644 index 00000000..66898bb0 --- /dev/null +++ b/reference/lineageos/app/Profile.LockMode.html @@ -0,0 +1,935 @@ +<!-- ################ 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>Profile.LockMode | 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="selected api apilevel-2"> + <a href="../../../reference/lineageos/app/package-summary.html">lineageos.app</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/content/package-summary.html">lineageos.content</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/hardware/package-summary.html">lineageos.hardware</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/os/package-summary.html">lineageos.os</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/platform/package-summary.html">lineageos.platform</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/power/package-summary.html">lineageos.power</a></li> + <li class="api apilevel-8"> + <a href="../../../reference/lineageos/preference/package-summary.html">lineageos.preference</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/profiles/package-summary.html">lineageos.profiles</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/providers/package-summary.html">lineageos.providers</a></li> + <li class="api apilevel-9"> + <a href="../../../reference/lineageos/style/package-summary.html">lineageos.style</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/util/package-summary.html">lineageos.util</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li> + <li class="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/app/Profile.html">Profile</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></li> + <li class="selected api apilevel-2"><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></li> + <li class="api apilevel-5"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></li> + </ul> + </li> + + + + </ul><br/> + + + </div><!-- end classes --> + </div><!-- end nav-panels --> + <div id="nav-tree" style="display:none" class="scroll-pane"> + <div id="tree-list"></div> + </div><!-- end nav-tree --> + </div><!-- end swapper --> + <div id="nav-swap"> + <a class="fullscreen">fullscreen</a> + <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a> + </div> + </div> <!-- end devdoc-nav --> + </div> <!-- end side-nav --> + <script type="text/javascript"> + // init fullscreen based on user pref + var fullscreen = readCookie("fullscreen"); + if (fullscreen != 0) { + if (fullscreen == "false") { + toggleFullscreen(false); + } else { + toggleFullscreen(true); + } + } + // init nav version for mobile + if (isMobile) { + swapNav(); // tree view should be used on mobile + $('#nav-swap').hide(); + } else { + chooseDefaultNav(); + if ($("#nav-tree").is(':visible')) { + init_default_navtree("../../../"); + } + } + // scroll the selected page into view + $(document).ready(function() { + scrollIntoView("packages-nav"); + scrollIntoView("classes-nav"); + }); + </script> + + + + + +<div class="col-12" id="doc-col"> + +<div id="api-info-block"> + + + + + + + + + + + +<div class="sum-details-links"> + +Summary: + + + + + + <a href="#constants">Constants</a> + + + + + + + | <a href="#pubctors">Ctors</a> + + + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + static + + + class +<h1 itemprop="name">Profile.LockMode</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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.app.Profile.LockMode</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">Lock modes of a device +</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/app/Profile.LockMode.html#DEFAULT">DEFAULT</a></td> + <td class="jd-descrcol" width="100%"> + Represents a default state lock mode (user choice) + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.LockMode.html#DISABLE">DISABLE</a></td> + <td class="jd-descrcol" width="100%"> + Represents a disabled state lock mode, where the devices lock screen can be removed + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.LockMode.html#INSECURE">INSECURE</a></td> + <td class="jd-descrcol" width="100%"> + Represents an insecure state lock mode, where the device has no security screen + + + + </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/app/Profile.LockMode.html#Profile.LockMode()">Profile.LockMode</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<?></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="DEFAULT"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + DEFAULT + </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>Represents a default state lock mode (user choice) </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 0 + (0x00000000) + + </span> + </div> + + </div> +</div> + + + +<A NAME="DISABLE"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + DISABLE + </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>Represents a disabled state lock mode, where the devices lock screen can be removed </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 2 + (0x00000002) + + </span> + </div> + + </div> +</div> + + + +<A NAME="INSECURE"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + INSECURE + </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>Represents an insecure state lock mode, where the device has no security screen </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="Profile.LockMode()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + + </span> + <span class="sympad">Profile.LockMode</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/app/Profile.NotificationLightMode.html b/reference/lineageos/app/Profile.NotificationLightMode.html new file mode 100644 index 00000000..d79a1438 --- /dev/null +++ b/reference/lineageos/app/Profile.NotificationLightMode.html @@ -0,0 +1,935 @@ +<!-- ################ 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>Profile.NotificationLightMode | Android Developers</title> + +<!-- STYLESHEETS --> +<link rel="stylesheet" +href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> +<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold" + title="roboto"> +<link href="../../../assets/css/default.css?v=5" rel="stylesheet" type="text/css"> + + +<!-- FULLSCREEN STYLESHEET --> +<link href="../../../assets/css/fullscreen.css" rel="stylesheet" class="fullscreen" +type="text/css"> + + +<!-- JAVASCRIPT --> +<script src="http://www.google.com/jsapi" type="text/javascript"></script> +<script src="../../../assets/js/android_3p-bundle.js" type="text/javascript"></script> +<script type="text/javascript"> + var toRoot = "../../../"; + var metaTags = []; + var devsite = false; +</script> + + + +<script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-5831155-1', 'android.com'); + ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker); + ga('send', 'pageview'); + ga('universal.send', 'pageview'); // Send page view for new tracker. +</script> + +<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> +<script src="../../../assets/docs.js?v=3" type="text/javascript"></script> +</head> + +<body class="gc-documentation + develop reference" itemscope itemtype="http://schema.org/Article"> + <div id="doc-api-level" class="5" style="display:none"></div> + <a name="top"></a> + + <div id="header"> + <div id="headerLeft"> + <a href="../../../reference/packages.html" tabindex="-1"><img + src="../../../assets/lineage_logo.svg" alt="CID" width="144" height="72"/> + <span id="masthead-title" style="font-size: 28px;">LineageOS Platform SDK</span></a> + </div> + </div><!-- header --> + + + <div class="wrap clearfix" id="body-content"> + <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> + <div id="devdoc-nav"> + <div id="api-nav-header"> + <div id="api-level-toggle"> + <label for="apiLevelCheckbox" class="disabled" + title="Select your target API level to dim unavailable APIs">API level: </label> + <div class="select-wrapper"> + <select id="apiLevelSelector"> + <!-- option elements added by buildApiLevelSelector() --> + </select> + </div> + </div><!-- end toggle --> + <div id="api-nav-title">LineageOS APIs</div> + </div><!-- end nav header --> + <script> + var SINCE_DATA = [ '1', '2', '3', '4', '5', '6', '7', '8', '9' ]; + buildApiLevelSelector(); + </script> + + <div id="swapper"> + <div id="nav-panels"> + <div id="resize-packages-nav"> + <div id="packages-nav" class="scroll-pane"> + + <ul> + + <li class="selected api apilevel-2"> + <a href="../../../reference/lineageos/app/package-summary.html">lineageos.app</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/content/package-summary.html">lineageos.content</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/hardware/package-summary.html">lineageos.hardware</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/os/package-summary.html">lineageos.os</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/platform/package-summary.html">lineageos.platform</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/power/package-summary.html">lineageos.power</a></li> + <li class="api apilevel-8"> + <a href="../../../reference/lineageos/preference/package-summary.html">lineageos.preference</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/profiles/package-summary.html">lineageos.profiles</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/providers/package-summary.html">lineageos.providers</a></li> + <li class="api apilevel-9"> + <a href="../../../reference/lineageos/style/package-summary.html">lineageos.style</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/util/package-summary.html">lineageos.util</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li> + <li class="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/app/Profile.html">Profile</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></li> + <li class="selected api apilevel-5"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></li> + </ul> + </li> + + + + </ul><br/> + + + </div><!-- end classes --> + </div><!-- end nav-panels --> + <div id="nav-tree" style="display:none" class="scroll-pane"> + <div id="tree-list"></div> + </div><!-- end nav-tree --> + </div><!-- end swapper --> + <div id="nav-swap"> + <a class="fullscreen">fullscreen</a> + <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a> + </div> + </div> <!-- end devdoc-nav --> + </div> <!-- end side-nav --> + <script type="text/javascript"> + // init fullscreen based on user pref + var fullscreen = readCookie("fullscreen"); + if (fullscreen != 0) { + if (fullscreen == "false") { + toggleFullscreen(false); + } else { + toggleFullscreen(true); + } + } + // init nav version for mobile + if (isMobile) { + swapNav(); // tree view should be used on mobile + $('#nav-swap').hide(); + } else { + chooseDefaultNav(); + if ($("#nav-tree").is(':visible')) { + init_default_navtree("../../../"); + } + } + // scroll the selected page into view + $(document).ready(function() { + scrollIntoView("packages-nav"); + scrollIntoView("classes-nav"); + }); + </script> + + + + + +<div class="col-12" id="doc-col"> + +<div id="api-info-block"> + + + + + + + + + + + +<div class="sum-details-links"> + +Summary: + + + + + + <a href="#constants">Constants</a> + + + + + + + | <a href="#pubctors">Ctors</a> + + + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + static + + + class +<h1 itemprop="name">Profile.NotificationLightMode</h1> + + + + + extends Object<br/> + + + + + + + + + + + + +</div><!-- end header --> + +<div id="naMessage"></div> + +<div id="jd-content" class="api apilevel-5"> +<table class="jd-inheritance-table"> + + + <tr> + + <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td> + </tr> + + + <tr> + + <td class="jd-inheritance-space"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.app.Profile.NotificationLightMode</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">Notification light modes available on a device +</p> + + + + + +</div><!-- jd-descr --> + + + + + + + + + + + + + + + + +<div class="jd-descr"> + + +<h2>Summary</h2> + + + + + + + + + + + + + +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<table id="constants" class="jd-sumtable"><tr><th colspan="12">Constants</th></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html#DEFAULT">DEFAULT</a></td> + <td class="jd-descrcol" width="100%"> + Represents a default Notification light mode (user choice) + + + + </td> + </tr> + + + <tr class=" api apilevel-5" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html#DISABLE">DISABLE</a></td> + <td class="jd-descrcol" width="100%"> + Represents a disabled Notification light mode + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html#ENABLE">ENABLE</a></td> + <td class="jd-descrcol" width="100%"> + Represents an enabled Notification light mode + + + + </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-5" > + <td class="jd-typecol"><nobr> + + + + + + </nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html#Profile.NotificationLightMode()">Profile.NotificationLightMode</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<?></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="DEFAULT"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + DEFAULT + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Represents a default Notification light mode (user choice) </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 0 + (0x00000000) + + </span> + </div> + + </div> +</div> + + + +<A NAME="DISABLE"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + DISABLE + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Represents a disabled Notification light mode </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 2 + (0x00000002) + + </span> + </div> + + </div> +</div> + + + +<A NAME="ENABLE"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + ENABLE + </h4> + <div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Represents an enabled Notification light mode </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="Profile.NotificationLightMode()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + + </span> + <span class="sympad">Profile.NotificationLightMode</span> + <span class="normal">()</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 5</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + + </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/app/Profile.ProfileTrigger.html b/reference/lineageos/app/Profile.ProfileTrigger.html new file mode 100644 index 00000000..2e48907a --- /dev/null +++ b/reference/lineageos/app/Profile.ProfileTrigger.html @@ -0,0 +1,1336 @@ +<!-- ################ 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>Profile.ProfileTrigger | 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="selected api apilevel-2"> + <a href="../../../reference/lineageos/app/package-summary.html">lineageos.app</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/content/package-summary.html">lineageos.content</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/hardware/package-summary.html">lineageos.hardware</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/os/package-summary.html">lineageos.os</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/platform/package-summary.html">lineageos.platform</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/power/package-summary.html">lineageos.power</a></li> + <li class="api apilevel-8"> + <a href="../../../reference/lineageos/preference/package-summary.html">lineageos.preference</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/profiles/package-summary.html">lineageos.profiles</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/providers/package-summary.html">lineageos.providers</a></li> + <li class="api apilevel-9"> + <a href="../../../reference/lineageos/style/package-summary.html">lineageos.style</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/util/package-summary.html">lineageos.util</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li> + <li class="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/app/Profile.html">Profile</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></li> + <li class="api apilevel-5"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></li> + <li class="selected api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</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> + + + + + + | <a href="#pubctors">Ctors</a> + + + + + | <a href="#pubmethods">Methods</a> + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + static + + + class +<h1 itemprop="name">Profile.ProfileTrigger</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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.app.Profile.ProfileTrigger</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">A <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code> is a <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code> which can be queried from the OS +</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/app/Profile.ProfileTrigger.html#Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String)">Profile.ProfileTrigger</a></span>(int type, String id, int state, String name)</nobr> + + <div class="jd-descrdiv"> + Construct a <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code> based on its type <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code> and if + the trigger should fire on a <code><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></code> change. + + + + </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/app/Profile.ProfileTrigger.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/app/Profile.ProfileTrigger.html#getId()">getId</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the id associated with the <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code> + + + + </div> + + </td></tr> + + + + <tr class="alt-color 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/app/Profile.ProfileTrigger.html#getName()">getName</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the name associated with the <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code> + + + + </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/app/Profile.ProfileTrigger.html#getState()">getState</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the state associated with the <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</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/app/Profile.ProfileTrigger.html#getType()">getType</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code> <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code> + + + + </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/app/Profile.ProfileTrigger.html#writeToParcel(android.os.Parcel, int)">writeToParcel</a></span>(Parcel dest, int flags)</nobr> + + </td></tr> + + + +</table> + + + + + + + +<!-- ========== METHOD SUMMARY =========== --> +<table id="inhmethods" class="jd-sumtable"><tr><th> + <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> + <div style="clear:left;">Inherited Methods</div></th></tr> + + +<tr class="api apilevel-" > +<td colspan="12"> + <a href="#" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" > + <img id="inherited-methods-java.lang.Object-trigger" class="jd-expando-trigger-img" + height="34" + src="../../../assets/images/styles/disclosure_down.png" /> + </a> +From class + + java.lang.Object + +<div id="inherited-methods-java.lang.Object"> + <div id="inherited-methods-java.lang.Object-list" + class="jd-inheritedlinks"> + </div> + <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> + <table class="jd-sumtable-expando"> + + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + Object</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">clone</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + boolean</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">equals</span>(Object arg0)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">finalize</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + Class<?></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">getClass</span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">hashCode</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">notify</span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">notifyAll</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">toString</span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">wait</span>(long arg0, int arg1)</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">wait</span>(long arg0)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">wait</span>()</nobr> + + </td></tr> + + +</table> + </div> +</div> +</td></tr> + + + +<tr class="api apilevel-" > +<td colspan="12"> + <a href="#" id="inherited-methods-android.os.Parcelable" class="jd-expando-trigger closed" > + <img id="inherited-methods-android.os.Parcelable-trigger" class="jd-expando-trigger-img" + height="34" + src="../../../assets/images/styles/disclosure_down.png" /> + </a> +From interface + + android.os.Parcelable + +<div id="inherited-methods-android.os.Parcelable"> + <div id="inherited-methods-android.os.Parcelable-list" + class="jd-inheritedlinks"> + </div> + <div id="inherited-methods-android.os.Parcelable-summary" style="display: none;"> + <table class="jd-sumtable-expando"> + + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + abstract + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">describeContents</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + abstract + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">writeToParcel</span>(Parcel arg0, int arg1)</nobr> + + </td></tr> + + +</table> + </div> +</div> +</td></tr> + + +</table> + + +</div><!-- jd-descr (summary) --> + +<!-- Details --> + + + + + + + + +<!-- XML Attributes --> + + +<!-- Enum Values --> + + +<!-- Constants --> + + +<!-- Fields --> + + +<!-- Public ctors --> + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<h2>Public Constructors</h2> + + + +<A NAME="Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + + </span> + <span class="sympad">Profile.ProfileTrigger</span> + <span class="normal">(int type, String id, int state, String name)</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/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code> based on its type <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code> and if + the trigger should fire on a <code><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></code> change. + + Example: + <pre class="prettyprint"> + triggerId = trigger.getSSID(); // Use the AP's SSID as identifier + triggerName = trigger.getTitle(); // Use the AP's name as the trigger name + triggerType = Profile.TriggerType.WIFI; // This is a wifi trigger + triggerState = Profile.TriggerState.ON_CONNECT; // On Connect of this, trigger + + Profile.ProfileTrigger profileTrigger = + new Profile.ProfileTrigger(triggerType, triggerId, triggerState, triggerName); + </pre></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>type</code></td> + <td width="100%"> + <code>int</code>: a <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code></td> + </tr> + <tr> + <td><code>id</code></td> + <td width="100%"> + <code>String</code>: an identifier for the ProfileTrigger</td> + </tr> + <tr> + <td><code>state</code></td> + <td width="100%"> + <code>int</code>: <code><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></code> depending on the TriggerType</td> + </tr> + <tr> + <td><code>name</code></td> + <td width="100%"> + <code>String</code>: an identifying name for the ProfileTrigger +</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="getId()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">getId</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 id associated with the <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%">an string identifier +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getName()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">getName</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 name associated with the <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%">a string name +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getState()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">getState</span> + <span class="normal">()</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Get the state associated with the <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%">an integer indicating the state +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getType()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">getType</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 <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code> <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%"><code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="writeToParcel(android.os.Parcel, int)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">writeToParcel</span> + <span class="normal">(Parcel dest, int flags)</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>dest</code></td> + <td width="100%"> + <code>Parcel</code> <!-- no parameter comment --></td> + </tr> + <tr> + <td><code>flags</code></td> + <td width="100%"> + <code>int</code> <!-- no parameter comment --></td> + </tr> + </table> + + </div> +</div> + + + + + +<!-- ========= METHOD DETAIL ======== --> + + + +<!-- ========= END OF CLASS DATA ========= --> +<A NAME="navbar_top"></A> + +<div id="footer"> + +</div> <!-- end footer --> + +</div> <!-- jd-content --> + +</div><!-- end doc-content --> + +</div> <!-- end body-content --> + +<script type="text/javascript"> +init(); /* initialize android-developer-docs.js */ +</script> + +</body> +</html> diff --git a/reference/lineageos/app/Profile.TriggerState.html b/reference/lineageos/app/Profile.TriggerState.html new file mode 100644 index 00000000..d2d79ee8 --- /dev/null +++ b/reference/lineageos/app/Profile.TriggerState.html @@ -0,0 +1,1051 @@ +<!-- ################ 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>Profile.TriggerState | 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="selected api apilevel-2"> + <a href="../../../reference/lineageos/app/package-summary.html">lineageos.app</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/content/package-summary.html">lineageos.content</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/hardware/package-summary.html">lineageos.hardware</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/os/package-summary.html">lineageos.os</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/platform/package-summary.html">lineageos.platform</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/power/package-summary.html">lineageos.power</a></li> + <li class="api apilevel-8"> + <a href="../../../reference/lineageos/preference/package-summary.html">lineageos.preference</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/profiles/package-summary.html">lineageos.profiles</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/providers/package-summary.html">lineageos.providers</a></li> + <li class="api apilevel-9"> + <a href="../../../reference/lineageos/style/package-summary.html">lineageos.style</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/util/package-summary.html">lineageos.util</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li> + <li class="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/app/Profile.html">Profile</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></li> + <li class="api apilevel-5"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></li> + <li class="selected api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></li> + </ul> + </li> + + + + </ul><br/> + + + </div><!-- end classes --> + </div><!-- end nav-panels --> + <div id="nav-tree" style="display:none" class="scroll-pane"> + <div id="tree-list"></div> + </div><!-- end nav-tree --> + </div><!-- end swapper --> + <div id="nav-swap"> + <a class="fullscreen">fullscreen</a> + <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a> + </div> + </div> <!-- end devdoc-nav --> + </div> <!-- end side-nav --> + <script type="text/javascript"> + // init fullscreen based on user pref + var fullscreen = readCookie("fullscreen"); + if (fullscreen != 0) { + if (fullscreen == "false") { + toggleFullscreen(false); + } else { + toggleFullscreen(true); + } + } + // init nav version for mobile + if (isMobile) { + swapNav(); // tree view should be used on mobile + $('#nav-swap').hide(); + } else { + chooseDefaultNav(); + if ($("#nav-tree").is(':visible')) { + init_default_navtree("../../../"); + } + } + // scroll the selected page into view + $(document).ready(function() { + scrollIntoView("packages-nav"); + scrollIntoView("classes-nav"); + }); + </script> + + + + + +<div class="col-12" id="doc-col"> + +<div id="api-info-block"> + + + + + + + + + + + +<div class="sum-details-links"> + +Summary: + + + + + + <a href="#constants">Constants</a> + + + + + + + | <a href="#pubctors">Ctors</a> + + + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + static + + + class +<h1 itemprop="name">Profile.TriggerState</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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.app.Profile.TriggerState</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">Various trigger states associated with a <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</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/app/Profile.TriggerState.html#DISABLED">DISABLED</a></td> + <td class="jd-descrcol" width="100%"> + A {@link TriggerState) for when the {@link TriggerType} is disabled + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.TriggerState.html#ON_A2DP_CONNECT">ON_A2DP_CONNECT</a></td> + <td class="jd-descrcol" width="100%"> + A {@link TriggerState) for when the {@link TriggerType#BLUETOOTH} + connects for A2DP session + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.TriggerState.html#ON_A2DP_DISCONNECT">ON_A2DP_DISCONNECT</a></td> + <td class="jd-descrcol" width="100%"> + A {@link TriggerState) for when the {@link TriggerType#BLUETOOTH} + disconnects from A2DP session + + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.TriggerState.html#ON_CONNECT">ON_CONNECT</a></td> + <td class="jd-descrcol" width="100%"> + A {@link TriggerState) for when the {@link TriggerType} connects + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.TriggerState.html#ON_DISCONNECT">ON_DISCONNECT</a></td> + <td class="jd-descrcol" width="100%"> + A {@link TriggerState) for when the {@link TriggerType} disconnects + + + + </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/app/Profile.TriggerState.html#Profile.TriggerState()">Profile.TriggerState</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<?></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="DISABLED"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + DISABLED + </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>A {@link TriggerState) for when the {@link TriggerType} is disabled </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 2 + (0x00000002) + + </span> + </div> + + </div> +</div> + + + +<A NAME="ON_A2DP_CONNECT"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + ON_A2DP_CONNECT + </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>A {@link TriggerState) for when the {@link TriggerType#BLUETOOTH} + connects for A2DP session +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 3 + (0x00000003) + + </span> + </div> + + </div> +</div> + + + +<A NAME="ON_A2DP_DISCONNECT"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + ON_A2DP_DISCONNECT + </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>A {@link TriggerState) for when the {@link TriggerType#BLUETOOTH} + disconnects from A2DP session +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 4 + (0x00000004) + + </span> + </div> + + </div> +</div> + + + +<A NAME="ON_CONNECT"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + ON_CONNECT + </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>A {@link TriggerState) for when the {@link TriggerType} connects </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 0 + (0x00000000) + + </span> + </div> + + </div> +</div> + + + +<A NAME="ON_DISCONNECT"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + ON_DISCONNECT + </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>A {@link TriggerState) for when the {@link TriggerType} disconnects </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="Profile.TriggerState()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + + </span> + <span class="sympad">Profile.TriggerState</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/app/Profile.TriggerType.html b/reference/lineageos/app/Profile.TriggerType.html new file mode 100644 index 00000000..aa00d2fa --- /dev/null +++ b/reference/lineageos/app/Profile.TriggerType.html @@ -0,0 +1,881 @@ +<!-- ################ 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>Profile.TriggerType | 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="selected api apilevel-2"> + <a href="../../../reference/lineageos/app/package-summary.html">lineageos.app</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/content/package-summary.html">lineageos.content</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/hardware/package-summary.html">lineageos.hardware</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/os/package-summary.html">lineageos.os</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/platform/package-summary.html">lineageos.platform</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/power/package-summary.html">lineageos.power</a></li> + <li class="api apilevel-8"> + <a href="../../../reference/lineageos/preference/package-summary.html">lineageos.preference</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/profiles/package-summary.html">lineageos.profiles</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/providers/package-summary.html">lineageos.providers</a></li> + <li class="api apilevel-9"> + <a href="../../../reference/lineageos/style/package-summary.html">lineageos.style</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/util/package-summary.html">lineageos.util</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li> + <li class="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/app/Profile.html">Profile</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></li> + <li class="api apilevel-5"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></li> + <li class="selected api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></li> + </ul> + </li> + + + + </ul><br/> + + + </div><!-- end classes --> + </div><!-- end nav-panels --> + <div id="nav-tree" style="display:none" class="scroll-pane"> + <div id="tree-list"></div> + </div><!-- end nav-tree --> + </div><!-- end swapper --> + <div id="nav-swap"> + <a class="fullscreen">fullscreen</a> + <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a> + </div> + </div> <!-- end devdoc-nav --> + </div> <!-- end side-nav --> + <script type="text/javascript"> + // init fullscreen based on user pref + var fullscreen = readCookie("fullscreen"); + if (fullscreen != 0) { + if (fullscreen == "false") { + toggleFullscreen(false); + } else { + toggleFullscreen(true); + } + } + // init nav version for mobile + if (isMobile) { + swapNav(); // tree view should be used on mobile + $('#nav-swap').hide(); + } else { + chooseDefaultNav(); + if ($("#nav-tree").is(':visible')) { + init_default_navtree("../../../"); + } + } + // scroll the selected page into view + $(document).ready(function() { + scrollIntoView("packages-nav"); + scrollIntoView("classes-nav"); + }); + </script> + + + + + +<div class="col-12" id="doc-col"> + +<div id="api-info-block"> + + + + + + + + + + + +<div class="sum-details-links"> + +Summary: + + + + + + <a href="#constants">Constants</a> + + + + + + + | <a href="#pubctors">Ctors</a> + + + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + static + + + class +<h1 itemprop="name">Profile.TriggerType</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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.app.Profile.TriggerType</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">Available trigger types on the device, usually hardware +</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/app/Profile.TriggerType.html#BLUETOOTH">BLUETOOTH</a></td> + <td class="jd-descrcol" width="100%"> + Represents a Bluetooth trigger type + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.TriggerType.html#WIFI">WIFI</a></td> + <td class="jd-descrcol" width="100%"> + Represents a WiFi trigger type + + + + </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/app/Profile.TriggerType.html#Profile.TriggerType()">Profile.TriggerType</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<?></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="BLUETOOTH"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + 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>Represents a Bluetooth trigger type </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 1 + (0x00000001) + + </span> + </div> + + </div> +</div> + + + +<A NAME="WIFI"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + 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>Represents a WiFi trigger type </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 0 + (0x00000000) + + </span> + </div> + + </div> +</div> + + + + +<!-- Fields --> + + +<!-- Public ctors --> + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<h2>Public Constructors</h2> + + + +<A NAME="Profile.TriggerType()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + + </span> + <span class="sympad">Profile.TriggerType</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/app/Profile.Type.html b/reference/lineageos/app/Profile.Type.html new file mode 100644 index 00000000..32e1b129 --- /dev/null +++ b/reference/lineageos/app/Profile.Type.html @@ -0,0 +1,881 @@ +<!-- ################ 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>Profile.Type | 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="selected api apilevel-2"> + <a href="../../../reference/lineageos/app/package-summary.html">lineageos.app</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/content/package-summary.html">lineageos.content</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/hardware/package-summary.html">lineageos.hardware</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/os/package-summary.html">lineageos.os</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/platform/package-summary.html">lineageos.platform</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/power/package-summary.html">lineageos.power</a></li> + <li class="api apilevel-8"> + <a href="../../../reference/lineageos/preference/package-summary.html">lineageos.preference</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/profiles/package-summary.html">lineageos.profiles</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/providers/package-summary.html">lineageos.providers</a></li> + <li class="api apilevel-9"> + <a href="../../../reference/lineageos/style/package-summary.html">lineageos.style</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/util/package-summary.html">lineageos.util</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li> + <li class="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/app/Profile.html">Profile</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></li> + <li class="api apilevel-5"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></li> + <li class="selected api apilevel-2"><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></li> + </ul> + </li> + + + + </ul><br/> + + + </div><!-- end classes --> + </div><!-- end nav-panels --> + <div id="nav-tree" style="display:none" class="scroll-pane"> + <div id="tree-list"></div> + </div><!-- end nav-tree --> + </div><!-- end swapper --> + <div id="nav-swap"> + <a class="fullscreen">fullscreen</a> + <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a> + </div> + </div> <!-- end devdoc-nav --> + </div> <!-- end side-nav --> + <script type="text/javascript"> + // init fullscreen based on user pref + var fullscreen = readCookie("fullscreen"); + if (fullscreen != 0) { + if (fullscreen == "false") { + toggleFullscreen(false); + } else { + toggleFullscreen(true); + } + } + // init nav version for mobile + if (isMobile) { + swapNav(); // tree view should be used on mobile + $('#nav-swap').hide(); + } else { + chooseDefaultNav(); + if ($("#nav-tree").is(':visible')) { + init_default_navtree("../../../"); + } + } + // scroll the selected page into view + $(document).ready(function() { + scrollIntoView("packages-nav"); + scrollIntoView("classes-nav"); + }); + </script> + + + + + +<div class="col-12" id="doc-col"> + +<div id="api-info-block"> + + + + + + + + + + + +<div class="sum-details-links"> + +Summary: + + + + + + <a href="#constants">Constants</a> + + + + + + + | <a href="#pubctors">Ctors</a> + + + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + static + + + class +<h1 itemprop="name">Profile.Type</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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.app.Profile.Type</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">A <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> type +</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/app/Profile.Type.html#CONDITIONAL">CONDITIONAL</a></td> + <td class="jd-descrcol" width="100%"> + Profile type which represents a conditional <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.Type.html#TOGGLE">TOGGLE</a></td> + <td class="jd-descrcol" width="100%"> + Profile type which represents a toggle <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </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/app/Profile.Type.html#Profile.Type()">Profile.Type</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<?></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="CONDITIONAL"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + CONDITIONAL + </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>Profile type which represents a conditional <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 1 + (0x00000001) + + </span> + </div> + + </div> +</div> + + + +<A NAME="TOGGLE"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + TOGGLE + </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>Profile type which represents a toggle <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> </p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 0 + (0x00000000) + + </span> + </div> + + </div> +</div> + + + + +<!-- Fields --> + + +<!-- Public ctors --> + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<h2>Public Constructors</h2> + + + +<A NAME="Profile.Type()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + + </span> + <span class="sympad">Profile.Type</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/app/Profile.html b/reference/lineageos/app/Profile.html new file mode 100644 index 00000000..ac7e1505 --- /dev/null +++ b/reference/lineageos/app/Profile.html @@ -0,0 +1,3299 @@ +<!-- ################ 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>Profile | 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="selected api apilevel-2"> + <a href="../../../reference/lineageos/app/package-summary.html">lineageos.app</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/content/package-summary.html">lineageos.content</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/hardware/package-summary.html">lineageos.hardware</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/os/package-summary.html">lineageos.os</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/platform/package-summary.html">lineageos.platform</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/power/package-summary.html">lineageos.power</a></li> + <li class="api apilevel-8"> + <a href="../../../reference/lineageos/preference/package-summary.html">lineageos.preference</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/profiles/package-summary.html">lineageos.profiles</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/providers/package-summary.html">lineageos.providers</a></li> + <li class="api apilevel-9"> + <a href="../../../reference/lineageos/style/package-summary.html">lineageos.style</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/util/package-summary.html">lineageos.util</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li> + <li class="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/app/Profile.html">Profile</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></li> + <li class="api apilevel-5"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></li> + </ul> + </li> + + + + </ul><br/> + + + </div><!-- end classes --> + </div><!-- end nav-panels --> + <div id="nav-tree" style="display:none" class="scroll-pane"> + <div id="tree-list"></div> + </div><!-- end nav-tree --> + </div><!-- end swapper --> + <div id="nav-swap"> + <a class="fullscreen">fullscreen</a> + <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a> + </div> + </div> <!-- end devdoc-nav --> + </div> <!-- end side-nav --> + <script type="text/javascript"> + // init fullscreen based on user pref + var fullscreen = readCookie("fullscreen"); + if (fullscreen != 0) { + if (fullscreen == "false") { + toggleFullscreen(false); + } else { + toggleFullscreen(true); + } + } + // init nav version for mobile + if (isMobile) { + swapNav(); // tree view should be used on mobile + $('#nav-swap').hide(); + } else { + chooseDefaultNav(); + if ($("#nav-tree").is(':visible')) { + init_default_navtree("../../../"); + } + } + // scroll the selected page into view + $(document).ready(function() { + scrollIntoView("packages-nav"); + scrollIntoView("classes-nav"); + }); + </script> + + + + + +<div class="col-12" id="doc-col"> + +<div id="api-info-block"> + + + + + + + + + + + + + + + + + + + + + + + + + + + +<div class="sum-details-links"> + +Summary: + + <a href="#nestedclasses">Nested Classes</a> + + + + + + + + | <a href="#inhconstants">Inherited Constants</a> + + + + + + | <a href="#pubctors">Ctors</a> + + + + + | <a href="#pubmethods">Methods</a> + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + + final + + class +<h1 itemprop="name">Profile</h1> + + + + + extends Object<br/> + + + + + + + implements + + Parcelable + + Comparable + + + + + + + + +</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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.app.Profile</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">A class that represents a device profile. + + A <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> can serve a multitude of purposes, allowing the creator(user) + to set overrides for streams, triggers, screen lock, brightness, various other + settings. +</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/app/Profile.DozeMode.html">Profile.DozeMode</a></td> + <td class="jd-descrcol" width="100%"> + Doze modes available on a device + + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + class</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></td> + <td class="jd-descrcol" width="100%"> + Expanded desktop modes available on a device + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + class</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></td> + <td class="jd-descrcol" width="100%"> + Lock modes of a device + + + + + </td> + </tr> + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + class</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></td> + <td class="jd-descrcol" width="100%"> + Notification light modes available on a device + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + class</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></td> + <td class="jd-descrcol" width="100%"> + A <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code> is a <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code> which can be queried from the OS + + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + class</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></td> + <td class="jd-descrcol" width="100%"> + Various trigger states associated with a <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code> + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + class</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></td> + <td class="jd-descrcol" width="100%"> + Available trigger types on the device, usually hardware + + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + class</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></td> + <td class="jd-descrcol" width="100%"> + A <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> type + + + + + </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/app/Profile.html#Profile(java.lang.String)">Profile</a></span>(String name)</nobr> + + </td></tr> + + + +</table> + + + + + + +<!-- ========== METHOD SUMMARY =========== --> +<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> + + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#addSecondaryUuid(java.util.UUID)">addSecondaryUuid</a></span>(UUID uuid)</nobr> + + <div class="jd-descrdiv"> + Add a secondary <code><a href="../../../reference/java/util/UUID.html">UUID</a></code> to the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </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/app/Profile.html#compareTo(java.lang.Object)">compareTo</a></span>(Object obj)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#getAirplaneMode()">getAirplaneMode</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#getBrightness()">getBrightness</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#getConnectionSettingWithSubId(int)">getConnectionSettingWithSubId</a></span>(int subId)</nobr> + + <div class="jd-descrdiv"> + Get the settings for a <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_2G3G4G">PROFILE_CONNECTION_2G3G4G</a></code> by sub id. + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + Collection<<a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a>></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#getConnectionSettings()">getConnectionSettings</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</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/app/Profile.html#getDozeMode()">getDozeMode</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </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/app/Profile.html#getExpandedDesktopMode()">getExpandedDesktopMode</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </div> + + </td></tr> + + + + <tr class="alt-color 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/app/Profile.html#getName()">getName</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the name associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#getNotificationLightMode()">getNotificationLightMode</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</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/app/Profile.html#getProfileType()">getProfileType</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></code> of the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#getRingMode()">getRingMode</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#getScreenLockMode()">getScreenLockMode</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + UUID[]</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#getSecondaryUuids()">getSecondaryUuids</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the secondary <code><a href="../../../reference/java/util/UUID.html">UUID</a></code>s for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#getSettingsForConnection(int)">getSettingsForConnection</a></span>(int connectionId)</nobr> + + <div class="jd-descrdiv"> + Get the settings for a connection id in the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#getSettingsForStream(int)">getSettingsForStream</a></span>(int streamId)</nobr> + + <div class="jd-descrdiv"> + Get the settings for a stream id in the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + Collection<<a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a>></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#getStreamSettings()">getStreamSettings</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </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/app/Profile.html#getTriggerState(int, java.lang.String)">getTriggerState</a></span>(int type, String id)</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></code> for a <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code> with a given id + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + ArrayList<<a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a>></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#getTriggersFromType(int)">getTriggersFromType</a></span>(int type)</nobr> + + <div class="jd-descrdiv"> + Get all the <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code>s for a given <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code> + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + UUID</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#getUuid()">getUuid</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/java/util/UUID.html">UUID</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</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/app/Profile.html#isConditionalType()">isConditionalType</a></span>()</nobr> + + <div class="jd-descrdiv"> + Check if the given <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> is a <code><a href="../../../reference/lineageos/app/Profile.Type.html#CONDITIONAL">CONDITIONAL</a></code> + + + + </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/app/Profile.html#setAirplaneMode(lineageos.profiles.AirplaneModeSettings)">setAirplaneMode</a></span>(<a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a> descriptor)</nobr> + + <div class="jd-descrdiv"> + Set the <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</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/app/Profile.html#setBrightness(lineageos.profiles.BrightnessSettings)">setBrightness</a></span>(<a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a> descriptor)</nobr> + + <div class="jd-descrdiv"> + Set the <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </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/app/Profile.html#setConnectionSettings(lineageos.profiles.ConnectionSettings)">setConnectionSettings</a></span>(<a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a> descriptor)</nobr> + + <div class="jd-descrdiv"> + Set the <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</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/app/Profile.html#setDozeMode(int)">setDozeMode</a></span>(int dozeMode)</nobr> + + <div class="jd-descrdiv"> + Set the <code><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </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/app/Profile.html#setExpandedDesktopMode(int)">setExpandedDesktopMode</a></span>(int expandedDesktopMode)</nobr> + + <div class="jd-descrdiv"> + Set the <code><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</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/app/Profile.html#setName(java.lang.String)">setName</a></span>(String name)</nobr> + + <div class="jd-descrdiv"> + Set a name for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-5" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/Profile.html#setNotificationLightMode(int)">setNotificationLightMode</a></span>(int notificationLightMode)</nobr> + + <div class="jd-descrdiv"> + Set the <code><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</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/app/Profile.html#setProfileType(int)">setProfileType</a></span>(int type)</nobr> + + <div class="jd-descrdiv"> + Set the <code><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </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/app/Profile.html#setRingMode(lineageos.profiles.RingModeSettings)">setRingMode</a></span>(<a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a> descriptor)</nobr> + + <div class="jd-descrdiv"> + Set the <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</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/app/Profile.html#setScreenLockMode(lineageos.profiles.LockSettings)">setScreenLockMode</a></span>(<a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a> screenLockMode)</nobr> + + <div class="jd-descrdiv"> + Set the <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </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/app/Profile.html#setSecondaryUuids(java.util.List<java.util.UUID>)">setSecondaryUuids</a></span>(List<UUID> uuids)</nobr> + + <div class="jd-descrdiv"> + Set a list of secondary <code><a href="../../../reference/java/util/UUID.html">UUID</a></code>s for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</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/app/Profile.html#setStreamSettings(lineageos.profiles.StreamSettings)">setStreamSettings</a></span>(<a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a> descriptor)</nobr> + + <div class="jd-descrdiv"> + Set the <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </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/app/Profile.html#setTrigger(lineageos.app.Profile.ProfileTrigger)">setTrigger</a></span>(<a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a> trigger)</nobr> + + <div class="jd-descrdiv"> + Set a <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code> on the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</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<?></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> + + + +<tr class="api apilevel-" > +<td colspan="12"> + <a href="#" id="inherited-methods-java.lang.Comparable" class="jd-expando-trigger closed" > + <img id="inherited-methods-java.lang.Comparable-trigger" class="jd-expando-trigger-img" + height="34" + src="../../../assets/images/styles/disclosure_down.png" /> + </a> +From interface + + java.lang.Comparable + +<div id="inherited-methods-java.lang.Comparable"> + <div id="inherited-methods-java.lang.Comparable-list" + class="jd-inheritedlinks"> + </div> + <div id="inherited-methods-java.lang.Comparable-summary" style="display: none;"> + <table class="jd-sumtable-expando"> + + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + abstract + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">compareTo</span>(T arg0)</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="Profile(java.lang.String)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + + </span> + <span class="sympad">Profile</span> + <span class="normal">(String name)</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>Parameters</th></tr> + <tr> + <td><code>name</code></td> + <td width="100%"> + <code>String</code> <!-- no parameter comment --></td> + </tr> + </table> + + </div> +</div> + + + + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<!-- Protected ctors --> + + + +<!-- ========= METHOD DETAIL ======== --> +<!-- Public methdos --> + +<h2>Public Methods</h2> + + + +<A NAME="addSecondaryUuid(java.util.UUID)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">addSecondaryUuid</span> + <span class="normal">(UUID uuid)</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>Add a secondary <code><a href="../../../reference/java/util/UUID.html">UUID</a></code> to the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + + </div> +</div> + + +<A NAME="compareTo(java.lang.Object)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">compareTo</span> + <span class="normal">(Object obj)</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>Parameters</th></tr> + <tr> + <td><code>obj</code></td> + <td width="100%"> + <code>Object</code> <!-- no parameter comment --></td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getAirplaneMode()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a> + </span> + <span class="sympad">getAirplaneMode</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 <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getBrightness()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a> + </span> + <span class="sympad">getBrightness</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 <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getConnectionSettingWithSubId(int)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a> + </span> + <span class="sympad">getConnectionSettingWithSubId</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>Get the settings for a <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html#PROFILE_CONNECTION_2G3G4G">PROFILE_CONNECTION_2G3G4G</a></code> by sub id.</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>subId</code></td> + <td width="100%"> + <code>int</code>: the sub id to lookup. Can be <code><a href="../../../reference/android/telephony/SubscriptionManager.html#INVALID_SUBSCRIPTION_ID">INVALID_SUBSCRIPTION_ID</a></code></td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code></td> + <td width="100%"><code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getConnectionSettings()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + Collection<<a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a>> + </span> + <span class="sympad">getConnectionSettings</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 <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>Collection<<a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a>></code></td> + <td width="100%"><code><a href="../../../">ERROR(/java.util.Collection<ConnectionSettings>)</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getDozeMode()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">getDozeMode</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 <code><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></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="getExpandedDesktopMode()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">getExpandedDesktopMode</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 <code><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></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="getName()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">getName</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 name associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String</code></td> + <td width="100%">a string name of the profile +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getNotificationLightMode()"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">getNotificationLightMode</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 <code><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></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="getProfileType()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">getProfileType</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 <code><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></code> of the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></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="getRingMode()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a> + </span> + <span class="sympad">getRingMode</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 <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getScreenLockMode()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a> + </span> + <span class="sympad">getScreenLockMode</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 <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code></td> + <td width="100%"><!-- no returns description in source --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getSecondaryUuids()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + UUID[] + </span> + <span class="sympad">getSecondaryUuids</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 secondary <code><a href="../../../reference/java/util/UUID.html">UUID</a></code>s for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>UUID[]</code></td> + <td width="100%">the secondary uuids for the Profile +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getSettingsForConnection(int)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a> + </span> + <span class="sympad">getSettingsForConnection</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>Get the settings for a connection id in the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>connectionId</code></td> + <td width="100%"> + <code>int</code> <!-- no parameter comment --></td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code></td> + <td width="100%"><code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getSettingsForStream(int)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a> + </span> + <span class="sympad">getSettingsForStream</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>Get the settings for a stream id in the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>streamId</code></td> + <td width="100%"> + <code>int</code> <!-- no parameter comment --></td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code></td> + <td width="100%"><code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getStreamSettings()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + Collection<<a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a>> + </span> + <span class="sympad">getStreamSettings</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 <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>Collection<<a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a>></code></td> + <td width="100%"><code><a href="../../../">ERROR(/java.util.Collection<StreamSettings>)</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getTriggerState(int, java.lang.String)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">getTriggerState</span> + <span class="normal">(int type, String id)</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 <code><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></code> for a <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code> with a given id</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>type</code></td> + <td width="100%"> + <code>int</code>: <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code></td> + </tr> + <tr> + <td><code>id</code></td> + <td width="100%"> + <code>String</code>: string id of <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code></td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>int</code></td> + <td width="100%"><code><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getTriggersFromType(int)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + ArrayList<<a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a>> + </span> + <span class="sympad">getTriggersFromType</span> + <span class="normal">(int type)</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 all the <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code>s for a given <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>type</code></td> + <td width="100%"> + <code>int</code>: <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code></td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>ArrayList<<a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a>></code></td> + <td width="100%">an array list of <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code>s +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getUuid()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + UUID + </span> + <span class="sympad">getUuid</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 <code><a href="../../../reference/java/util/UUID.html">UUID</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>UUID</code></td> + <td width="100%">the uuid for the profile +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="isConditionalType()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + boolean + </span> + <span class="sympad">isConditionalType</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 if the given <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> is a <code><a href="../../../reference/lineageos/app/Profile.Type.html#CONDITIONAL">CONDITIONAL</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>boolean</code></td> + <td width="100%">true if conditional +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="setAirplaneMode(lineageos.profiles.AirplaneModeSettings)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">setAirplaneMode</span> + <span class="normal">(<a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a> descriptor)</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 <code><a href="../../../reference/lineageos/profiles/AirplaneModeSettings.html">AirplaneModeSettings</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + + </div> +</div> + + +<A NAME="setBrightness(lineageos.profiles.BrightnessSettings)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">setBrightness</span> + <span class="normal">(<a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a> descriptor)</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 <code><a href="../../../reference/lineageos/profiles/BrightnessSettings.html">BrightnessSettings</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>descriptor</code></td> + <td width="100%"> + <code>BrightnessSettings</code> <!-- no parameter comment --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="setConnectionSettings(lineageos.profiles.ConnectionSettings)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">setConnectionSettings</span> + <span class="normal">(<a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a> descriptor)</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 <code><a href="../../../reference/lineageos/profiles/ConnectionSettings.html">ConnectionSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + + </div> +</div> + + +<A NAME="setDozeMode(int)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">setDozeMode</span> + <span class="normal">(int dozeMode)</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 <code><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>dozeMode</code></td> + <td width="100%"> + <code>int</code> <!-- no parameter comment --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="setExpandedDesktopMode(int)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">setExpandedDesktopMode</span> + <span class="normal">(int expandedDesktopMode)</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 <code><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>expandedDesktopMode</code></td> + <td width="100%"> + <code>int</code> <!-- no parameter comment --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="setName(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">setName</span> + <span class="normal">(String name)</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 a name for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>name</code></td> + <td width="100%"> + <code>String</code>: a string for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="setNotificationLightMode(int)"></A> + +<div class="jd-details api apilevel-5"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">setNotificationLightMode</span> + <span class="normal">(int notificationLightMode)</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>Set the <code><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></code> associated with the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>notificationLightMode</code></td> + <td width="100%"> + <code>int</code> <!-- no parameter comment --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="setProfileType(int)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">setProfileType</span> + <span class="normal">(int type)</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 <code><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>type</code></td> + <td width="100%"> + <code>int</code>: a type of profile +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="setRingMode(lineageos.profiles.RingModeSettings)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">setRingMode</span> + <span class="normal">(<a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a> descriptor)</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 <code><a href="../../../reference/lineageos/profiles/RingModeSettings.html">RingModeSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + + </div> +</div> + + +<A NAME="setScreenLockMode(lineageos.profiles.LockSettings)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">setScreenLockMode</span> + <span class="normal">(<a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a> screenLockMode)</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 <code><a href="../../../reference/lineageos/profiles/LockSettings.html">LockSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + + </div> +</div> + + +<A NAME="setSecondaryUuids(java.util.List<java.util.UUID>)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">setSecondaryUuids</span> + <span class="normal">(List<UUID> uuids)</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 a list of secondary <code><a href="../../../reference/java/util/UUID.html">UUID</a></code>s for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + + </div> +</div> + + +<A NAME="setStreamSettings(lineageos.profiles.StreamSettings)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">setStreamSettings</span> + <span class="normal">(<a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a> descriptor)</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 <code><a href="../../../reference/lineageos/profiles/StreamSettings.html">StreamSettings</a></code> for the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + + </div> +</div> + + +<A NAME="setTrigger(lineageos.app.Profile.ProfileTrigger)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">setTrigger</span> + <span class="normal">(<a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a> trigger)</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 a <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code> on the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>trigger</code></td> + <td width="100%"> + <code>Profile.ProfileTrigger</code>: a <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</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/app/ProfileManager.html b/reference/lineageos/app/ProfileManager.html new file mode 100644 index 00000000..26791acf --- /dev/null +++ b/reference/lineageos/app/ProfileManager.html @@ -0,0 +1,2759 @@ +<!-- ################ 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>ProfileManager | 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="selected api apilevel-2"> + <a href="../../../reference/lineageos/app/package-summary.html">lineageos.app</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/content/package-summary.html">lineageos.content</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/hardware/package-summary.html">lineageos.hardware</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/os/package-summary.html">lineageos.os</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/platform/package-summary.html">lineageos.platform</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/power/package-summary.html">lineageos.power</a></li> + <li class="api apilevel-8"> + <a href="../../../reference/lineageos/preference/package-summary.html">lineageos.preference</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/profiles/package-summary.html">lineageos.profiles</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/providers/package-summary.html">lineageos.providers</a></li> + <li class="api apilevel-9"> + <a href="../../../reference/lineageos/style/package-summary.html">lineageos.style</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/util/package-summary.html">lineageos.util</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li> + <li class="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/app/Profile.html">Profile</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></li> + <li class="api apilevel-5"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></li> + <li class="selected api apilevel-2"><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></li> + </ul> + </li> + + + + </ul><br/> + + + </div><!-- end classes --> + </div><!-- end nav-panels --> + <div id="nav-tree" style="display:none" class="scroll-pane"> + <div id="tree-list"></div> + </div><!-- end nav-tree --> + </div><!-- end swapper --> + <div id="nav-swap"> + <a class="fullscreen">fullscreen</a> + <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a> + </div> + </div> <!-- end devdoc-nav --> + </div> <!-- end side-nav --> + <script type="text/javascript"> + // init fullscreen based on user pref + var fullscreen = readCookie("fullscreen"); + if (fullscreen != 0) { + if (fullscreen == "false") { + toggleFullscreen(false); + } else { + toggleFullscreen(true); + } + } + // init nav version for mobile + if (isMobile) { + swapNav(); // tree view should be used on mobile + $('#nav-swap').hide(); + } else { + chooseDefaultNav(); + if ($("#nav-tree").is(':visible')) { + init_default_navtree("../../../"); + } + } + // scroll the selected page into view + $(document).ready(function() { + scrollIntoView("packages-nav"); + scrollIntoView("classes-nav"); + }); + </script> + + + + + +<div class="col-12" id="doc-col"> + +<div id="api-info-block"> + + + + + + + + + + + +<div class="sum-details-links"> + +Summary: + + + + + + <a href="#constants">Constants</a> + + + + + | <a href="#lfields">Fields</a> + + + + + + + | <a href="#pubmethods">Methods</a> + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a> + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + + + + class +<h1 itemprop="name">ProfileManager</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"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">lineageos.app.ProfileManager</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody"><p> + The ProfileManager allows you to create <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code>s and ProfileGroups to create + specific behavior states depending on triggers from hardware devices changing states, such as: + + <pre class="prettyprint"> + WiFi being enabled + WiFi connecting to a certain AP + Bluetooth connecting to a certain device + Bluetooth disconnecting to a certain device + NFC tag being scanned + </pre> + + <p> + Depending on these triggers, you can override connection settings, lockscreen modes, media + stream volumes and various other settings. + + <p> + To get the instance of this class, utilize ProfileManager#getInstance(Context context) + + <p> + This manager requires the MODIFY_PROFILES permission.</p> + + + + <div> + <p><b>See also:</b></p> + <ul class="nolist"><li><code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></li> + </ul> + </div> + + +</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/app/ProfileManager.html#ACTION_PROFILE_PICKER">ACTION_PROFILE_PICKER</a></td> + <td class="jd-descrcol" width="100%"> + Activity Action: Shows a profile picker. + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_LAST_PROFILE_NAME">EXTRA_LAST_PROFILE_NAME</a></td> + <td class="jd-descrcol" width="100%"> + Extra for <code><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_SELECTED">INTENT_ACTION_PROFILE_SELECTED</a></code>: + The name of the previously active profile + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_LAST_PROFILE_UUID">EXTRA_LAST_PROFILE_UUID</a></td> + <td class="jd-descrcol" width="100%"> + Extra for <code><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_SELECTED">INTENT_ACTION_PROFILE_SELECTED</a></code>: + The string representation of the UUID of the previously active profile + + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILES_STATE">EXTRA_PROFILES_STATE</a></td> + <td class="jd-descrcol" width="100%"> + The lookup key for an int that indicates whether Profiles are enabled or + disabled. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILE_DIALOG_THEME">EXTRA_PROFILE_DIALOG_THEME</a></td> + <td class="jd-descrcol" width="100%"> + Set the resource id theme to use for the dialog picker activity. + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILE_EXISTING_UUID">EXTRA_PROFILE_EXISTING_UUID</a></td> + <td class="jd-descrcol" width="100%"> + Given to the profile picker as a <code><a href="../../../reference/java/util/UUID.html">UUID</a></code> string representation. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILE_NAME">EXTRA_PROFILE_NAME</a></td> + <td class="jd-descrcol" width="100%"> + Extra for <code><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_SELECTED">INTENT_ACTION_PROFILE_SELECTED</a></code> and <code><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_UPDATED">INTENT_ACTION_PROFILE_UPDATED</a></code>: + The name of the newly activated or updated profile + + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILE_PICKED_UUID">EXTRA_PROFILE_PICKED_UUID</a></td> + <td class="jd-descrcol" width="100%"> + Returned from the profile picker as a <code><a href="../../../reference/java/util/UUID.html">UUID</a></code> string representation. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILE_SHOW_NONE">EXTRA_PROFILE_SHOW_NONE</a></td> + <td class="jd-descrcol" width="100%"> + Given to the profile picker as a boolean. + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILE_TITLE">EXTRA_PROFILE_TITLE</a></td> + <td class="jd-descrcol" width="100%"> + Given to the profile picker as a <code><a href="../../../reference/java/lang/CharSequence.html">CharSequence</a></code>. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILE_UUID">EXTRA_PROFILE_UUID</a></td> + <td class="jd-descrcol" width="100%"> + Extra for <code><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_SELECTED">INTENT_ACTION_PROFILE_SELECTED</a></code> and <code><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_UPDATED">INTENT_ACTION_PROFILE_UPDATED</a></code>: + The string representation of the UUID of the newly activated or updated profile + + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_SELECTED">INTENT_ACTION_PROFILE_SELECTED</a></td> + <td class="jd-descrcol" width="100%"> + <p>Broadcast Action: A new profile has been selected. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_UPDATED">INTENT_ACTION_PROFILE_UPDATED</a></td> + <td class="jd-descrcol" width="100%"> + <p>Broadcast Action: Current profile has been updated. + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#PROFILES_STATE_CHANGED_ACTION">PROFILES_STATE_CHANGED_ACTION</a></td> + <td class="jd-descrcol" width="100%"> + Broadcast intent action indicating that Profiles has been enabled or disabled. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#PROFILES_STATE_DISABLED">PROFILES_STATE_DISABLED</a></td> + <td class="jd-descrcol" width="100%"> + Profiles are disabled. + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#PROFILES_STATE_ENABLED">PROFILES_STATE_ENABLED</a></td> + <td class="jd-descrcol" width="100%"> + Profiles are enabled. + + + + </td> + </tr> + + + +</table> + + + + + + + +<!-- =========== FIELD SUMMARY =========== --> +<table id="lfields" class="jd-sumtable"><tr><th colspan="12">Fields</th></tr> + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + public + static + final + UUID</nobr></td> + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html#NO_PROFILE">NO_PROFILE</a></td> + <td class="jd-descrcol" width="100%"> + Constant for NO_PROFILE + + + + + </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> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/ProfileManager.html#addProfile(lineageos.app.Profile)">addProfile</a></span>(<a href="../../../reference/lineageos/app/Profile.html">Profile</a> profile)</nobr> + + <div class="jd-descrdiv"> + Add a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> that can be selected by the user + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/app/Profile.html">Profile</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/ProfileManager.html#getActiveProfile()">getActiveProfile</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the active <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + static + + <a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/ProfileManager.html#getInstance(android.content.Context)">getInstance</a></span>(Context context)</nobr> + + <div class="jd-descrdiv"> + Get or create an instance of the <code><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></code> + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/app/Profile.html">Profile</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/ProfileManager.html#getProfile(java.util.UUID)">getProfile</a></span>(UUID profileUuid)</nobr> + + <div class="jd-descrdiv"> + Get a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> via <code><a href="../../../reference/java/util/UUID.html">UUID</a></code> + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/app/Profile.html">Profile</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/ProfileManager.html#getProfile(java.lang.String)">getProfile</a></span>(String profileName)</nobr> + + <div class="jd-descrdiv"> + <em> + This method was deprecated + in API level 2. + No replacement.</em> + + + + </div> + + </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/app/ProfileManager.html#getProfileNames()">getProfileNames</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the profile names currently available to the user + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-2" > + <td class="jd-typecol"><nobr> + + + + + + <a href="../../../reference/lineageos/app/Profile.html">Profile[]</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/ProfileManager.html#getProfiles()">getProfiles</a></span>()</nobr> + + <div class="jd-descrdiv"> + Get the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code>s currently available to the user + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-4" > + <td class="jd-typecol"><nobr> + + + + + + boolean</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../reference/lineageos/app/ProfileManager.html#isProfilesEnabled()">isProfilesEnabled</a></span>()</nobr> + + <div class="jd-descrdiv"> + Check if profiles are currently activated in the system + + + + </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/app/ProfileManager.html#profileExists(java.util.UUID)">profileExists</a></span>(UUID profileUuid)</nobr> + + <div class="jd-descrdiv"> + Check if a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> exists via its <code><a href="../../../reference/java/util/UUID.html">UUID</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/app/ProfileManager.html#profileExists(java.lang.String)">profileExists</a></span>(String profileName)</nobr> + + <div class="jd-descrdiv"> + Check if a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> exists via its literal name + + + + </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/app/ProfileManager.html#removeProfile(lineageos.app.Profile)">removeProfile</a></span>(<a href="../../../reference/lineageos/app/Profile.html">Profile</a> profile)</nobr> + + <div class="jd-descrdiv"> + Remove a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> from user selection + + + + </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/app/ProfileManager.html#resetAll()">resetAll</a></span>()</nobr> + + <div class="jd-descrdiv"> + Reset all profiles, groups, and notification groups to default state + + + + + </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/app/ProfileManager.html#setActiveProfile(java.util.UUID)">setActiveProfile</a></span>(UUID profileUuid)</nobr> + + <div class="jd-descrdiv"> + Set the active <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> by <code><a href="../../../reference/java/util/UUID.html">UUID</a></code> + + + + </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/app/ProfileManager.html#setActiveProfile(java.lang.String)">setActiveProfile</a></span>(String profileName)</nobr> + + <div class="jd-descrdiv"> + <em> + This method was deprecated + in API level 2. + No replacement.</em> + + + + </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/app/ProfileManager.html#updateProfile(lineageos.app.Profile)">updateProfile</a></span>(<a href="../../../reference/lineageos/app/Profile.html">Profile</a> profile)</nobr> + + <div class="jd-descrdiv"> + Update a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> object + + + + </div> + + </td></tr> + + + +</table> + + + + + + + +<!-- ========== METHOD SUMMARY =========== --> +<table id="inhmethods" class="jd-sumtable"><tr><th> + <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> + <div style="clear:left;">Inherited Methods</div></th></tr> + + +<tr class="api apilevel-" > +<td colspan="12"> + <a href="#" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" > + <img id="inherited-methods-java.lang.Object-trigger" class="jd-expando-trigger-img" + height="34" + src="../../../assets/images/styles/disclosure_down.png" /> + </a> +From class + + java.lang.Object + +<div id="inherited-methods-java.lang.Object"> + <div id="inherited-methods-java.lang.Object-list" + class="jd-inheritedlinks"> + </div> + <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> + <table class="jd-sumtable-expando"> + + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + Object</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">clone</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + boolean</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">equals</span>(Object arg0)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">finalize</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + Class<?></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">getClass</span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">hashCode</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">notify</span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">notifyAll</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">toString</span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">wait</span>(long arg0, int arg1)</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">wait</span>(long arg0)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">wait</span>()</nobr> + + </td></tr> + + +</table> + </div> +</div> +</td></tr> + + +</table> + + +</div><!-- jd-descr (summary) --> + +<!-- Details --> + + + + + + + + +<!-- XML Attributes --> + + +<!-- Enum Values --> + + +<!-- Constants --> + + +<!-- ========= ENUM CONSTANTS DETAIL ======== --> +<h2>Constants</h2> + + + + +<A NAME="ACTION_PROFILE_PICKER"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + ACTION_PROFILE_PICKER + </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>Activity Action: Shows a profile picker. + <p> + Input: <code><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILE_EXISTING_UUID">EXTRA_PROFILE_EXISTING_UUID</a></code>, <code><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILE_SHOW_NONE">EXTRA_PROFILE_SHOW_NONE</a></code>, + <code><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILE_TITLE">EXTRA_PROFILE_TITLE</a></code>. + <p> + Output: <code><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILE_PICKED_UUID">EXTRA_PROFILE_PICKED_UUID</a></code>. +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "lineageos.platform.intent.action.PROFILE_PICKER" + + </span> + </div> + + </div> +</div> + + + +<A NAME="EXTRA_LAST_PROFILE_NAME"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + EXTRA_LAST_PROFILE_NAME + </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>Extra for <code><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_SELECTED">INTENT_ACTION_PROFILE_SELECTED</a></code>: + The name of the previously active profile +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "lastName" + + </span> + </div> + + </div> +</div> + + + +<A NAME="EXTRA_LAST_PROFILE_UUID"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + EXTRA_LAST_PROFILE_UUID + </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>Extra for <code><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_SELECTED">INTENT_ACTION_PROFILE_SELECTED</a></code>: + The string representation of the UUID of the previously active profile +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "lastUuid" + + </span> + </div> + + </div> +</div> + + + +<A NAME="EXTRA_PROFILES_STATE"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + EXTRA_PROFILES_STATE + </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 lookup key for an int that indicates whether Profiles are enabled or + disabled. Retrieve it with <code><a href="../../../reference/android/content/Intent.html#getIntExtra(java.lang.String, int)">getIntExtra(String, int)</a></code>.</p> + <div> + <p><b>See also:</b></p> + <ul class="nolist"><li><code><a href="../../../reference/lineageos/app/ProfileManager.html#PROFILES_STATE_DISABLED">PROFILES_STATE_DISABLED</a></code></li><li><code><a href="../../../reference/lineageos/app/ProfileManager.html#PROFILES_STATE_ENABLED">PROFILES_STATE_ENABLED</a></code></li> + </ul> + </div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "profile_state" + + </span> + </div> + + </div> +</div> + + + +<A NAME="EXTRA_PROFILE_DIALOG_THEME"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + EXTRA_PROFILE_DIALOG_THEME + </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>Set the resource id theme to use for the dialog picker activity.<br/> + The default theme is <code>com.android.internal.R.Theme_Holo_Dialog_Alert</code>.</p> + <div> + <p><b>See also:</b></p> + <ul class="nolist"><li><code><a href="../../../reference/lineageos/app/ProfileManager.html#ACTION_PROFILE_PICKER">ACTION_PROFILE_PICKER</a></code></li> + </ul> + </div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "lineageos.platform.intent.extra.profile.DIALOG_THEME" + + </span> + </div> + + </div> +</div> + + + +<A NAME="EXTRA_PROFILE_EXISTING_UUID"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + EXTRA_PROFILE_EXISTING_UUID + </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>Given to the profile picker as a <code><a href="../../../reference/java/util/UUID.html">UUID</a></code> string representation. The <code><a href="../../../reference/java/util/UUID.html">UUID</a></code> + representation of the current profile, which will be used to show a checkmark next to + the item for this <code><a href="../../../reference/java/util/UUID.html">UUID</a></code>. If the item is <code><a href="../../../reference/lineageos/app/ProfileManager.html#NO_PROFILE">NO_PROFILE</a></code> then "None" item + is selected if <code><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILE_SHOW_NONE">EXTRA_PROFILE_SHOW_NONE</a></code> is enabled. Otherwise, the current + profile is selected.</p> + <div> + <p><b>See also:</b></p> + <ul class="nolist"><li><code><a href="../../../reference/lineageos/app/ProfileManager.html#ACTION_PROFILE_PICKER">ACTION_PROFILE_PICKER</a></code></li> + </ul> + </div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "lineageos.platform.extra.profile.EXISTING_UUID" + + </span> + </div> + + </div> +</div> + + + +<A NAME="EXTRA_PROFILE_NAME"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + EXTRA_PROFILE_NAME + </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>Extra for <code><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_SELECTED">INTENT_ACTION_PROFILE_SELECTED</a></code> and <code><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_UPDATED">INTENT_ACTION_PROFILE_UPDATED</a></code>: + The name of the newly activated or updated profile +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "name" + + </span> + </div> + + </div> +</div> + + + +<A NAME="EXTRA_PROFILE_PICKED_UUID"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + EXTRA_PROFILE_PICKED_UUID + </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>Returned from the profile picker as a <code><a href="../../../reference/java/util/UUID.html">UUID</a></code> string representation. + <p> + It will be one of: + <li> the picked profile, + <li> null if the "None" item was picked.</p> + <div> + <p><b>See also:</b></p> + <ul class="nolist"><li><code><a href="../../../reference/lineageos/app/ProfileManager.html#ACTION_PROFILE_PICKER">ACTION_PROFILE_PICKER</a></code></li> + </ul> + </div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "lineageos.platform.intent.extra.profile.PICKED_UUID" + + </span> + </div> + + </div> +</div> + + + +<A NAME="EXTRA_PROFILE_SHOW_NONE"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + EXTRA_PROFILE_SHOW_NONE + </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>Given to the profile picker as a boolean. Whether to show an item for + deselect the profile. If the "None" item is picked, + <code><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILE_PICKED_UUID">EXTRA_PROFILE_PICKED_UUID</a></code> will be <code><a href="../../../reference/lineageos/app/ProfileManager.html#NO_PROFILE">NO_PROFILE</a></code>.</p> + <div> + <p><b>See also:</b></p> + <ul class="nolist"><li><code><a href="../../../reference/lineageos/app/ProfileManager.html#ACTION_PROFILE_PICKER">ACTION_PROFILE_PICKER</a></code></li> + </ul> + </div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "lineageos.platform.intent.extra.profile.SHOW_NONE" + + </span> + </div> + + </div> +</div> + + + +<A NAME="EXTRA_PROFILE_TITLE"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + EXTRA_PROFILE_TITLE + </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>Given to the profile picker as a <code><a href="../../../reference/java/lang/CharSequence.html">CharSequence</a></code>. The title to + show for the profile picker. This has a default value that is suitable + in most cases.</p> + <div> + <p><b>See also:</b></p> + <ul class="nolist"><li><code><a href="../../../reference/lineageos/app/ProfileManager.html#ACTION_PROFILE_PICKER">ACTION_PROFILE_PICKER</a></code></li> + </ul> + </div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "lineageos.platform.intent.extra.profile.TITLE" + + </span> + </div> + + </div> +</div> + + + +<A NAME="EXTRA_PROFILE_UUID"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + EXTRA_PROFILE_UUID + </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>Extra for <code><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_SELECTED">INTENT_ACTION_PROFILE_SELECTED</a></code> and <code><a href="../../../reference/lineageos/app/ProfileManager.html#INTENT_ACTION_PROFILE_UPDATED">INTENT_ACTION_PROFILE_UPDATED</a></code>: + The string representation of the UUID of the newly activated or updated profile +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "uuid" + + </span> + </div> + + </div> +</div> + + + +<A NAME="INTENT_ACTION_PROFILE_SELECTED"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + INTENT_ACTION_PROFILE_SELECTED + </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>Broadcast Action: A new profile has been selected. This can be triggered by the user + or by calls to the ProfileManagerService / Profile.</p> +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "lineageos.platform.intent.action.PROFILE_SELECTED" + + </span> + </div> + + </div> +</div> + + + +<A NAME="INTENT_ACTION_PROFILE_UPDATED"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + INTENT_ACTION_PROFILE_UPDATED + </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>Broadcast Action: Current profile has been updated. This is triggered every time the + currently active profile is updated, instead of selected.</p> + <p> For instance, this includes profile updates caused by a locale change, which doesn't + trigger a profile selection, but causes its name to change.</p> +</p> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "lineageos.platform.intent.action.PROFILE_UPDATED" + + </span> + </div> + + </div> +</div> + + + +<A NAME="PROFILES_STATE_CHANGED_ACTION"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + PROFILES_STATE_CHANGED_ACTION + </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>Broadcast intent action indicating that Profiles has been enabled or disabled. + One extra provides this state as an int.</p> + <div> + <p><b>See also:</b></p> + <ul class="nolist"><li><code><a href="../../../reference/lineageos/app/ProfileManager.html#EXTRA_PROFILES_STATE">EXTRA_PROFILES_STATE</a></code></li> + </ul> + </div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "lineageos.platform.app.profiles.PROFILES_STATE_CHANGED" + + </span> + </div> + + </div> +</div> + + + +<A NAME="PROFILES_STATE_DISABLED"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + PROFILES_STATE_DISABLED + </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>Profiles are disabled.</p> + <div> + <p><b>See also:</b></p> + <ul class="nolist"><li><code><a href="../../../reference/lineageos/app/ProfileManager.html#PROFILES_STATE_CHANGED_ACTION">PROFILES_STATE_CHANGED_ACTION</a></code></li> + </ul> + </div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 0 + (0x00000000) + + </span> + </div> + + </div> +</div> + + + +<A NAME="PROFILES_STATE_ENABLED"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + PROFILES_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>Profiles are enabled.</p> + <div> + <p><b>See also:</b></p> + <ul class="nolist"><li><code><a href="../../../reference/lineageos/app/ProfileManager.html#PROFILES_STATE_CHANGED_ACTION">PROFILES_STATE_CHANGED_ACTION</a></code></li> + </ul> + </div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 1 + (0x00000001) + + </span> + </div> + + </div> +</div> + + + + +<!-- Fields --> + + +<!-- ========= FIELD DETAIL ======== --> +<h2>Fields</h2> + + + + +<A NAME="NO_PROFILE"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + UUID + </span> + NO_PROFILE + </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>Constant for NO_PROFILE +</p> + + + </div> +</div> + + + + +<!-- Public ctors --> + + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<!-- Protected ctors --> + + + +<!-- ========= METHOD DETAIL ======== --> +<!-- Public methdos --> + +<h2>Public Methods</h2> + + + +<A NAME="addProfile(lineageos.app.Profile)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">addProfile</span> + <span class="normal">(<a href="../../../reference/lineageos/app/Profile.html">Profile</a> profile)</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>Add a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> that can be selected by the user</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>profile</code></td> + <td width="100%"> + <code>Profile</code>: a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> object +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getActiveProfile()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/app/Profile.html">Profile</a> + </span> + <span class="sympad">getActiveProfile</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 active <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></td> + <td width="100%">active <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getInstance(android.content.Context)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + + + + <a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a> + </span> + <span class="sympad">getInstance</span> + <span class="normal">(Context context)</span> + </h4> + <div class="api-level"> + <div> + added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level 2</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Get or create an instance of the <code><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></code></td> + <td width="100%"><code><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getProfile(java.util.UUID)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/app/Profile.html">Profile</a> + </span> + <span class="sympad">getProfile</span> + <span class="normal">(UUID profileUuid)</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 a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> via <code><a href="../../../reference/java/util/UUID.html">UUID</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>profileUuid</code></td> + <td width="100%"> + <code>UUID</code>: <code><a href="../../../reference/java/util/UUID.html">UUID</a></code> associated with the profile</td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></td> + <td width="100%"><code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getProfile(java.lang.String)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/app/Profile.html">Profile</a> + </span> + <span class="sympad">getProfile</span> + <span class="normal">(String profileName)</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 class="caution"><strong> + This method was deprecated + in API level 2.</strong><br/> + No replacement. + </p> + <p>Get the <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> object by its literal name</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>profileName</code></td> + <td width="100%"> + <code>String</code>: name associated with the profile</td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code></td> + <td width="100%">profile a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> object</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getProfileNames()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String[] + </span> + <span class="sympad">getProfileNames</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 profile names currently available to the user</p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>String[]</code></td> + <td width="100%"><code><a href="../../../">ERROR(/String[])</a></code> of profile names +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="getProfiles()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="../../../reference/lineageos/app/Profile.html">Profile[]</a> + </span> + <span class="sympad">getProfiles</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 <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code>s currently available to the user</p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code><a href="../../../reference/lineageos/app/Profile.html">Profile[]</a></code></td> + <td width="100%"><code><a href="../../../">ERROR(/Profile[])</a></code> +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="isProfilesEnabled()"></A> + +<div class="jd-details api apilevel-4"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + boolean + </span> + <span class="sympad">isProfilesEnabled</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 4</a></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <p>Check if profiles are currently activated in the system</p> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>boolean</code></td> + <td width="100%">whether profiles are enabled +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="profileExists(java.util.UUID)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + boolean + </span> + <span class="sympad">profileExists</span> + <span class="normal">(UUID profileUuid)</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 if a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> exists via its <code><a href="../../../reference/java/util/UUID.html">UUID</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>profileUuid</code></td> + <td width="100%"> + <code>UUID</code>: the profiles <code><a href="../../../reference/java/util/UUID.html">UUID</a></code></td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>boolean</code></td> + <td width="100%">whether or not the profile exists +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="profileExists(java.lang.String)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + boolean + </span> + <span class="sympad">profileExists</span> + <span class="normal">(String profileName)</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 if a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> exists via its literal name</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>profileName</code></td> + <td width="100%"> + <code>String</code>: a profile name</td> + </tr> + </table> + <table class="responsive"> + <tr><th colspan=2>Returns</th></tr> + <tr> + <td><code>boolean</code></td> + <td width="100%">whether or not the profile exists +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="removeProfile(lineageos.app.Profile)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">removeProfile</span> + <span class="normal">(<a href="../../../reference/lineageos/app/Profile.html">Profile</a> profile)</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>Remove a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> from user selection</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>profile</code></td> + <td width="100%"> + <code>Profile</code>: a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> object +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="resetAll()"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">resetAll</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>Reset all profiles, groups, and notification groups to default state +</p> + + </div> +</div> + + +<A NAME="setActiveProfile(java.util.UUID)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">setActiveProfile</span> + <span class="normal">(UUID profileUuid)</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 active <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> by <code><a href="../../../reference/java/util/UUID.html">UUID</a></code></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>profileUuid</code></td> + <td width="100%"> + <code>UUID</code>: the <code><a href="../../../reference/java/util/UUID.html">UUID</a></code> associated with the profile +</td> + </tr> + </table> + + </div> +</div> + + +<A NAME="setActiveProfile(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">setActiveProfile</span> + <span class="normal">(String profileName)</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 class="caution"><strong> + This method was deprecated + in API level 2.</strong><br/> + No replacement. + </p> + <p></p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>profileName</code></td> + <td width="100%"> + <code>String</code> <!-- no parameter comment --></td> + </tr> + </table> + + </div> +</div> + + +<A NAME="updateProfile(lineageos.app.Profile)"></A> + +<div class="jd-details api apilevel-2"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">updateProfile</span> + <span class="normal">(<a href="../../../reference/lineageos/app/Profile.html">Profile</a> profile)</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>Update a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> object</p> + <table class="responsive"> + <tr><th colspan=2>Parameters</th></tr> + <tr> + <td><code>profile</code></td> + <td width="100%"> + <code>Profile</code>: a <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> object +</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/app/package-summary.html b/reference/lineageos/app/package-summary.html new file mode 100644 index 00000000..2378dc61 --- /dev/null +++ b/reference/lineageos/app/package-summary.html @@ -0,0 +1,452 @@ +<!-- ################ 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.app | 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="selected api apilevel-2"> + <a href="../../../reference/lineageos/app/package-summary.html">lineageos.app</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/content/package-summary.html">lineageos.content</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/hardware/package-summary.html">lineageos.hardware</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/os/package-summary.html">lineageos.os</a></li> + <li class="api apilevel-1"> + <a href="../../../reference/lineageos/platform/package-summary.html">lineageos.platform</a></li> + <li class="api apilevel-4"> + <a href="../../../reference/lineageos/power/package-summary.html">lineageos.power</a></li> + <li class="api apilevel-8"> + <a href="../../../reference/lineageos/preference/package-summary.html">lineageos.preference</a></li> + <li class="api apilevel-2"> + <a href="../../../reference/lineageos/profiles/package-summary.html">lineageos.profiles</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/providers/package-summary.html">lineageos.providers</a></li> + <li class="api apilevel-9"> + <a href="../../../reference/lineageos/style/package-summary.html">lineageos.style</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/util/package-summary.html">lineageos.util</a></li> + <li class="api apilevel-5"> + <a href="../../../reference/lineageos/weather/package-summary.html">lineageos.weather</a></li> + <li class="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/app/Profile.html">Profile</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></li> + <li class="api apilevel-5"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></li> + <li class="api apilevel-2"><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</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.app</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/app/Profile.html">Profile</a></td> + <td class="jd-descrcol" width="100%"> + A class that represents a device profile. + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.DozeMode.html">Profile.DozeMode</a></td> + <td class="jd-descrcol" width="100%"> + Doze modes available on a device + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.ExpandedDesktopMode.html">Profile.ExpandedDesktopMode</a></td> + <td class="jd-descrcol" width="100%"> + Expanded desktop modes available on a device + + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.LockMode.html">Profile.LockMode</a></td> + <td class="jd-descrcol" width="100%"> + Lock modes of a device + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-5" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.NotificationLightMode.html">Profile.NotificationLightMode</a></td> + <td class="jd-descrcol" width="100%"> + Notification light modes available on a device + + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></td> + <td class="jd-descrcol" width="100%"> + A <code><a href="../../../reference/lineageos/app/Profile.ProfileTrigger.html">Profile.ProfileTrigger</a></code> is a <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code> which can be queried from the OS + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.TriggerState.html">Profile.TriggerState</a></td> + <td class="jd-descrcol" width="100%"> + Various trigger states associated with a <code><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></code> + + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.TriggerType.html">Profile.TriggerType</a></td> + <td class="jd-descrcol" width="100%"> + Available trigger types on the device, usually hardware + + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-2" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/Profile.Type.html">Profile.Type</a></td> + <td class="jd-descrcol" width="100%"> + A <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code> type + + + + + </td> + </tr> + + + <tr class=" api apilevel-2" > + <td class="jd-linkcol"><a href="../../../reference/lineageos/app/ProfileManager.html">ProfileManager</a></td> + <td class="jd-descrcol" width="100%"> + <p> + The ProfileManager allows you to create <code><a href="../../../reference/lineageos/app/Profile.html">Profile</a></code>s and ProfileGroups to create + specific behavior states depending on triggers from hardware devices changing states, such as: + + <pre class="prettyprint"> + WiFi being enabled + WiFi connecting to a certain AP + Bluetooth connecting to a certain device + Bluetooth disconnecting to a certain device + NFC tag being scanned + </pre> + + <p> + Depending on these triggers, you can override connection settings, lockscreen modes, media + stream volumes and various other settings. + + + + </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> |