Difference between revisions of "BfbIndex Class"
NateColeman (talk | contribs) (→Android) |
NateColeman (talk | contribs) (→Method Detail) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Android= | =Android= | ||
− | + | ru.neurotech.neurodevices.bfb | |
− | + | ||
− | + | <span style="font-size: 150%;">'''Class BfbIndex'''</span> | |
− | < | + | |
− | + | ==Related Classes== | |
− | + | ||
− | <ul | + | ru.neurotech.neurodevices.bfb.[[BfbDeviceConnector Class|BfbDeviceConnector]] |
+ | |||
+ | ru.neurotech.neurodevices.bfb.[[BfbDevice Class|BfbDevice]] | ||
+ | |||
+ | ==Classes hierarchy== | ||
+ | <ul> | ||
<li>java.lang.Object</li> | <li>java.lang.Object</li> | ||
− | + | ||
− | <ul | + | <ul> |
− | <li>ru.neurotech.neurodevices.bfb.BfbIndex</li> | + | <li>ru.neurotech.neurodevices.bfb.'''BfbIndex'''</li> |
</ul> | </ul> | ||
− | |||
</ul> | </ul> | ||
− | + | ||
− | + | ==Class definition== | |
− | + | <code><span style="color:#0066FF;">'''public class'''</span> BfbIndex </code> | |
− | < | + | |
− | + | ==Fields Summary== | |
− | + | {| class="wikitable" | |
− | + | |- style="background-color: #dee3e9;" | |
− | + | |'''Modifier and Type''' | |
− | + | |'''Field and Description''' | |
− | + | |- valign="top" | |
− | + | |[[SubscribersNotifier Class|SubscribersNotifier]]<java.lang.Object> | |
− | + | |[[#calibrationFinished|calibrationFinished]] | |
− | + | Notifies about finishing of calibration process | |
− | + | |- valign="top" | |
− | + | |[[SubscribersNotifier Class|SubscribersNotifier]]<java.lang.Integer> | |
− | + | |[[#valueChanged|valueChanged]] | |
− | + | Notifies about changes of biofeedback index parameter | |
− | + | |} | |
− | + | ||
− | + | ==Constructor Summary== | |
− | + | {| class="wikitable" | |
− | + | |- style="background-color: #dee3e9;" | |
− | + | |'''Constructor and Description''' | |
− | + | |- | |
− | + | |[[#BfbIndex|BfbIndex]](<span style="color:#0066FF;">'''long'''</span> nativeObjPtr) | |
− | + | |} | |
− | + | ||
− | + | ==Methods Summary== | |
− | + | {| class="wikitable" | |
− | + | |- style="background-color: #dee3e9;" | |
− | + | |'''Modifier and Type''' | |
− | + | |'''Method and Description''' | |
− | + | |- valign="top" | |
− | + | |style="color:#0066FF;" |'''void''' | |
− | + | |[[#calibrate|calibrate]]() | |
− | + | Starts calibration process | |
− | + | |- valign="top" | |
− | + | |style="color:#0066FF;" |'''void''' | |
− | + | |[[#finalize|finalize]]() | |
− | + | |- valign="top" | |
− | + | |style="color:#0066FF;" |'''int''' | |
− | + | |[[#value|value]]() | |
− | + | Returns current value of biofeedback index | |
− | + | |} | |
− | + | ||
− | + | ==Field Detail== | |
− | + | <h3>valueChanged</h3> | |
− | + | <code><span style="color:#0066FF;">'''public final'''</span> [[SubscribersNotifier Class|SubscribersNotifier]]<java.lang.Integer> valueChanged</code> | |
− | + | ||
− | + | Notifies about changes of biofeedback | |
− | + | ||
− | + | <h3>calibrationFinished</h3> | |
− | + | <code><span style="color:#0066FF;">'''public final'''</span> [[SubscribersNotifier Class|SubscribersNotifier]]<java.lang.Object> calibrationFinished</code> | |
− | + | ||
− | + | Notifies about finishing of calibration process | |
− | + | ||
− | + | ==Constructor Detail== | |
− | + | ||
− | + | <code><span style="color:#0066FF;">'''public'''</span> BfbIndex(<span style="color:#0066FF;">'''long'''</span> nativeObjPtr)</code> | |
− | + | ||
− | + | ||
− | + | ==Method Detail== | |
− | + | ||
− | + | <h3>finalize</h3> | |
− | + | <code><span style="color:#0066FF;">'''public void'''</span> finalize() <span style="color:#0066FF;">throws</span> java.lang.Throwable</code> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <h3> | ||
− | < | ||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | ||
− | |||
− | |||
− | </ | ||
− | < | ||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | ||
− | |||
− | </ | ||
− | |||
− | |||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | ||
− | |||
− | </ | ||
− | < | ||
− | |||
− | |||
− | </ | ||
− | < | ||
− | |||
− | |||
− | |||
− | |||
<dl> | <dl> | ||
− | <dt | + | <dt>Overrides:</dt> |
<dd><code>finalize</code> in class <code>java.lang.Object</code></dd> | <dd><code>finalize</code> in class <code>java.lang.Object</code></dd> | ||
− | <dt | + | <dt>Throws:</dt> |
<dd><code>java.lang.Throwable</code></dd> | <dd><code>java.lang.Throwable</code></dd> | ||
</dl> | </dl> | ||
− | + | ||
− | < | + | <h3>value</h3> |
− | + | <code><span style="color:#0066FF;">'''public int'''</span> value()</code> | |
− | + | ||
− | </ | + | Returns current value of biofeedback index |
− | < | + | |
− | < | + | <dl> |
− | + | <dt><span class="returnLabel">Returns:</span></dt> | |
− | + | <dd>Biofeedback index value</dd> | |
− | + | </dl> | |
− | + | ||
− | + | <h3>calibrate</h3> | |
− | + | <code><span style="color:#0066FF;">'''public void'''</span> calibrate()</code> | |
− | < | + | |
− | < | + | Starts calibration process. This method is non-blocking. |
− | < | + | Subscribe [[#calibrationFinished|calibrationFinished]] to get notification when calibration process ends. |
− | < | ||
− | < | ||
− | </ | ||
− | < | ||
− | </ | ||
− | < | ||
− | < | ||
− | </ | ||
− | </ | ||
− | |||
− |
Latest revision as of 09:51, 14 August 2017
Contents
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 classjava.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.