AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <BlueZA2DPSource.h>
Public Member Functions | |
A2DPSourceInterface functions. | |
std::shared_ptr< avsCommon::utils::bluetooth::FormattedAudioStreamAdapter > | getSourceStream () override |
BluetoothServiceInterface functions. | |
std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::services::SDPRecordInterface > | getRecord () override |
void | setup () override |
Called for any necessary setup of the service. More... | |
void | cleanup () override |
Called for any necessary cleanup of the service. More... | |
Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::A2DPSourceInterface | |
virtual | ~A2DPSourceInterface ()=default |
Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::BluetoothServiceInterface | |
virtual | ~BluetoothServiceInterface ()=default |
Destructor. More... | |
Static Public Member Functions | |
static std::shared_ptr< BlueZA2DPSource > | create (std::shared_ptr< BlueZDeviceManager > deviceManager) |
Additional Inherited Members | |
Static Public Attributes inherited from alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::A2DPSourceInterface | |
static constexpr const char * | UUID = "0000110a-0000-1000-8000-00805f9b34fb" |
The Service UUID. More... | |
static constexpr const char * | NAME = "AudioSource" |
The Service Name. More... | |
BlueZ implementation of A2DPSourceInterface
interface
|
overridevirtual |
Called for any necessary cleanup of the service.
Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::BluetoothServiceInterface.
|
static |
Factory method to create a new instance of BlueZA2DPSource
deviceManager | A BlueZDeviceManager this instance belongs to |
BlueZA2DPSource
, nullptr if there was an error creating it.
|
overridevirtual |
Returns an SDPRecord for the service.
SDPRecordInterface
for the service. Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::BluetoothServiceInterface.
|
overridevirtual |
Returns the stream containing the decoded raw PCM data sent by the connected device.
FormattedAudioStreamAdapter
object to be consumed. Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::A2DPSourceInterface.
|
overridevirtual |
Called for any necessary setup of the service.
Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::BluetoothServiceInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0