![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Mock class that implements the FocusManager. More...
#include <MockFocusManager.h>
Public Member Functions | |
MOCK_METHOD3 (acquireChannel, bool(const std::string &channelName, std::shared_ptr< avsCommon::sdkInterfaces::ChannelObserverInterface > channelObserver, const std::string &interfaceName)) | |
MOCK_METHOD2 (acquireChannel, bool(const std::string &channelName, std::shared_ptr< avsCommon::sdkInterfaces::FocusManagerInterface::Activity > channelActivity)) | |
MOCK_METHOD2 (releaseChannel, std::future< bool >(const std::string &channelName, std::shared_ptr< avsCommon::sdkInterfaces::ChannelObserverInterface > channelObserver)) | |
MOCK_METHOD0 (stopForegroundActivity, void()) | |
MOCK_METHOD1 (addObserver, void(const std::shared_ptr< avsCommon::sdkInterfaces::FocusManagerObserverInterface > &observer)) | |
MOCK_METHOD1 (removeObserver, void(const std::shared_ptr< avsCommon::sdkInterfaces::FocusManagerObserverInterface > &observer)) | |
MOCK_METHOD0 (stopAllActivities, void()) | |
MOCK_METHOD3 (modifyContentType, void(const std::string &, const std::string &, avsCommon::avs::ContentType)) | |
![]() | |
virtual | ~FocusManagerInterface ()=default |
Destructor. More... | |
virtual bool | acquireChannel (const std::string &channelName, std::shared_ptr< avsCommon::sdkInterfaces::ChannelObserverInterface > channelObserver, const std::string &interfaceName)=0 |
virtual bool | acquireChannel (const std::string &channelName, std::shared_ptr< avsCommon::sdkInterfaces::FocusManagerInterface::Activity > channelActivity)=0 |
virtual std::future< bool > | releaseChannel (const std::string &channelName, std::shared_ptr< avsCommon::sdkInterfaces::ChannelObserverInterface > channelObserver)=0 |
virtual void | stopForegroundActivity ()=0 |
virtual void | stopAllActivities ()=0 |
virtual void | addObserver (const std::shared_ptr< avsCommon::sdkInterfaces::FocusManagerObserverInterface > &observer)=0 |
virtual void | removeObserver (const std::shared_ptr< avsCommon::sdkInterfaces::FocusManagerObserverInterface > &observer)=0 |
virtual void | modifyContentType (const std::string &channelName, const std::string &interfaceName, avsCommon::avs::ContentType contentType)=0 |
Additional Inherited Members | |
![]() | |
static constexpr const char * | DIALOG_CHANNEL_NAME = "Dialog" |
The default Dialog Channel name. More... | |
static constexpr unsigned int | DIALOG_CHANNEL_PRIORITY = 100 |
The default dialog Channel priority. More... | |
static constexpr const char * | COMMUNICATIONS_CHANNEL_NAME = "Communications" |
The default Communications Channel name. More... | |
static constexpr unsigned int | COMMUNICATIONS_CHANNEL_PRIORITY = 150 |
The default Communications Channel priority. More... | |
static constexpr const char * | ALERT_CHANNEL_NAME = "Alert" |
The default Alert Channel name. More... | |
static constexpr unsigned int | ALERT_CHANNEL_PRIORITY = 200 |
The default Alert Channel priority. More... | |
static constexpr const char * | CONTENT_CHANNEL_NAME = "Content" |
The default Content Channel name. More... | |
static constexpr unsigned int | CONTENT_CHANNEL_PRIORITY = 300 |
The default Content Channel priority. More... | |
static constexpr const char * | VISUAL_CHANNEL_NAME = "Visual" |
The default Visual Channel name. More... | |
static constexpr unsigned int | VISUAL_CHANNEL_PRIORITY = 100 |
The default Visual Channel priority. More... | |
Mock class that implements the FocusManager.
alexaClientSDK::avsCommon::sdkInterfaces::test::MockFocusManager::MOCK_METHOD0 | ( | stopForegroundActivity | , |
void() | |||
) |
alexaClientSDK::avsCommon::sdkInterfaces::test::MockFocusManager::MOCK_METHOD0 | ( | stopAllActivities | , |
void() | |||
) |
alexaClientSDK::avsCommon::sdkInterfaces::test::MockFocusManager::MOCK_METHOD1 | ( | addObserver | , |
void(const std::shared_ptr< avsCommon::sdkInterfaces::FocusManagerObserverInterface > &observer) | |||
) |
alexaClientSDK::avsCommon::sdkInterfaces::test::MockFocusManager::MOCK_METHOD1 | ( | removeObserver | , |
void(const std::shared_ptr< avsCommon::sdkInterfaces::FocusManagerObserverInterface > &observer) | |||
) |
alexaClientSDK::avsCommon::sdkInterfaces::test::MockFocusManager::MOCK_METHOD2 | ( | acquireChannel | , |
bool(const std::string &channelName, std::shared_ptr< avsCommon::sdkInterfaces::FocusManagerInterface::Activity > channelActivity) | |||
) |
alexaClientSDK::avsCommon::sdkInterfaces::test::MockFocusManager::MOCK_METHOD2 | ( | releaseChannel | , |
std::future< bool > | const std::string &channelName, std::shared_ptr< avsCommon::sdkInterfaces::ChannelObserverInterface > channelObserver | ||
) |
alexaClientSDK::avsCommon::sdkInterfaces::test::MockFocusManager::MOCK_METHOD3 | ( | acquireChannel | , |
bool(const std::string &channelName, std::shared_ptr< avsCommon::sdkInterfaces::ChannelObserverInterface > channelObserver, const std::string &interfaceName) | |||
) |
alexaClientSDK::avsCommon::sdkInterfaces::test::MockFocusManager::MOCK_METHOD3 | ( | modifyContentType | , |
void(const std::string &, const std::string &, avsCommon::avs::ContentType) | |||
) |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0