42 #ifndef BLUETOOTH_ADAPTER_MANAGER_HPP_ 43 #define BLUETOOTH_ADAPTER_MANAGER_HPP_ 46 #include "../../util/error/kallisto_error.hpp" 54 class BluetoothAdapterManagerNative;
59 class BluetoothAdapterManager {
84 std::unique_ptr<BluetoothAdapterManagerNative> m_native_implementation;
109 const std::vector<BluetoothAdapter*>
getAdapters();
122 error::KallistoDetailedResult
registerListener(BluetoothAdapterManager::Listener& listener);
Definition: bluetooth_adapter.hpp:52
virtual void onAdapterDisconnected(BluetoothAdapter &adapter)=0
virtual void onAdapterConnected(BluetoothAdapter &adapter)=0
const std::vector< BluetoothAdapter * > getAdapters()
BluetoothAdapter * getAdapter(std::string id)
BluetoothAdapterManager()
static bool supportsLowEnergy()
void unregisterListener()
~BluetoothAdapterManager()
error::KallistoDetailedResult registerListener(BluetoothAdapterManager::Listener &listener)