AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::acsdkAlerts::test::TestMessageSender Class Reference
Inheritance diagram for alexaClientSDK::acsdkAlerts::test::TestMessageSender:
Inheritance graph
Collaboration diagram for alexaClientSDK::acsdkAlerts::test::TestMessageSender:
Collaboration graph

Public Member Functions

void sendMessage (std::shared_ptr< avsCommon::avs::MessageRequest > request) override
std::future< std::shared_ptr< avsCommon::avs::MessageRequest > > getNextMessage ()
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::MessageSenderInterface
virtual ~MessageSenderInterface ()=default
 Destructor. More...
virtual void sendMessage (std::shared_ptr< avs::MessageRequest > request)=0

Detailed Description

Test MessageSenderInterface implementation that allows tracking of messages sent.

Member Function Documentation

◆ getNextMessage()

std::future<std::shared_ptr<avsCommon::avs::MessageRequest> > alexaClientSDK::acsdkAlerts::test::TestMessageSender::getNextMessage ( )

Wait for next message to be sent using this object. The message sent is then returned to the caller.

The last message sent using this object.

◆ sendMessage()

void alexaClientSDK::acsdkAlerts::test::TestMessageSender::sendMessage ( std::shared_ptr< avsCommon::avs::MessageRequest request)

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0