![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MessagingInterface.h>
Public Member Functions | |
virtual void | writeMessage (const std::string &payload)=0 |
virtual void | setMessageListener (std::shared_ptr< MessageListenerInterface > messageListener)=0 |
Messaging interface for sending and receiving messages with arbitrary sinks
|
pure virtual |
Set a listener interface that is called when new messages are received
messageListener |
Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::communication::WebSocketServer.
|
pure virtual |
Write a message into a sink
payload | an arbitrary string |
Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIClient, and alexaClientSDK::sampleApplications::ipcServerSampleApp::communication::WebSocketServer.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0