public class MetaWearBleService.LocalBinder
extends Binder
Constructor and Description |
---|
MetaWearBleService.LocalBinder() |
Modifier and Type | Method and Description |
---|---|
void |
clearCachedState(BluetoothDevice btDevice)
Removes cached data for a MetaWear board
|
void |
executeOnBackgroundThread()
Executes asynchronous tasks on a background thread.
|
void |
executeOnUiThread()
Executes asynchronous tasks on the UI thread
|
MetaWearBoard |
getMetaWearBoard(BluetoothDevice btDevice)
Instantiates a MetaWearBoard class
|
public MetaWearBoard getMetaWearBoard(BluetoothDevice btDevice)
btDevice
- BluetoothDevice object corresponding to the target MetaWear boardpublic void clearCachedState(BluetoothDevice btDevice)
btDevice
- BluetoothDevice object corresponding to the target MetaWear boardpublic void executeOnUiThread()
public void executeOnBackgroundThread()