![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MockDirectiveSequencer.h>
Public Attributes | |
std::string | m_dialogRequestId |
Additional Inherited Members | |
![]() | |
virtual void | doShutdown ()=0 |
The mock class that implements the DirectiveSequencerInterface.
|
inline |
|
inlinevirtual |
Returns the dialogRequestId
currently in use for Directive handling. This may be the empty string if Directives have either experienced errors, or have been cancelled.
Implements alexaClientSDK::avsCommon::sdkInterfaces::DirectiveSequencerInterface.
alexaClientSDK::adsl::test::MockDirectiveSequencer::MOCK_METHOD0 | ( | doShutdown | , |
void() | |||
) |
alexaClientSDK::adsl::test::MockDirectiveSequencer::MOCK_METHOD0 | ( | disable | , |
void() | |||
) |
alexaClientSDK::adsl::test::MockDirectiveSequencer::MOCK_METHOD0 | ( | enable | , |
void() | |||
) |
alexaClientSDK::adsl::test::MockDirectiveSequencer::MOCK_METHOD1 | ( | addDirectiveHandler | , |
bool(std::shared_ptr< avsCommon::sdkInterfaces::DirectiveHandlerInterface > handler) | |||
) |
alexaClientSDK::adsl::test::MockDirectiveSequencer::MOCK_METHOD1 | ( | removeDirectiveHandler | , |
bool(std::shared_ptr< avsCommon::sdkInterfaces::DirectiveHandlerInterface > handler) | |||
) |
alexaClientSDK::adsl::test::MockDirectiveSequencer::MOCK_METHOD1 | ( | onDirective | , |
bool(std::shared_ptr< avsCommon::avs::AVSDirective > directive) | |||
) |
|
inlinevirtual |
Set the current DialogRequestId
. This value can be set at any time. Setting this value causes a DirectiveSequencer
to drop unhandled AVSDirectives
with different (and non-empty) DialogRequestId values. AVSDirectives
with a differing dialogRequestId
value and whose pre-handling or handling is already in progress will be cancelled.
dialogRequestId | The new value for the current DialogRequestId . |
Implements alexaClientSDK::avsCommon::sdkInterfaces::DirectiveSequencerInterface.
std::string alexaClientSDK::adsl::test::MockDirectiveSequencer::m_dialogRequestId |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0