![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <ExceptionEncounteredSender.h>
Public Member Functions | |
void | sendExceptionEncountered (const std::string &unparsedDirective, avs::ExceptionErrorType error, const std::string &errorDescription) override |
![]() | |
virtual | ~ExceptionEncounteredSenderInterface ()=default |
Static Public Member Functions | |
static std::shared_ptr< avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > | createExceptionEncounteredSenderInterface (const std::shared_ptr< avsCommon::sdkInterfaces::MessageSenderInterface > &messageSender) |
static std::unique_ptr< ExceptionEncounteredSender > | create (std::shared_ptr< avsCommon::sdkInterfaces::MessageSenderInterface > messageSender) |
Class creates an ExceptionEncountered event and sends to AVS using MessageSenderInterface
.
|
static |
Creates a new ExceptionEncounteredSender
instance.
messageSender | The object to use for sending events. |
std::unique_ptr
to the new ExceptionEncounteredSender
instance.
|
static |
Creates a new ExceptionEncounteredSenderInterface
instance.
messageSender | The object to use for sending events. |
std::shared_ptr
to the new ExceptionEncounteredSenderInterface
instance.
|
overridevirtual |
This function asks the ExceptionEncounteredSender
to send a ExceptionEncountered event to AVS when the client is unable to execute a directive.
unparsedDirective | The directive which the client was unable to execute, must be sent to AVS |
error | The ExceptionErrorType to be sent to AVS |
errorDescription | The error details to be sent for logging and troubleshooting. |
Implements alexaClientSDK::avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0