16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_BLUETOOTH_BLUETOOTHDEVICEINTERFACE_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_BLUETOOTH_BLUETOOTHDEVICEINTERFACE_H_ 32 namespace sdkInterfaces {
80 return "DISCONNECTED";
107 static const int UNDEFINED_CLASS_VALUE = 0;
130 productId(productId),
131 classOfDevice(classOfDevice),
132 vendorDeviceSigId(vendorDeviceSigId),
133 vendorDeviceId(vendorDeviceId) {
166 virtual MetaData getDeviceMetaData() = 0;
174 virtual bool isPaired() = 0;
181 virtual std::future<bool> pair() = 0;
188 virtual std::future<bool> unpair() = 0;
196 virtual bool isConnected() = 0;
203 virtual std::future<bool> connect() = 0;
210 virtual std::future<bool> disconnect() = 0;
221 virtual bool setPairingPin(
const std::string& pin) = 0;
224 virtual std::vector<std::shared_ptr<services::SDPRecordInterface>> getSupportedServices() = 0;
232 virtual std::shared_ptr<services::BluetoothServiceInterface> getService(
std::string uuid) = 0;
244 virtual bool toggleServiceConnection(
246 std::shared_ptr<services::BluetoothServiceInterface> service) = 0;
254 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_BLUETOOTH_BLUETOOTHDEVICEINTERFACE_H_ std::ostream & operator<<(std::ostream &stream, const DeviceState state)
Definition: BluetoothDeviceInterface.h:95
::std::string string
Definition: gtest-port.h:1097
MediaStreamingState
An Enum representing the current state of the stream.
Definition: MediaStreamingState.h:25
Represents a Bluetooth Device.
Definition: BluetoothDeviceInterface.h:100
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
DeviceState
Definition: BluetoothDeviceInterface.h:48
std::string deviceStateToString(DeviceState state)
Definition: BluetoothDeviceInterface.h:69