AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <TestableConsumer.h>
Public Member Functions | |
void | setMessageObserver (std::shared_ptr< avsCommon::sdkInterfaces::MessageObserverInterface > observer) |
void | consumeMessage (const std::string &contextId, const std::string &message) override |
Simple implementation of the ACL MessageConsumerInterface, which we can use to satisfy other ACL constructors.
|
inlineoverridevirtual |
Called when a message has been received from AVS.
contextId | The context id for the current message. |
message | The AVS message in string representation. |
Implements alexaClientSDK::acl::MessageConsumerInterface.
|
inline |
Constructor.
observer | An observer which will receive any Messages this object receives through consumeMessage. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0