forked from polarofficial/polar-ble-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPolarAccelerometerData_8java_source.html
85 lines (85 loc) · 11.3 KB
/
PolarAccelerometerData_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
<!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: PolarAccelerometerData.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('PolarAccelerometerData_8java_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">PolarAccelerometerData.java</div> </div>
</div><!--header-->
<div class="contents">
<a href="PolarAccelerometerData_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"><a class="line" href="namespacepolar_1_1com_1_1sdk_1_1api_1_1model.html"> 2</a></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> java.util.List;</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html"> 9</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_1PolarAccelerometerData.html">PolarAccelerometerData</a> {</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class </span>PolarAccelerometerSample {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keyword">public</span> <span class="keywordtype">int</span> x;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keyword">public</span> <span class="keywordtype">int</span> y;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keyword">public</span> <span class="keywordtype">int</span> z;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keyword">public</span> PolarAccelerometerSample(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> z) {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  this.x = x;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  this.y = y;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  this.z = z;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  }</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  }</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html#af1282a045b75ee338ac6ef33f0bd2726"> 40</a></span>  <span class="keyword">public</span> List<PolarAccelerometerSample> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html#af1282a045b75ee338ac6ef33f0bd2726">samples</a>;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html#a8c127680c13a42a3941f8a9f7decf198"> 45</a></span>  <span class="keyword">public</span> <span class="keywordtype">long</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html#a8c127680c13a42a3941f8a9f7decf198">timeStamp</a>;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html#a459dbae3911754eba000394aae8c7d28"> 52</a></span>  <span class="keyword">public</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html#a459dbae3911754eba000394aae8c7d28">PolarAccelerometerData</a>(List<PolarAccelerometerSample> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html#af1282a045b75ee338ac6ef33f0bd2726">samples</a>, <span class="keywordtype">long</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html#a8c127680c13a42a3941f8a9f7decf198">timeStamp</a>) {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  this.samples = <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html#af1282a045b75ee338ac6ef33f0bd2726">samples</a>;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  this.timeStamp = <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html#a8c127680c13a42a3941f8a9f7decf198">timeStamp</a>;</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="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData_html_a8c127680c13a42a3941f8a9f7decf198"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html#a8c127680c13a42a3941f8a9f7decf198">polar.com.sdk.api.model.PolarAccelerometerData.timeStamp</a></div><div class="ttdeci">long timeStamp</div><div class="ttdef"><b>Definition:</b> <a href="PolarAccelerometerData_8java_source.html#l00045">PolarAccelerometerData.java:45</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData_html_a459dbae3911754eba000394aae8c7d28"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html#a459dbae3911754eba000394aae8c7d28">polar.com.sdk.api.model.PolarAccelerometerData.PolarAccelerometerData</a></div><div class="ttdeci">PolarAccelerometerData(List< PolarAccelerometerSample > samples, long timeStamp)</div><div class="ttdef"><b>Definition:</b> <a href="PolarAccelerometerData_8java_source.html#l00052">PolarAccelerometerData.java:52</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData_html_af1282a045b75ee338ac6ef33f0bd2726"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html#af1282a045b75ee338ac6ef33f0bd2726">polar.com.sdk.api.model.PolarAccelerometerData.samples</a></div><div class="ttdeci">List< PolarAccelerometerSample > samples</div><div class="ttdef"><b>Definition:</b> <a href="PolarAccelerometerData_8java_source.html#l00040">PolarAccelerometerData.java:40</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData_html"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarAccelerometerData.html">polar.com.sdk.api.model.PolarAccelerometerData</a></div><div class="ttdef"><b>Definition:</b> <a href="PolarAccelerometerData_8java_source.html#l00009">PolarAccelerometerData.java:9</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="PolarAccelerometerData_8java.html">PolarAccelerometerData.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>