Difference between revisions of "VisualizableDevice Class"
From Neurotech Software Development Kit
NateColeman (talk | contribs) (Created page with "<div class="header"> <div class="subTitle">ru.neurotech.common</div> <h2 title="Class VisualizableDevice" class="title">Class VisualizableDevice</h2> </div> <div class="conten...") |
(No difference)
|
Latest revision as of 06:25, 15 March 2017
- java.lang.Object
-
- ru.neurotech.common.VisualizableDevice
-
- Direct Known Subclasses:
- <a href="../../../ru/neurotech/neurodevices/ecg/EcgDevice.html" title="class in ru.neurotech.neurodevices.ecg">EcgDevice</a>, <a href="../../../ru/neurotech/neurodevices/stimulation/MotionAssistantDevice.html" title="class in ru.neurotech.neurodevices.stimulation">MotionAssistantDevice</a>, <a href="../../../ru/neurotech/neurodevices/NeuroDevice.html" title="class in ru.neurotech.neurodevices">NeuroDevice</a>
public abstract class <span class="typeNameLabel">VisualizableDevice</span> extends java.lang.Object
-
- <a name="field.summary">
</a>
Field Summary
Fields Modifier and Type Field and Description <a href="../../../ru/neurotech/common/SubscribersNotifier.html" title="class in ru.neurotech.common">SubscribersNotifier</a><<a href="../../../ru/neurotech/neurodevices/state/NeuroDeviceState.html" title="enum in ru.neurotech.neurodevices.state">NeuroDeviceState</a>>
<a href="../../../ru/neurotech/common/VisualizableDevice.html#deviceStateChanged">deviceStateChanged</a>
Subscribe this event to get notifications about device state
- <a name="constructor.summary">
</a>
Constructor Summary
Constructors Constructor and Description <a href="../../../ru/neurotech/common/VisualizableDevice.html#VisualizableDevice--">VisualizableDevice</a>()
- <a name="method.summary">
</a>
Method Summary
All Methods <a href="javascript:show(2);">Instance Methods</a> <a href="javascript:show(4);">Abstract Methods</a> Modifier and Type Method and Description abstract java.lang.String
<a href="../../../ru/neurotech/common/VisualizableDevice.html#getAddress--">getAddress</a>()
Returns Bluetooth LE MAC addressabstract int
<a href="../../../ru/neurotech/common/VisualizableDevice.html#getBatteryLevel--">getBatteryLevel</a>()
Returns battery stateabstract java.lang.String
<a href="../../../ru/neurotech/common/VisualizableDevice.html#getName--">getName</a>()
Returns name of BLE deviceabstract <a href="../../../ru/neurotech/neurodevices/NeuroDevice.html" title="class in ru.neurotech.neurodevices">NeuroDevice</a>
<a href="../../../ru/neurotech/common/VisualizableDevice.html#getNeuroDevice--">getNeuroDevice</a>()
Returns physical device object which this visual device represents- <a name="methods.inherited.from.class.java.lang.Object">
</a>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- <a name="methods.inherited.from.class.java.lang.Object">
</a>
- <a name="field.summary">
</a>
-
- <a name="field.detail">
</a>
Field Detail
<a name="deviceStateChanged"> </a>
-
deviceStateChanged
public final <a href="../../../ru/neurotech/common/SubscribersNotifier.html" title="class in ru.neurotech.common">SubscribersNotifier</a><<a href="../../../ru/neurotech/neurodevices/state/NeuroDeviceState.html" title="enum in ru.neurotech.neurodevices.state">NeuroDeviceState</a>> deviceStateChanged
Subscribe this event to get notifications about device state
-
- <a name="constructor.detail">
</a>
Constructor Detail
<a name="VisualizableDevice--"> </a>
-
VisualizableDevice
public VisualizableDevice()
-
- <a name="method.detail">
</a>
Method Detail
<a name="getName--"> </a>
-
getName
public abstract java.lang.String getName()
Returns name of BLE device- Returns:
- BLE device name
<a name="getAddress--"> </a>
-
getAddress
public abstract java.lang.String getAddress()
Returns Bluetooth LE MAC address- Returns:
- device unique address
<a name="getBatteryLevel--"> </a>
-
getBatteryLevel
public abstract int getBatteryLevel()
Returns battery state- Returns:
- battery charge level in percents
<a name="getNeuroDevice--"> </a>
-
getNeuroDevice
public abstract <a href="../../../ru/neurotech/neurodevices/NeuroDevice.html" title="class in ru.neurotech.neurodevices">NeuroDevice</a> getNeuroDevice()
Returns physical device object which this visual device represents- Returns:
- NeuroDevice of current visual device
-
- <a name="field.detail">
</a>