Difference between revisions of "BfbIndex Class"

From Neurotech Software Development Kit
Jump to: navigation, search
(Fields Summary)
(Method Detail)
 
(5 intermediate revisions by the same user not shown)
Line 45: Line 45:
 
|}
 
|}
  
<!-- ========== METHOD SUMMARY =========== -->
+
==Methods Summary==
<ul class="blockList">
+
{| class="wikitable"
<li class="blockList"><a name="method.summary">
+
|- style="background-color: #dee3e9;"
<!--   -->
+
|'''Modifier and Type'''
</a>
+
|'''Method and Description'''
<h3>Method Summary</h3>
+
|- valign="top"
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+
|style="color:#0066FF;" |'''void'''
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
+
|[[#calibrate|calibrate]]()
<tr>
+
Starts calibration process
<th class="colFirst" scope="col">Modifier and Type</th>
+
|- valign="top"
<th class="colLast" scope="col">Method and Description</th>
+
|style="color:#0066FF;" |'''void'''
</tr>
+
|[[#finalize|finalize]]()
<tr id="i0" class="altColor">
+
|- valign="top"
<td class="colFirst"><code>void</code></td>
+
|style="color:#0066FF;" |'''int'''
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../ru/neurotech/neurodevices/bfb/BfbIndex.html#calibrate--">calibrate</a></span>()</code>&nbsp;</td>
+
|[[#value|value]]()
</tr>
+
Returns current value of biofeedback index
<tr id="i1" class="rowColor">
+
|}
<td class="colFirst"><code>void</code></td>
+
 
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../ru/neurotech/neurodevices/bfb/BfbIndex.html#finalize--">finalize</a></span>()</code>&nbsp;</td>
+
==Field Detail==
</tr>
+
<h3>valueChanged</h3>
<tr id="i2" class="altColor">
+
<code><span style="color:#0066FF;">'''public final'''</span> [[SubscribersNotifier Class|SubscribersNotifier]]&lt;java.lang.Integer&gt; valueChanged</code>
<td class="colFirst"><code>int</code></td>
+
 
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../ru/neurotech/neurodevices/bfb/BfbIndex.html#value--">value</a></span>()</code>&nbsp;</td>
+
Notifies about changes of biofeedback
</tr>
+
 
</table>
+
<h3>calibrationFinished</h3>
<ul class="blockList">
+
<code><span style="color:#0066FF;">'''public final'''</span> [[SubscribersNotifier Class|SubscribersNotifier]]&lt;java.lang.Object&gt; calibrationFinished</code>
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+
 
<!--  -->
+
Notifies about finishing of calibration process
</a>
+
 
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+
==Constructor Detail==
<code>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+
 
</ul>
+
<code><span style="color:#0066FF;">'''public'''</span> BfbIndex(<span style="color:#0066FF;">'''long'''</span> nativeObjPtr)</code>
</li>
+
 
</ul>
+
 
</li>
+
==Method Detail==
</ul>
+
 
</div>
+
<h3>finalize</h3>
<div class="details">
+
<code><span style="color:#0066FF;">'''public void'''</span> finalize() <span style="color:#0066FF;">throws</span> java.lang.Throwable</code>
<ul class="blockList">
 
<li class="blockList">
 
<!-- ============ FIELD DETAIL =========== -->
 
<ul class="blockList">
 
<li class="blockList"><a name="field.detail">
 
<!--  -->
 
</a>
 
<h3>Field Detail</h3>
 
<a name="valueChanged">
 
<!--  -->
 
</a>
 
<ul class="blockList">
 
<li class="blockList">
 
<h4>valueChanged</h4>
 
<pre>public final&nbsp;ru.neurotech.common.SubscribersNotifier&lt;java.lang.Integer&gt; valueChanged</pre>
 
<div class="block">Notifies when proper Callibri BFB device been found and initialized</div>
 
</li>
 
</ul>
 
<a name="calibrationFinished">
 
<!--  -->
 
</a>
 
<ul class="blockListLast">
 
<li class="blockList">
 
<h4>calibrationFinished</h4>
 
<pre>public final&nbsp;ru.neurotech.common.SubscribersNotifier&lt;java.lang.Object&gt; calibrationFinished</pre>
 
<div class="block">Notifies about changing device scanning state</div>
 
</li>
 
</ul>
 
</li>
 
</ul>
 
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
<ul class="blockList">
 
<li class="blockList"><a name="constructor.detail">
 
<!--  -->
 
</a>
 
<h3>Constructor Detail</h3>
 
<a name="BfbIndex-long-">
 
<!--  -->
 
</a>
 
<ul class="blockListLast">
 
<li class="blockList">
 
<h4>BfbIndex</h4>
 
<pre>public&nbsp;BfbIndex(long&nbsp;objPtr)</pre>
 
</li>
 
</ul>
 
</li>
 
</ul>
 
<!-- ============ METHOD DETAIL ========== -->
 
<ul class="blockList">
 
<li class="blockList"><a name="method.detail">
 
<!--  -->
 
</a>
 
<h3>Method Detail</h3>
 
<a name="finalize--">
 
<!--  -->
 
</a>
 
<ul class="blockList">
 
<li class="blockList">
 
<h4>finalize</h4>
 
<pre>public&nbsp;void&nbsp;finalize()
 
              throws java.lang.Throwable</pre>
 
 
<dl>
 
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+
<dt>Overrides:</dt>
 
<dd><code>finalize</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
 
<dd><code>finalize</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
+
<dt>Throws:</dt>
 
<dd><code>java.lang.Throwable</code></dd>
 
<dd><code>java.lang.Throwable</code></dd>
 
</dl>
 
</dl>
</li>
+
 
</ul>
+
<h3>value</h3>
<a name="value--">
+
<code><span style="color:#0066FF;">'''public int'''</span> value()</code>
<!--  -->
+
 
</a>
+
Returns current value of biofeedback index
<ul class="blockList">
+
 
<li class="blockList">
+
<dl>
<h4>value</h4>
+
<dt><span class="returnLabel">Returns:</span></dt>
<pre>public&nbsp;int&nbsp;value()</pre>
+
<dd>Biofeedback index value</dd>
</li>
+
</dl>
</ul>
+
 
<a name="calibrate--">
+
<h3>calibrate</h3>
<!--  -->
+
<code><span style="color:#0066FF;">'''public void'''</span> calibrate()</code>
</a>
+
 
<ul class="blockListLast">
+
Starts calibration process. This method is non-blocking.
<li class="blockList">
+
Subscribe [[#calibrationFinished|calibrationFinished]] to get notification when calibration process ends.
<h4>calibrate</h4>
 
<pre>public&nbsp;void&nbsp;calibrate()</pre>
 
</li>
 
</ul>
 
</li>
 
</ul>
 
</li>
 
</ul>
 
</div>
 
</div>
 
<!-- ========= END OF CLASS DATA ========= -->
 

Latest revision as of 09:51, 14 August 2017

Android

ru.neurotech.neurodevices.bfb

Class BfbIndex

Related Classes

ru.neurotech.neurodevices.bfb.BfbDeviceConnector

ru.neurotech.neurodevices.bfb.BfbDevice

Classes hierarchy

  • java.lang.Object
    • ru.neurotech.neurodevices.bfb.BfbIndex

Class definition

public class BfbIndex

Fields Summary

Modifier and Type Field and Description
SubscribersNotifier<java.lang.Object> calibrationFinished

Notifies about finishing of calibration process

SubscribersNotifier<java.lang.Integer> valueChanged

Notifies about changes of biofeedback index parameter

Constructor Summary

Constructor and Description
BfbIndex(long nativeObjPtr)

Methods Summary

Modifier and Type Method and Description
void calibrate()

Starts calibration process

void finalize()
int value()

Returns current value of biofeedback index

Field Detail

valueChanged

public final SubscribersNotifier<java.lang.Integer> valueChanged

Notifies about changes of biofeedback

calibrationFinished

public final SubscribersNotifier<java.lang.Object> calibrationFinished

Notifies about finishing of calibration process

Constructor Detail

public BfbIndex(long nativeObjPtr)


Method Detail

finalize

public void finalize() throws java.lang.Throwable

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

value

public int value()

Returns current value of biofeedback index

Returns:
Biofeedback index value

calibrate

public void calibrate()

Starts calibration process. This method is non-blocking. Subscribe calibrationFinished to get notification when calibration process ends.