![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <BlueZBluetoothDeviceManager.h>
Public Member Functions | |
virtual | ~BlueZBluetoothDeviceManager () override |
BluetoothDeviceManagerInterface 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 |
![]() | |
virtual | ~BluetoothDeviceManagerInterface ()=default |
Static Public Member Functions | |
static std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface > | createBluetoothDeviceManagerInterface (std::shared_ptr< avsCommon::utils::bluetooth::BluetoothEventBus > eventBus) |
static std::unique_ptr< BlueZBluetoothDeviceManager > | create (std::shared_ptr< avsCommon::utils::bluetooth::BluetoothEventBus > eventBus) |
BlueZ implementation of BluetoothDeviceManagerInterface
. This class is required to allow only one instance of BluetoothDeviceManagerInterface
in the SDK.
|
overridevirtual |
|
static |
Factory method to create a class.
eventBus | BluethoothEvent typed EventBus to be used for event routing. |
|
static |
Factory method to create a BluetoothDeviceManagerInterface
.
eventBus | BluetoothEvent typed EventBus to be used for event routing. |
BluetoothDeviceManagerInterface
on success, nullptr otherwise.
|
overridevirtual |
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.
|
overridevirtual |
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.
|
overridevirtual |
Get BluetoothHostControllerInterface
instance
BluetoothHostControllerInterface
instance Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0