Package | Description |
---|---|
com.neurosky.connection |
Modifier and Type | Method and Description |
---|---|
void |
TgStreamReader.setTgStreamHandler(TgStreamHandler cb)
Set the TgStreamHandler for TgStreamReader
|
Constructor and Description |
---|
TgStreamReader(BluetoothAdapter ba,
TgStreamHandler tgStreamHandler)
This method is used to connect NeuroSky's hardware with Android phone via Bluetooth, get the stream and parse the data.
|
TgStreamReader(BluetoothDevice mBluetoothDevice,
TgStreamHandler tgStreamHandler)
This method is used to connect NeuroSky's hardware with given BluetoothDevice
|
TgStreamReader(java.io.InputStream is,
TgStreamHandler tgStreamHandler)
This method is used to read back raw data from file and parse them.
|