AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <PlaybackMessageRequest.h>
Public Member Functions | |
PlaybackMessageRequest (const PlaybackCommand &command, const std::string &jsonContent, std::shared_ptr< PlaybackController > playbackController) | |
MessageRequest functions. | |
void | sendCompleted (avsCommon::sdkInterfaces::MessageRequestObserverInterface::Status status) override |
Additional Inherited Members |
This class implements MessageRequests
to alert observers upon completion of the message.
alexaClientSDK::capabilityAgents::playbackController::PlaybackMessageRequest::PlaybackMessageRequest | ( | const PlaybackCommand & | command, |
const std::string & | jsonContent, | ||
std::shared_ptr< PlaybackController > | playbackController | ||
) |
Construct a MessageRequest
while binding it to a PlaybackController
and a Button
.
button | The Button pressed. |
jsonContent | The JSON content to be sent to AVS. |
playbackController | A reference to a PlaybackController so that it can be notified when onSendCompleted is invoked. |
|
overridevirtual |
This is called once the send request has completed. The status parameter indicates success or failure.
status | Whether the send request succeeded or failed. |
Reimplemented from alexaClientSDK::avsCommon::avs::MessageRequest.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0