BioRadio SDK - Java Android
1.1
|
This class is used to help with the searching and creation of BioRadioDevice objects
com.glneurotech.devices.bioradio.BioRadioDeviceManager.BioRadioDeviceManager | ( | AndroidTransportProvider | transportProvider | ) |
Constructor which takes an Android transport provider
transportProvider | Take an AndroidTransportProvider as parameter. |
BioRadioDevice com.glneurotech.devices.bioradio.BioRadioDeviceManager.createSpecificDevice | ( | DeviceTypeCode | deviceType, |
String | deviceId, | ||
HardwareLinkHandler | handler | ||
) |
Create specific device.
deviceType | Take a DeviceTypeCode for the device type. |
deviceId | Take a string for the deviceId parameter. |
handler | Take a HardwareLinkHandler for the handler parameter. |
final com.glneurotech.devices.bioradio.VirtualDeviceAdapter com.glneurotech.devices.bioradio.BioRadioDeviceManager.createVirtualDevice | ( | String | fileName | ) |
Creates a virtual device wrapper to allow reading data from a file recorded by the BioRadio to its internal memory.
The VirtualDeviceAdapter is a lightweight wrapper around the actual device instance, which allows a user to "feed" data in from the file and make it available on the device Signal instances. Typically, one will create an instance of VirtualDeviceAdapter and use it to loop through the data contained in the file until the end of the file is reached.
fileName | The full path to the file to be read |
final BluetoothDeviceInfo [] com.glneurotech.devices.bioradio.BioRadioDeviceManager.discoverBluetoothDevices | ( | Context | appContext | ) |
Performs a search for devices in the vicinity.
final void com.glneurotech.devices.bioradio.BioRadioDeviceManager.dispose | ( | ) |
Dispose
BioRadioDevice com.glneurotech.devices.bioradio.BioRadioDeviceManager.getBluetoothDevice | ( | long | macID | ) |
Attempt to connect to a BioRadio device using BlueTooth
macID | The mac ID of the device |
BioRadioDevice com.glneurotech.devices.bioradio.BioRadioDeviceManager.getBluetoothDevice | ( | String | macID | ) |
Attempt to connect to a BioRadio device using BlueTooth
macID | The mac ID of the device |
String com.glneurotech.devices.bioradio.BioRadioDeviceManager.getBlueToothDeviceNamePrefix | ( | ) |
Get bluetooth device name prefix