AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <DirectiveHandlerResultInterface.h>
Public Member Functions | |
virtual | ~DirectiveHandlerResultInterface ()=default |
virtual void | setCompleted ()=0 |
virtual void | setFailed (const std::string &description)=0 |
Interface for indicating the result of a request to preHandle()
or handle()
an AVSDirective
.
Once one of the 'setter' methods have been called the handling of the AVSDirective
is finished and further calls to 'setter' methods should not be made.
|
virtualdefault |
Virtual destructor to ensure proper cleanup by derived types.
|
pure virtual |
Indicate that the handling of the AVSDirective
successfully ran to successful completion.
Implemented in alexaClientSDK::avsCommon::test::MockResult.
|
pure virtual |
Indicate that handling an AVSDirective
failed such that subsequent AVSDirectives
with the same DialogRequestId
should be cancelled.
description | A description, suitable for logging, that indicates the nature of the failure. |
Implemented in alexaClientSDK::avsCommon::test::MockResult.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0