AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MessageRouterObserverInterface.h>
Public Member Functions | |
virtual | ~MessageRouterObserverInterface ()=default |
virtual void | onConnectionStatusChanged (const avsCommon::sdkInterfaces::ConnectionStatusObserverInterface::Status status, const std::vector< avsCommon::sdkInterfaces::ConnectionStatusObserverInterface::EngineConnectionStatus > &engineStatuses)=0 |
virtual void | receive (const std::string &contextId, const std::string &message)=0 |
This interface class allows notifications from a MessageRouter object (or any derived class), while not adding to the observer's public interface. This is achieved by a friend relationship. The MessageRouterObserverInterface will be notified when either the connection status changes, or when a message arrives from AVS.
|
virtualdefault |
Destructor.
|
pure virtual |
This function will be called when the connection status changes.
status | The current status of the connection. |
engineStatuses | status of observed engine(s) |
|
pure virtual |
This function will be called when a Message arrives from AVS.
contextId | The contextId of the AVS message, which is used when acquiring attachments. |
message | The AVS message that has been received. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0