Difference between revisions of "EcgDeviceConnector Class"

From Neurotech Software Development Kit
Jump to: navigation, search
(Created page with "<div class="header"> <div class="subTitle">ru.neurotech.neurodevices.ecg</div> <h2 title="Class EcgDeviceConnector" class="title">Class EcgDeviceConnector</h2> </div> <div cla...")
 
Line 1: Line 1:
<div class="header">
+
Summary
<div class="subTitle">ru.neurotech.neurodevices.ecg</div>
+
=Android=
<h2 title="Class EcgDeviceConnector" class="title">Class EcgDeviceConnector</h2>
+
 
</div>
+
ru.neurotech.neurodevices.ecg
<div class="contentContainer">
+
 
<ul class="inheritance">
+
<span style="font-size:150%;">'''Class EcgDevice'''</span>
 +
 
 +
==Related Classes==
 +
 
 +
ru.neurotech.neurodevices.ecg.[[EcgDevice Class|EcgDevice]]
 +
 
 +
ru.neurotech.neurodevices.ecg.[[RPeak Class|RPeak]]
 +
 
 +
==Classes hierarchy==
 +
<ul>
 
<li>java.lang.Object</li>
 
<li>java.lang.Object</li>
<li>
+
 
<ul class="inheritance">
+
<ul>
<li>ru.neurotech.neurodevices.ecg.EcgDeviceConnector</li>
+
<li>ru.neurotech.neurodevices.ecg.'''EcgDeviceConnector'''</li>
 
</ul>
 
</ul>
</li>
 
 
</ul>
 
</ul>
<div class="description">
+
 
<ul class="blockList">
+
==Class definition==
<li class="blockList">
+
<code><span style="color:#0066FF;">'''public class'''</span> EcgDeviceConnector <span style="color:#0066FF;">'''extends'''</span> java.lang.Object</code>
<hr>
+
 
<br>
 
<pre>public class <span class="typeNameLabel">EcgDeviceConnector</span>
 
extends java.lang.Object</pre>
 
</li>
 
</ul>
 
</div>
 
<div class="summary">
 
<ul class="blockList">
 
<li class="blockList">
 
 
<!-- =========== FIELD SUMMARY =========== -->
 
<!-- =========== FIELD SUMMARY =========== -->
 
<ul class="blockList">
 
<ul class="blockList">

Revision as of 05:07, 16 March 2017

Summary

Android

ru.neurotech.neurodevices.ecg

Class EcgDevice

Related Classes

ru.neurotech.neurodevices.ecg.EcgDevice

ru.neurotech.neurodevices.ecg.RPeak

Classes hierarchy

  • java.lang.Object
    • ru.neurotech.neurodevices.ecg.EcgDeviceConnector

Class definition

public class EcgDeviceConnector 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/ecg/EcgDevice.html" title="class in ru.neurotech.neurodevices.ecg">EcgDevice</a>> <a href="../../../../ru/neurotech/neurodevices/ecg/EcgDeviceConnector.html#deviceFound">deviceFound</a>
    Notifies when proper Callibri ECG device been found and initialized
    <a href="../../../../ru/neurotech/common/SubscribersNotifier.html" title="class in ru.neurotech.common">SubscribersNotifier</a><java.lang.Boolean> <a href="../../../../ru/neurotech/neurodevices/ecg/EcgDeviceConnector.html#scanStateChanged">scanStateChanged</a>
    Notifies about changing device scanning state
  • <a name="constructor.summary"> </a>

    Constructor Summary

    Constructors 
    Constructor and Description
    <a href="../../../../ru/neurotech/neurodevices/ecg/EcgDeviceConnector.html#EcgDeviceConnector-android.content.Context-">EcgDeviceConnector</a>(android.content.Context context)
    Creates new instance of MotionAssistantDeviceConnector class with current application context
  • <a name="method.summary"> </a>

    Method Summary

    All Methods <a href="javascript:show(2);">Instance Methods</a> <a href="javascript:show(8);">Concrete Methods</a> 
    Modifier and Type Method and Description
    <a href="../../../../ru/neurotech/neurodevices/ecg/EcgDevice.html" title="class in ru.neurotech.neurodevices.ecg">EcgDevice</a> <a href="../../../../ru/neurotech/neurodevices/ecg/EcgDeviceConnector.html#getDeviceByAddress-java.lang.String-">getDeviceByAddress</a>(java.lang.String address)
    Returns object, representing device with specified address It is not guaranteed, that this device is currently available
    void <a href="../../../../ru/neurotech/neurodevices/ecg/EcgDeviceConnector.html#shutdown--">shutdown</a>()
    Ends all operations with device searching and frees all resources
    void <a href="../../../../ru/neurotech/neurodevices/ecg/EcgDeviceConnector.html#startScan-int-">startScan</a>(int timeout)
    Starts searching for Callibri devices suitable for ECG tests
    void <a href="../../../../ru/neurotech/neurodevices/ecg/EcgDeviceConnector.html#stopScan--">stopScan</a>()
    Stops device searching
    • <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

</li> </ul> </div>

    • <a name="field.detail"> </a>

      Field Detail

      <a name="deviceFound"> </a>

      • deviceFound

        public final <a href="../../../../ru/neurotech/common/SubscribersNotifier.html" title="class in ru.neurotech.common">SubscribersNotifier</a><<a href="../../../../ru/neurotech/neurodevices/ecg/EcgDevice.html" title="class in ru.neurotech.neurodevices.ecg">EcgDevice</a>> deviceFound
        Notifies when proper Callibri ECG device been found and initialized

      <a name="scanStateChanged"> </a>

      • scanStateChanged

        public final <a href="../../../../ru/neurotech/common/SubscribersNotifier.html" title="class in ru.neurotech.common">SubscribersNotifier</a><java.lang.Boolean> scanStateChanged
        Notifies about changing device scanning state
    • <a name="constructor.detail"> </a>

      Constructor Detail

      <a name="EcgDeviceConnector-android.content.Context-"> </a>

      • EcgDeviceConnector

        public EcgDeviceConnector(android.content.Context context)
        Creates new instance of MotionAssistantDeviceConnector class with current application context
        Parameters:
        context - Application context
    • <a name="method.detail"> </a>

      Method Detail

      <a name="startScan-int-"> </a>

      • startScan

        public void startScan(int timeout)
        Starts searching for Callibri devices suitable for ECG tests
        Parameters:
        timeout - Scan time. Zero for infinity

      <a name="stopScan--"> </a>

      • stopScan

        public void stopScan()
        Stops device searching

      <a name="shutdown--"> </a>

      • shutdown

        public void shutdown()
        Ends all operations with device searching and frees all resources

      <a name="getDeviceByAddress-java.lang.String-"> </a>

      • getDeviceByAddress

        public <a href="../../../../ru/neurotech/neurodevices/ecg/EcgDevice.html" title="class in ru.neurotech.neurodevices.ecg">EcgDevice</a> getDeviceByAddress(java.lang.String address)
        Returns object, representing device with specified address It is not guaranteed, that this device is currently available
        Parameters:
        address - BTLE device address
        Returns:
        EcgDevice object

</div>