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::utils::bluetooth::FormattedAudioStreamAdapterListener Class Referenceabstract

#include <FormattedAudioStreamAdapterListener.h>

Inheritance diagram for alexaClientSDK::avsCommon::utils::bluetooth::FormattedAudioStreamAdapterListener:
Inheritance graph
[legend]

Public Member Functions

virtual void onFormattedAudioStreamAdapterData (avsCommon::utils::AudioFormat audioFormat, const unsigned char *buffer, size_t size)=0
 
virtual ~FormattedAudioStreamAdapterListener ()=default
 

Detailed Description

Interface to be implemented by class listening for data from FormattedAudioStreamAdapter

Constructor & Destructor Documentation

◆ ~FormattedAudioStreamAdapterListener()

virtual alexaClientSDK::avsCommon::utils::bluetooth::FormattedAudioStreamAdapterListener::~FormattedAudioStreamAdapterListener ( )
virtualdefault

Destructor.

Member Function Documentation

◆ onFormattedAudioStreamAdapterData()

virtual void alexaClientSDK::avsCommon::utils::bluetooth::FormattedAudioStreamAdapterListener::onFormattedAudioStreamAdapterData ( avsCommon::utils::AudioFormat  audioFormat,
const unsigned char *  buffer,
size_t  size 
)
pure virtual

Method to receive data sent by FormattedAudioStreamAdapter

Parameters
audioFormatAudio format of the data sent
bufferPointer to the buffer containing the data
sizeLength of the data in the buffer in bytes.

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