AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface Class Referenceabstract

#include <BluetoothDeviceManagerInterface.h>

Inheritance diagram for alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~BluetoothDeviceManagerInterface ()=default
 
virtual std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothHostControllerInterfacegetHostController ()=0
 
virtual std::list< std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceInterface > > getDiscoveredDevices ()=0
 
virtual std::shared_ptr< avsCommon::utils::bluetooth::BluetoothEventBusgetEventBus ()=0
 

Detailed Description

This component is a starting point of any platform specific implementation of bluetooth functionality. It is responsible for ownership of BluetoothDeviceInterface objects and BluetootHostController objects.

Constructor & Destructor Documentation

◆ ~BluetoothDeviceManagerInterface()

virtual alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface::~BluetoothDeviceManagerInterface ( )
virtualdefault

Destructor

Member Function Documentation

◆ getDiscoveredDevices()

virtual std::list<std::shared_ptr<avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceInterface> > alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface::getDiscoveredDevices ( )
pure virtual

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.

Implemented in alexaClientSDK::bluetoothImplementations::blueZ::BlueZDeviceManager, alexaClientSDK::bluetoothImplementations::blueZ::BlueZBluetoothDeviceManager, and alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceManager.

◆ getEventBus()

virtual std::shared_ptr<avsCommon::utils::bluetooth::BluetoothEventBus> alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface::getEventBus ( )
pure virtual

Get the BluetoothEventBus used by this device manager to post bluetooth related events.

Returns
A BluetoothEventBus object associated with the device manager.

Implemented in alexaClientSDK::bluetoothImplementations::blueZ::BlueZDeviceManager, alexaClientSDK::bluetoothImplementations::blueZ::BlueZBluetoothDeviceManager, and alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceManager.

◆ getHostController()

virtual std::shared_ptr<avsCommon::sdkInterfaces::bluetooth::BluetoothHostControllerInterface> alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface::getHostController ( )
pure virtual

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0