Difference between revisions of "NeuroDevice Class"
NateColeman (talk | contribs) (→Related Classes) |
NateColeman (talk | contribs) (→Android) |
||
Line 55: | Line 55: | ||
|} | |} | ||
− | + | ==Methods Summary== | |
− | + | {| class="wikitable" | |
− | + | |- style="background-color: #dee3e9;" | |
− | + | |'''Modifier and Type''' | |
− | + | |'''Method and Description''' | |
− | + | |- valign="top" | |
− | + | |style="color:#0066FF;" |'''void''' | |
− | + | |[[#close|close]]() | |
− | + | Close device and free all resources | |
− | + | |- valign="top" | |
− | + | |style="color:#0066FF;" |'''void''' | |
− | + | |[[#connect|connect]]() | |
− | + | Establishes connection with device services | |
− | + | |- valign="top" | |
− | + | |style="color:#0066FF;" |'''void''' | |
− | + | |[[#disconnect|disconnect]]() | |
− | + | Disconnects from device | |
− | + | |- valign="top" | |
− | + | |style="color:#0066FF;" |'''void''' | |
− | + | |[[#finalize|finalize]]() | |
− | + | |- valign="top" | |
− | + | |java.lang.String | |
− | + | |[[#getAddress|getAddress]]() | |
− | + | Returns Bluetooth LE MAC address | |
− | + | |- valign="top" | |
− | + | |style="color:#0066FF;" |'''int''' | |
− | + | |[[#getBatteryLevel|getBatteryLevel]]() | |
− | + | Returns battery charge level in percents | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<tr id="i6" class="altColor"> | <tr id="i6" class="altColor"> | ||
<td class="colFirst"><code><a href="../../../ru/neurotech/neurodevices/state/NeuroDeviceError.html" title="enum in ru.neurotech.neurodevices.state">NeuroDeviceError</a></code></td> | <td class="colFirst"><code><a href="../../../ru/neurotech/neurodevices/state/NeuroDeviceError.html" title="enum in ru.neurotech.neurodevices.state">NeuroDeviceError</a></code></td> |
Revision as of 10:46, 8 August 2017
Contents
Android
ru.neurotech.neurodevices
Class NeuroDevice
Related Classes
ru.neurotech.neurodevices.NeuroConnection
ru.neurotech.neurodevices.DeviceFeature
ru.neurotech.neurodevices.state.NeuroDeviceError
ru.neurotech.neurodevices.state.NeuroDeviceState
Classes hierarchy
- java.lang.Object
- ru.neurotech.common.VisualizableDevice
- ru.neurotech.neurodevices.NeuroDevice
Class definition
public class NeuroDevice extends VisualizableDevice
Represents Neurotech™ device on a layer of algorithmic functionality
Provides signal and misc channels and methods for signal processing and viewing</div>
Fields Summary
Modifier and Type | Field and Description |
SubscribersNotifier<NeuroDeviceState> | deviceStateChanged
Subscribe this event to get notifications about device state |
Constructor Summary
Constructor and Description |
NeuroDevice(long nativeObjPtr) |
Methods Summary
Modifier and Type | Method and Description |
void | close()
Close device and free all resources |
void | connect()
Establishes connection with device services |
void | disconnect()
Disconnects from device |
void | finalize() |
java.lang.String | getAddress()
Returns Bluetooth LE MAC address |
int | getBatteryLevel()
Returns battery charge level in percents
<tr id="i6" class="altColor">
<td class="colFirst"> Returns device error state information
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"> Returns supported device features
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"> Returns name of BLE device
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"> Returns physical device object which this visual device represents
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"> Returns subsystem for SIGNAL device feature
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"> Returns common device state.
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst">
</li> </ul> </li> </ul> </div>
</div> |