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

#include <MessageConsumerInterface.h>

Inheritance diagram for alexaClientSDK::acl::MessageConsumerInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~MessageConsumerInterface ()=default
 
virtual void consumeMessage (const std::string &contextId, const std::string &message)=0
 

Detailed Description

An interface which allows a derived class to consume a Message from AVS.

Constructor & Destructor Documentation

◆ ~MessageConsumerInterface()

virtual alexaClientSDK::acl::MessageConsumerInterface::~MessageConsumerInterface ( )
virtualdefault

Destructor.

Member Function Documentation

◆ consumeMessage()

virtual void alexaClientSDK::acl::MessageConsumerInterface::consumeMessage ( const std::string &  contextId,
const std::string &  message 
)
pure virtual

Called when a message has been received from AVS.

Parameters
contextIdThe context id for the current message.
messageThe AVS message in string representation.

Implemented in alexaClientSDK::acl::MessageRouter, and alexaClientSDK::acl::test::TestableConsumer.


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