599 lines
16 KiB
HTML
599 lines
16 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
|
|
<title>UPPlatformAuthScope Constants Reference</title>
|
|
<meta id="xcode-display" name="xcode-display" content="render"/>
|
|
<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
|
|
<link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
|
|
<meta name="generator" content="appledoc 2.2 (build 961)" />
|
|
</head>
|
|
<body>
|
|
<header id="top_header">
|
|
<div id="library" class="hideInXcode">
|
|
<h1><a id="libraryTitle" href="../index.html">UPPlatformSDK </a></h1>
|
|
<a id="developerHome" href="../index.html">Jawbone</a>
|
|
</div>
|
|
|
|
<div id="title" role="banner">
|
|
<h1 class="hideInXcode">UPPlatformAuthScope Constants Reference</h1>
|
|
</div>
|
|
<ul id="headerButtons" role="toolbar">
|
|
<li id="toc_button">
|
|
<button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
|
|
</li>
|
|
<li id="jumpto_button" role="navigation">
|
|
<select id="jumpTo">
|
|
<option value="top">Jump To…</option>
|
|
|
|
|
|
|
|
|
|
|
|
</select>
|
|
</li>
|
|
</ul>
|
|
</header>
|
|
<nav id="tocContainer" class="isShowingTOC">
|
|
<ul id="toc" role="tree">
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
<article>
|
|
<div id="contents" class="isShowingTOC" role="main">
|
|
<a title="UPPlatformAuthScope Constants Reference" name="top"></a>
|
|
<div class="main-navigation navigation-top">
|
|
<ul>
|
|
<li><a href="../index.html">Index</a></li>
|
|
<li><a href="../hierarchy.html">Hierarchy</a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="header">
|
|
<div class="section-header">
|
|
<h1 class="title title-header">UPPlatformAuthScope Constants Reference</h1>
|
|
</div>
|
|
</div>
|
|
<div id="container">
|
|
|
|
<div class="section section-specification"><table cellspacing="0"><tbody>
|
|
<tr>
|
|
<td class="specification-title">Declared in</td>
|
|
<td class="specification-value">UPPlatform.h</td>
|
|
</tr><tr>
|
|
<td class="specification-title">References</td>
|
|
<td class="specification-value">https://jawbone.com/up/developer/authentication</td>
|
|
</tr>
|
|
</tbody></table></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 class="subsubtitle method-title">UPPlatformAuthScope</h3>
|
|
|
|
|
|
<div class="section section-overview">
|
|
<p>The authentication scope asked of the user.</p>
|
|
</div>
|
|
|
|
|
|
<div class="section">
|
|
<!-- display enum values -->
|
|
|
|
<h4 class="method-subtitle">Definition</h4>
|
|
<code>typedef NS_OPTIONS(NSUInteger, UPPlatformAuthScope ) {<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeBasicRead</a> = 1 < < 0,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeExtendedRead</a> = 1 < < 1,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeLocationRead</a> = 1 < < 2,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeFriendsRead</a> = 1 < < 3,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeMoodRead</a> = 1 < < 4,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeMoodWrite</a> = 1 < < 5,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeMoveRead</a> = 1 < < 6,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeMoveWrite</a> = 1 < < 7,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeSleepRead</a> = 1 < < 8,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeSleepWrite</a> = 1 < < 9,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeMealRead</a> = 1 < < 10,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeMealWrite</a> = 1 < < 11,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeWeightRead</a> = 1 < < 12,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeWeightWrite</a> = 1 < < 13,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeCardiacRead</a> = 1 < < 14,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeCardiacWrite</a> = 1 < < 15,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeGenericRead</a> = 1 < < 16,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeGenericWrite</a> = 1 < < 17,<br/>
|
|
|
|
<a href="">UPPlatformAuthScopeAll</a> = 1 < < 18,<br/>
|
|
|
|
};</code>
|
|
|
|
</div>
|
|
|
|
<div class="section section-methods">
|
|
<h4 class="method-subtitle">Constants</h4>
|
|
<dl class="termdef">
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeBasicRead"></a><code>UPPlatformAuthScopeBasicRead</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeExtendedRead"></a><code>UPPlatformAuthScopeExtendedRead</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeLocationRead"></a><code>UPPlatformAuthScopeLocationRead</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeFriendsRead"></a><code>UPPlatformAuthScopeFriendsRead</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeMoodRead"></a><code>UPPlatformAuthScopeMoodRead</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeMoodWrite"></a><code>UPPlatformAuthScopeMoodWrite</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeMoveRead"></a><code>UPPlatformAuthScopeMoveRead</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeMoveWrite"></a><code>UPPlatformAuthScopeMoveWrite</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeSleepRead"></a><code>UPPlatformAuthScopeSleepRead</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeSleepWrite"></a><code>UPPlatformAuthScopeSleepWrite</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeMealRead"></a><code>UPPlatformAuthScopeMealRead</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeMealWrite"></a><code>UPPlatformAuthScopeMealWrite</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeWeightRead"></a><code>UPPlatformAuthScopeWeightRead</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeWeightWrite"></a><code>UPPlatformAuthScopeWeightWrite</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeCardiacRead"></a><code>UPPlatformAuthScopeCardiacRead</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeCardiacWrite"></a><code>UPPlatformAuthScopeCardiacWrite</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeGenericRead"></a><code>UPPlatformAuthScopeGenericRead</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeGenericWrite"></a><code>UPPlatformAuthScopeGenericWrite</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="UPPlatformAuthScopeAll"></a><code>UPPlatformAuthScopeAll</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>The authentication scope asked of the user.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">UPPlatform.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection see-also-section">
|
|
<h4 class="method-subtitle">See Also</h4>
|
|
<ul>
|
|
|
|
<li><code><p><a href="https://jawbone.com/up/developer/authentication">https://jawbone.com/up/developer/authentication</a></p></code></li>
|
|
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section">
|
|
<h4 class="method-subtitle">Declared In</h4>
|
|
<code class="declared-in-ref">UPPlatform.h</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
<div class="main-navigation navigation-bottom">
|
|
<ul>
|
|
<li><a href="../index.html">Index</a></li>
|
|
<li><a href="../hierarchy.html">Hierarchy</a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="footer">
|
|
<hr />
|
|
<div class="footer-copyright">
|
|
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
|
|
|
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
<script type="text/javascript">
|
|
function jumpToChange()
|
|
{
|
|
window.location.hash = this.options[this.selectedIndex].value;
|
|
}
|
|
|
|
function toggleTOC()
|
|
{
|
|
var contents = document.getElementById('contents');
|
|
var tocContainer = document.getElementById('tocContainer');
|
|
|
|
if (this.getAttribute('class') == 'open')
|
|
{
|
|
this.setAttribute('class', '');
|
|
contents.setAttribute('class', '');
|
|
tocContainer.setAttribute('class', '');
|
|
|
|
window.name = "hideTOC";
|
|
}
|
|
else
|
|
{
|
|
this.setAttribute('class', 'open');
|
|
contents.setAttribute('class', 'isShowingTOC');
|
|
tocContainer.setAttribute('class', 'isShowingTOC');
|
|
|
|
window.name = "";
|
|
}
|
|
return false;
|
|
}
|
|
|
|
function toggleTOCEntryChildren(e)
|
|
{
|
|
e.stopPropagation();
|
|
var currentClass = this.getAttribute('class');
|
|
if (currentClass == 'children') {
|
|
this.setAttribute('class', 'children open');
|
|
}
|
|
else if (currentClass == 'children open') {
|
|
this.setAttribute('class', 'children');
|
|
}
|
|
return false;
|
|
}
|
|
|
|
function tocEntryClick(e)
|
|
{
|
|
e.stopPropagation();
|
|
return true;
|
|
}
|
|
|
|
function init()
|
|
{
|
|
var selectElement = document.getElementById('jumpTo');
|
|
selectElement.addEventListener('change', jumpToChange, false);
|
|
|
|
var tocButton = document.getElementById('table_of_contents');
|
|
tocButton.addEventListener('click', toggleTOC, false);
|
|
|
|
var taskTreeItem = document.getElementById('task_treeitem');
|
|
if (taskTreeItem.getElementsByTagName('li').length > 0)
|
|
{
|
|
taskTreeItem.setAttribute('class', 'children');
|
|
taskTreeItem.firstChild.setAttribute('class', 'disclosure');
|
|
}
|
|
|
|
var tocList = document.getElementById('toc');
|
|
|
|
var tocEntries = tocList.getElementsByTagName('li');
|
|
for (var i = 0; i < tocEntries.length; i++) {
|
|
tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
|
|
}
|
|
|
|
var tocLinks = tocList.getElementsByTagName('a');
|
|
for (var i = 0; i < tocLinks.length; i++) {
|
|
tocLinks[i].addEventListener('click', tocEntryClick, false);
|
|
}
|
|
|
|
if (window.name == "hideTOC") {
|
|
toggleTOC.call(tocButton);
|
|
}
|
|
}
|
|
|
|
window.onload = init;
|
|
|
|
// If showing in Xcode, hide the TOC and Header
|
|
if (navigator.userAgent.match(/xcode/i)) {
|
|
document.getElementById("contents").className = "hideInXcode"
|
|
document.getElementById("tocContainer").className = "hideInXcode"
|
|
document.getElementById("top_header").className = "hideInXcode"
|
|
}
|
|
|
|
</script>
|
|
</body>
|
|
</html> |