Difference between revisions of "BfbIndex Class"
NateColeman (talk | contribs) (→Method Detail) |
NateColeman (talk | contribs) (→Method Detail) |
||
Line 91: | Line 91: | ||
<h3>value</h3> | <h3>value</h3> | ||
− | <code><span style="color:#0066FF;">'''public int'''</span> value</code> | + | <code><span style="color:#0066FF;">'''public int'''</span> value()</code> |
Returns current value of biofeedback index | Returns current value of biofeedback index |
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.