forked from polarofficial/polar-ble-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPolarDeviceInfo_8java_source.html
88 lines (88 loc) · 12.8 KB
/
PolarDeviceInfo_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
<!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: PolarDeviceInfo.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('PolarDeviceInfo_8java_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">PolarDeviceInfo.java</div> </div>
</div><!--header-->
<div class="contents">
<a href="PolarDeviceInfo_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="l00007"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html"> 7</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_1PolarDeviceInfo.html">PolarDeviceInfo</a> {</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a2f7aa585b18928015513d7380ef1f262"> 12</a></span>  <span class="keyword">public</span> String <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a2f7aa585b18928015513d7380ef1f262">deviceId</a>;</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a07e3f2b0992559b97bd7f1c3fc53f505"> 17</a></span>  <span class="keyword">public</span> String <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a07e3f2b0992559b97bd7f1c3fc53f505">address</a>;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a5acb7f17a42b81d6770f0b9ea0e57d38"> 22</a></span>  <span class="keyword">public</span> <span class="keywordtype">int</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a5acb7f17a42b81d6770f0b9ea0e57d38">rssi</a>;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a9a04fb7bb773d7d8472a980ebd65f72c"> 27</a></span>  <span class="keyword">public</span> String <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a9a04fb7bb773d7d8472a980ebd65f72c">name</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a54043fda62d448654f3da9af053cf992"> 32</a></span>  <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a54043fda62d448654f3da9af053cf992">isConnectable</a>;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a441b71345100a59ef6d33eaa1a6ffd90"> 34</a></span>  <span class="keyword">public</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a441b71345100a59ef6d33eaa1a6ffd90">PolarDeviceInfo</a>(String <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a2f7aa585b18928015513d7380ef1f262">deviceId</a>, String <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a07e3f2b0992559b97bd7f1c3fc53f505">address</a>, <span class="keywordtype">int</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a5acb7f17a42b81d6770f0b9ea0e57d38">rssi</a>, String <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a9a04fb7bb773d7d8472a980ebd65f72c">name</a>, <span class="keywordtype">boolean</span> <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a54043fda62d448654f3da9af053cf992">isConnectable</a>) {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  this.deviceId = <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a2f7aa585b18928015513d7380ef1f262">deviceId</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  this.address = <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a07e3f2b0992559b97bd7f1c3fc53f505">address</a>;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  this.rssi = <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a5acb7f17a42b81d6770f0b9ea0e57d38">rssi</a>;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  this.name = <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a9a04fb7bb773d7d8472a980ebd65f72c">name</a>;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  this.isConnectable = <a class="code" href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a54043fda62d448654f3da9af053cf992">isConnectable</a>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  }</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> }</div><div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo_html_a9a04fb7bb773d7d8472a980ebd65f72c"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a9a04fb7bb773d7d8472a980ebd65f72c">polar.com.sdk.api.model.PolarDeviceInfo.name</a></div><div class="ttdeci">String name</div><div class="ttdef"><b>Definition:</b> <a href="PolarDeviceInfo_8java_source.html#l00027">PolarDeviceInfo.java:27</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo_html_a441b71345100a59ef6d33eaa1a6ffd90"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a441b71345100a59ef6d33eaa1a6ffd90">polar.com.sdk.api.model.PolarDeviceInfo.PolarDeviceInfo</a></div><div class="ttdeci">PolarDeviceInfo(String deviceId, String address, int rssi, String name, boolean isConnectable)</div><div class="ttdef"><b>Definition:</b> <a href="PolarDeviceInfo_8java_source.html#l00034">PolarDeviceInfo.java:34</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo_html_a5acb7f17a42b81d6770f0b9ea0e57d38"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a5acb7f17a42b81d6770f0b9ea0e57d38">polar.com.sdk.api.model.PolarDeviceInfo.rssi</a></div><div class="ttdeci">int rssi</div><div class="ttdef"><b>Definition:</b> <a href="PolarDeviceInfo_8java_source.html#l00022">PolarDeviceInfo.java:22</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo_html_a2f7aa585b18928015513d7380ef1f262"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a2f7aa585b18928015513d7380ef1f262">polar.com.sdk.api.model.PolarDeviceInfo.deviceId</a></div><div class="ttdeci">String deviceId</div><div class="ttdef"><b>Definition:</b> <a href="PolarDeviceInfo_8java_source.html#l00012">PolarDeviceInfo.java:12</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo_html_a54043fda62d448654f3da9af053cf992"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a54043fda62d448654f3da9af053cf992">polar.com.sdk.api.model.PolarDeviceInfo.isConnectable</a></div><div class="ttdeci">boolean isConnectable</div><div class="ttdef"><b>Definition:</b> <a href="PolarDeviceInfo_8java_source.html#l00032">PolarDeviceInfo.java:32</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo_html_a07e3f2b0992559b97bd7f1c3fc53f505"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html#a07e3f2b0992559b97bd7f1c3fc53f505">polar.com.sdk.api.model.PolarDeviceInfo.address</a></div><div class="ttdeci">String address</div><div class="ttdef"><b>Definition:</b> <a href="PolarDeviceInfo_8java_source.html#l00017">PolarDeviceInfo.java:17</a></div></div>
<div class="ttc" id="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo_html"><div class="ttname"><a href="classpolar_1_1com_1_1sdk_1_1api_1_1model_1_1PolarDeviceInfo.html">polar.com.sdk.api.model.PolarDeviceInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="PolarDeviceInfo_8java_source.html#l00007">PolarDeviceInfo.java:7</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="PolarDeviceInfo_8java.html">PolarDeviceInfo.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>