public class BtLowEnergyManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
BtLowEnergyManager.BluetoothLEConnectionStatus |
static interface |
BtLowEnergyManager.BluetoothLEHandler |
Modifier and Type | Method and Description |
---|---|
void |
addExternalBtleHandler(BtLowEnergyManager.BluetoothLEHandler btleHandler)
Manages a bluetooth low energy connection.
|
java.util.List<android.bluetooth.BluetoothDevice> |
getConnected() |
static BtLowEnergyManager |
getInstance()
Retrieve the bluetooth low energy manager instance.
|
void |
removeExternalBtleHandler(BtLowEnergyManager.BluetoothLEHandler btleHandler)
Remove the BtleHandler from the external list of btleHandlers.
|
public static BtLowEnergyManager getInstance()
public void addExternalBtleHandler(BtLowEnergyManager.BluetoothLEHandler btleHandler)
btleHandler
- the handler for the btle device.public void removeExternalBtleHandler(BtLowEnergyManager.BluetoothLEHandler btleHandler)
btleHandler
- the btle handler.public java.util.List<android.bluetooth.BluetoothDevice> getConnected()