![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MessageObserverInterface.h>
Public Member Functions | |
virtual | ~MessageObserverInterface ()=default |
virtual void | receive (const std::string &contextId, const std::string &message)=0 |
This class allows a client to receive messages from AVS.
|
virtualdefault |
Destructor.
|
pure virtual |
A function that a client must implement to receive Messages from AVS.
contextId | The context for the message, which in this case reflects the logical HTTP/2 stream the message arrived on. |
message | The AVS message that has been received. |
Implemented in alexaClientSDK::diagnostics::DeviceProtocolTracer, alexaClientSDK::adsl::MessageInterpreter, and alexaClientSDK::avsCommon::utils::TestableMessageObserver.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0