-
Notifications
You must be signed in to change notification settings - Fork 159
/
Copy pathPolarSensorSetting_8java_source.html
95 lines (95 loc) · 29.2 KB
/
PolarSensorSetting_8java_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SDK for Polar sensors: PolarSensorSetting.java Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">SDK for Polar sensors
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('PolarSensorSetting_8java_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">PolarSensorSetting.java</div> </div>
</div><!--header-->
<div class="contents">
<a href="PolarSensorSetting_8java.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Copyright © 2019 Polar Electro Oy. All rights reserved.</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="keyword">package </span>polar.com.sdk.api.model;</div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="keyword">import</span> com.androidcommunications.polar.api.ble.model.gatt.client.BlePMDClient;</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="keyword">import</span> java.util.Arrays;</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="keyword">import</span> java.util.Collections;</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="keyword">import</span> java.util.HashMap;</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="keyword">import</span> java.util.HashSet;</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="keyword">import</span> java.util.List;</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">import</span> java.util.Map;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">import</span> java.util.Set;</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html"> 14</a></span> <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html">PolarSensorSetting</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html"> 16</a></span>  <span class="keyword">public</span> <span class="keyword">enum</span> <a class="code" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html">SettingType</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a77bc2999fcb74f979cdaec328f81679f"> 17</a></span>  <a class="code" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a77bc2999fcb74f979cdaec328f81679f">SAMPLE_RATE</a>(0), </div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#adf551ddee8ca1b83283644d74af94391"> 18</a></span>  <a class="code" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#adf551ddee8ca1b83283644d74af94391">RESOLUTION</a>(1), </div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a45b4b99e66eb8cf506cf80732b4fb29a"> 19</a></span>  <a class="code" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a45b4b99e66eb8cf506cf80732b4fb29a">RANGE</a>(2); </div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a407618216b6c46196e1b0cfb5fbe230f"> 21</a></span>  <span class="keyword">private</span> <span class="keywordtype">int</span> <a class="code" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a407618216b6c46196e1b0cfb5fbe230f">numVal</a>;</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a79e7234362f8673d9b7d3b9eb94fce83"> 22</a></span>  <a class="code" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a79e7234362f8673d9b7d3b9eb94fce83">SettingType</a>(<span class="keywordtype">int</span> numVal) {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  this.numVal = numVal;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  }</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a41ecb015e0d98e3af78679a6e47b5cae"> 25</a></span>  <span class="keyword">public</span> <span class="keywordtype">int</span> <a class="code" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a41ecb015e0d98e3af78679a6e47b5cae">getNumVal</a>() {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordflow">return</span> numVal;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  }</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  }</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ae59d938cc770438c06bbd16ea015c9ff"> 30</a></span>  <span class="keyword">public</span> Map<SettingType,Set<Integer>> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ae59d938cc770438c06bbd16ea015c9ff">settings</a>;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a9dd8f3b32f3f73f2eaf1e3dd01ba186f"> 31</a></span>  <span class="keyword">private</span> BlePMDClient.PmdMeasurementType <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a9dd8f3b32f3f73f2eaf1e3dd01ba186f">type</a>;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ac87c6566895707f999315d370a410bb2"> 38</a></span>  <span class="keyword">public</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ac87c6566895707f999315d370a410bb2">PolarSensorSetting</a>(Map<BlePMDClient.PmdSetting.PmdSettingType,Set<Integer>> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ae59d938cc770438c06bbd16ea015c9ff">settings</a>,</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  BlePMDClient.PmdMeasurementType <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a9dd8f3b32f3f73f2eaf1e3dd01ba186f">type</a>) {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  this.settings = <span class="keyword">new</span> HashMap<>();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  this.<a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a9dd8f3b32f3f73f2eaf1e3dd01ba186f">type</a> = <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a9dd8f3b32f3f73f2eaf1e3dd01ba186f">type</a>;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">for</span>(Map.Entry<BlePMDClient.PmdSetting.PmdSettingType,Set<Integer>> e : <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ae59d938cc770438c06bbd16ea015c9ff">settings</a>.entrySet()){</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  this.settings.put(<a class="code" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html">SettingType</a>.values()[e.getKey().getNumVal()],e.getValue());</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  }</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a5e8c169d434732150045ebc890c7391c"> 51</a></span>  <span class="keyword">public</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a5e8c169d434732150045ebc890c7391c">PolarSensorSetting</a>(Map<SettingType, Integer> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ae59d938cc770438c06bbd16ea015c9ff">settings</a>) {</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  this.settings = <span class="keyword">new</span> HashMap<>();</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">for</span>(Map.Entry<<a class="code" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html">SettingType</a>,Integer> e : <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ae59d938cc770438c06bbd16ea015c9ff">settings</a>.entrySet()) {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  this.settings.put(e.getKey(), <span class="keyword">new</span> HashSet<>(Collections.singletonList(e.getValue())));</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a8861d81f7ca995e36dd8b1cddadb78c9"> 62</a></span>  <span class="keyword">public</span> BlePMDClient.PmdSetting <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a8861d81f7ca995e36dd8b1cddadb78c9">map2PmdSettings</a>(){</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  Map<BlePMDClient.PmdSetting.PmdSettingType,Integer> selected = <span class="keyword">new</span> HashMap<>();</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">for</span>(Map.Entry<<a class="code" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html">SettingType</a>,Set<Integer>> e : <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ae59d938cc770438c06bbd16ea015c9ff">settings</a>.entrySet()){</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  selected.put(BlePMDClient.PmdSetting.PmdSettingType.values()[e.getKey().numVal],</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  Collections.max(e.getValue()));</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  }</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> BlePMDClient.PmdSetting(selected);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  }</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a5d943bf35a75b76b4cf2bb7b7beb378a"> 75</a></span>  <span class="keyword">public</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html">PolarSensorSetting</a> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a5d943bf35a75b76b4cf2bb7b7beb378a">maxSettings</a>(){</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  Map<SettingType,Integer> selected = <span class="keyword">new</span> HashMap<>();</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">for</span>(Map.Entry<<a class="code" href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html">SettingType</a>,Set<Integer>> e : <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ae59d938cc770438c06bbd16ea015c9ff">settings</a>.entrySet()){</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  selected.put(e.getKey(), Collections.max(e.getValue()));</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  }</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ac87c6566895707f999315d370a410bb2">PolarSensorSetting</a>(selected);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  }</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class </span>Builder {</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">public</span> Map<SettingType,Integer> selected = <span class="keyword">new</span> HashMap<>();</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keyword">private</span> Builder() {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  }</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">public</span> <span class="keyword">static</span> Builder newBuilder() {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> Builder();</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  }</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">public</span> Builder setSampleRate(<span class="keywordtype">int</span> rate){</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  selected.put(SettingType.SAMPLE_RATE,rate);</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">return</span> <span class="keyword">this</span>;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  }</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">public</span> Builder setResolution(<span class="keywordtype">int</span> resolution){</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  selected.put(SettingType.RESOLUTION,resolution);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">return</span> <span class="keyword">this</span>;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  }</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">public</span> Builder setRange(<span class="keywordtype">int</span> range){</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  selected.put(SettingType.RANGE,range);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">return</span> <span class="keyword">this</span>;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  }</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">public</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ac87c6566895707f999315d370a410bb2">PolarSensorSetting</a> build() {</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ac87c6566895707f999315d370a410bb2">PolarSensorSetting</a>(selected);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  }</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  }</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> }</div><div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_html_a9dd8f3b32f3f73f2eaf1e3dd01ba186f"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a9dd8f3b32f3f73f2eaf1e3dd01ba186f">polar.com.sdk.api.model.PolarSensorSetting.type</a></div><div class="ttdeci">BlePMDClient.PmdMeasurementType type</div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00031">PolarSensorSetting.java:31</a></div></div>
<div class="ttc" id="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType_html_a407618216b6c46196e1b0cfb5fbe230f"><div class="ttname"><a href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a407618216b6c46196e1b0cfb5fbe230f">polar.com.sdk.api.model.PolarSensorSetting.SettingType.numVal</a></div><div class="ttdeci">int numVal</div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00021">PolarSensorSetting.java:21</a></div></div>
<div class="ttc" id="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType_html_adf551ddee8ca1b83283644d74af94391"><div class="ttname"><a href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#adf551ddee8ca1b83283644d74af94391">polar.com.sdk.api.model.PolarSensorSetting.SettingType.RESOLUTION</a></div><div class="ttdeci">RESOLUTION</div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00018">PolarSensorSetting.java:18</a></div></div>
<div class="ttc" id="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType_html"><div class="ttname"><a href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html">polar.com.sdk.api.model.PolarSensorSetting.SettingType</a></div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00016">PolarSensorSetting.java:16</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_html_ae59d938cc770438c06bbd16ea015c9ff"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ae59d938cc770438c06bbd16ea015c9ff">polar.com.sdk.api.model.PolarSensorSetting.settings</a></div><div class="ttdeci">Map< SettingType, Set< Integer > > settings</div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00030">PolarSensorSetting.java:30</a></div></div>
<div class="ttc" id="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType_html_a45b4b99e66eb8cf506cf80732b4fb29a"><div class="ttname"><a href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a45b4b99e66eb8cf506cf80732b4fb29a">polar.com.sdk.api.model.PolarSensorSetting.SettingType.RANGE</a></div><div class="ttdeci">RANGE</div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00019">PolarSensorSetting.java:19</a></div></div>
<div class="ttc" id="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType_html_a41ecb015e0d98e3af78679a6e47b5cae"><div class="ttname"><a href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a41ecb015e0d98e3af78679a6e47b5cae">polar.com.sdk.api.model.PolarSensorSetting.SettingType.getNumVal</a></div><div class="ttdeci">int getNumVal()</div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00025">PolarSensorSetting.java:25</a></div></div>
<div class="ttc" id="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType_html_a77bc2999fcb74f979cdaec328f81679f"><div class="ttname"><a href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a77bc2999fcb74f979cdaec328f81679f">polar.com.sdk.api.model.PolarSensorSetting.SettingType.SAMPLE_RATE</a></div><div class="ttdeci">SAMPLE_RATE</div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00017">PolarSensorSetting.java:17</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_html_ac87c6566895707f999315d370a410bb2"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#ac87c6566895707f999315d370a410bb2">polar.com.sdk.api.model.PolarSensorSetting.PolarSensorSetting</a></div><div class="ttdeci">PolarSensorSetting(Map< BlePMDClient.PmdSetting.PmdSettingType, Set< Integer >> settings, BlePMDClient.PmdMeasurementType type)</div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00038">PolarSensorSetting.java:38</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_html_a5d943bf35a75b76b4cf2bb7b7beb378a"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a5d943bf35a75b76b4cf2bb7b7beb378a">polar.com.sdk.api.model.PolarSensorSetting.maxSettings</a></div><div class="ttdeci">PolarSensorSetting maxSettings()</div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00075">PolarSensorSetting.java:75</a></div></div>
<div class="ttc" id="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType_html_a79e7234362f8673d9b7d3b9eb94fce83"><div class="ttname"><a href="enumpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_1_1SettingType.html#a79e7234362f8673d9b7d3b9eb94fce83">polar.com.sdk.api.model.PolarSensorSetting.SettingType.SettingType</a></div><div class="ttdeci">SettingType(int numVal)</div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00022">PolarSensorSetting.java:22</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_html_a5e8c169d434732150045ebc890c7391c"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a5e8c169d434732150045ebc890c7391c">polar.com.sdk.api.model.PolarSensorSetting.PolarSensorSetting</a></div><div class="ttdeci">PolarSensorSetting(Map< SettingType, Integer > settings)</div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00051">PolarSensorSetting.java:51</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_html_a8861d81f7ca995e36dd8b1cddadb78c9"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html#a8861d81f7ca995e36dd8b1cddadb78c9">polar.com.sdk.api.model.PolarSensorSetting.map2PmdSettings</a></div><div class="ttdeci">BlePMDClient.PmdSetting map2PmdSettings()</div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00062">PolarSensorSetting.java:62</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting_html"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarSensorSetting.html">polar.com.sdk.api.model.PolarSensorSetting</a></div><div class="ttdef"><b>Definition:</b> <a href="PolarSensorSetting_8java_source.html#l00014">PolarSensorSetting.java:14</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_5eb159725f84c66aafd839904a4acdd0.html">main</a></li><li class="navelem"><a class="el" href="dir_fd3f6763802dee1ad875f6c80eac0bda.html">java</a></li><li class="navelem"><a class="el" href="dir_57f0ca8c420846e7d0426b6adce5936e.html">polar</a></li><li class="navelem"><a class="el" href="dir_1ff65af9a4dc657909b37e4b73346a08.html">com</a></li><li class="navelem"><a class="el" href="dir_fac840b1a3a552bfa17e24a7f5dc9555.html">sdk</a></li><li class="navelem"><a class="el" href="dir_b936df1acb3136008a04b697d550213c.html">api</a></li><li class="navelem"><a class="el" href="dir_7d958c2b373af03670a0a28f80d9d1e8.html">model</a></li><li class="navelem"><a class="el" href="PolarSensorSetting_8java.html">PolarSensorSetting.java</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
</div>
</body>
</html>