AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MockBluetoothDeviceManager.h>
Public Member Functions | |
std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothHostControllerInterface > | getHostController () override |
std::list< std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceInterface > > | getDiscoveredDevices () override |
std::shared_ptr< avsCommon::utils::bluetooth::BluetoothEventBus > | getEventBus () override |
MockBluetoothDeviceManager (std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothHostControllerInterface > hostcontroller, std::list< std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceInterface >> discoveredDevices, std::shared_ptr< avsCommon::utils::bluetooth::BluetoothEventBus > eventBus) | |
Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface | |
virtual | ~BluetoothDeviceManagerInterface ()=default |
Protected Attributes | |
std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothHostControllerInterface > | m_hostController |
std::list< std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceInterface > > | m_discoveredDevices |
std::shared_ptr< avsCommon::utils::bluetooth::BluetoothEventBus > | m_eventBus |
Mock class that implements the BluetoothDeviceManagerInterface.
|
inline |
Constructor
hostcontroller | BluetoothHostController |
discoveredDevices | a list of discovered devices. |
eventBus | BluetoothEventBus . |
|
inlineoverridevirtual |
Get a list of devices the Host Controller is aware of. This list must contain:
i) Paired devices. ii) Devices found during the scanning process.
Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface.
|
inlineoverridevirtual |
Get the BluetoothEventBus
used by this device manager to post bluetooth related events.
BluetoothEventBus
object associated with the device manager. Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface.
|
inlineoverridevirtual |
Get BluetoothHostControllerInterface
instance
BluetoothHostControllerInterface
instance Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface.
|
protected |
|
protected |
|
protected |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0