AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::sampleApplications::ipcServerSampleApp::communication::MessageListenerInterface Class Referenceabstract

#include <MessageListenerInterface.h>

Inheritance diagram for alexaClientSDK::sampleApplications::ipcServerSampleApp::communication::MessageListenerInterface:
Inheritance graph
[legend]

Public Member Functions

virtual void onMessage (const std::string &jsonMessage)=0
 

Detailed Description

An interface that listens to incoming messages from arbitrary sources

Member Function Documentation

◆ onMessage()

virtual void alexaClientSDK::sampleApplications::ipcServerSampleApp::communication::MessageListenerInterface::onMessage ( const std::string &  jsonMessage)
pure virtual

Called when a new message is available on the arbitrary source channel

Note
Blocking in this handler will block delivery of further messages.
Parameters
jsonMessagean arbitrary string

Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIClient.


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