diff options
Diffstat (limited to 'reference/lineageos/app/Profile.html')
-rw-r--r-- | reference/lineageos/app/Profile.html | 3299 |
1 files changed, 3299 insertions, 0 deletions
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> |