AlexaClientSDK  1.19.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::capabilityAgents::alerts::test::MockRenderer Class Reference
Inheritance diagram for alexaClientSDK::capabilityAgents::alerts::test::MockRenderer:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::capabilityAgents::alerts::test::MockRenderer:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD7 (start, void(std::shared_ptr< capabilityAgents::alerts::renderer::RendererObserverInterface > observer, std::function< std::pair< std::unique_ptr< std::istream >, const avsCommon::utils::MediaType >()>, bool, const std::vector< std::string > &, int, std::chrono::milliseconds, bool))
 
 MOCK_METHOD0 (stop, void())
 
 MOCK_METHOD7 (start, void(std::shared_ptr< capabilityAgents::alerts::renderer::RendererObserverInterface > observer, std::function< std::pair< std::unique_ptr< std::istream >, const avsCommon::utils::MediaType >()> audioFactory, bool alarmVolumeRampEnabled, const std::vector< std::string > &urls, int loopCount, std::chrono::milliseconds loopPause, bool startWithPause))
 
 MOCK_METHOD0 (stop, void())
 
void start (std::shared_ptr< capabilityAgents::alerts::renderer::RendererObserverInterface > observer, std::function< std::pair< std::unique_ptr< std::istream >, const avsCommon::utils::MediaType >()> audioFactory, bool alarmVolumeRampEnabled, const std::vector< std::string > &urls=std::vector< std::string >(), int loopCount=0, std::chrono::milliseconds loopPause=std::chrono::milliseconds{0}, bool startWithPause=false)
 
void stop ()
 
- Public Member Functions inherited from alexaClientSDK::capabilityAgents::alerts::renderer::RendererInterface
virtual ~RendererInterface ()=default
 
virtual void start (std::shared_ptr< capabilityAgents::alerts::renderer::RendererObserverInterface > observer, std::function< std::pair< std::unique_ptr< std::istream >, const avsCommon::utils::MediaType >()> audioFactory, bool volumeRampEnabled, const std::vector< std::string > &urls=std::vector< std::string >(), int loopCount=0, std::chrono::milliseconds loopPause=std::chrono::milliseconds{0}, bool startWithPause=false)=0
 

Detailed Description

Mock of RendererInterface.

Member Function Documentation

◆ MOCK_METHOD0() [1/2]

alexaClientSDK::capabilityAgents::alerts::test::MockRenderer::MOCK_METHOD0 ( stop  ,
void()   
)

◆ MOCK_METHOD0() [2/2]

alexaClientSDK::capabilityAgents::alerts::test::MockRenderer::MOCK_METHOD0 ( stop  ,
void()   
)

◆ MOCK_METHOD7() [1/2]

alexaClientSDK::capabilityAgents::alerts::test::MockRenderer::MOCK_METHOD7 ( start  ,
void(std::shared_ptr< capabilityAgents::alerts::renderer::RendererObserverInterface > observer, std::function< std::pair< std::unique_ptr< std::istream >, const avsCommon::utils::MediaType >()> audioFactory, bool alarmVolumeRampEnabled, const std::vector< std::string > &urls, int loopCount, std::chrono::milliseconds loopPause, bool startWithPause)   
)

◆ MOCK_METHOD7() [2/2]

alexaClientSDK::capabilityAgents::alerts::test::MockRenderer::MOCK_METHOD7 ( start  ,
void(std::shared_ptr< capabilityAgents::alerts::renderer::RendererObserverInterface > observer, std::function< std::pair< std::unique_ptr< std::istream >, const avsCommon::utils::MediaType >()>, bool, const std::vector< std::string > &, int, std::chrono::milliseconds, bool)   
)

◆ start()

void alexaClientSDK::capabilityAgents::alerts::test::MockRenderer::start ( std::shared_ptr< capabilityAgents::alerts::renderer::RendererObserverInterface observer,
std::function< std::pair< std::unique_ptr< std::istream >, const avsCommon::utils::MediaType >()>  audioFactory,
bool  alarmVolumeRampEnabled,
const std::vector< std::string > &  urls = std::vector<std::string>(),
int  loopCount = 0,
std::chrono::milliseconds  loopPause = std::chrono::milliseconds{0},
bool  startWithPause = false 
)
inline

◆ stop()

void alexaClientSDK::capabilityAgents::alerts::test::MockRenderer::stop ( )
inlinevirtual

The documentation for this class was generated from the following files:

AlexaClientSDK 1.19.0 - Copyright 2016-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0