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

Public Member Functions

 MOCK_METHOD1 (buttonPressed, void(PlaybackButton))
 
 MOCK_METHOD2 (togglePressed, void(PlaybackToggle, bool))
 
 MOCK_METHOD1 (setHandler, void(std::shared_ptr< PlaybackHandlerInterface >))
 
 MOCK_METHOD2 (setHandler, void(std::shared_ptr< PlaybackHandlerInterface >, std::shared_ptr< LocalPlaybackHandlerInterface >))
 
 MOCK_METHOD0 (switchToDefaultHandler, void())
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::PlaybackRouterInterface
virtual ~PlaybackRouterInterface ()=default
 
virtual void buttonPressed (avsCommon::avs::PlaybackButton button)=0
 
virtual void togglePressed (avsCommon::avs::PlaybackToggle toggle, bool action)=0
 
virtual void setHandler (std::shared_ptr< PlaybackHandlerInterface > handler, std::shared_ptr< LocalPlaybackHandlerInterface > localHandler=nullptr)=0
 
virtual void switchToDefaultHandler ()=0
 
virtual void useDefaultHandlerWith (std::shared_ptr< LocalPlaybackHandlerInterface > localHandler)
 
virtual bool localOperation (LocalPlaybackHandlerInterface::PlaybackOperation op)
 
virtual bool localSeekTo (std::chrono::milliseconds location, bool fromStart)
 

Member Function Documentation

◆ MOCK_METHOD0()

alexaClientSDK::acsdkBluetooth::test::MockPlaybackRouter::MOCK_METHOD0 ( switchToDefaultHandler  ,
void()   
)

◆ MOCK_METHOD1() [1/2]

alexaClientSDK::acsdkBluetooth::test::MockPlaybackRouter::MOCK_METHOD1 ( buttonPressed  ,
void(PlaybackButton  
)

◆ MOCK_METHOD1() [2/2]

alexaClientSDK::acsdkBluetooth::test::MockPlaybackRouter::MOCK_METHOD1 ( setHandler  ,
void(std::shared_ptr< PlaybackHandlerInterface >)   
)

◆ MOCK_METHOD2() [1/2]

alexaClientSDK::acsdkBluetooth::test::MockPlaybackRouter::MOCK_METHOD2 ( togglePressed  ,
void(PlaybackToggle, bool)   
)

◆ MOCK_METHOD2() [2/2]

alexaClientSDK::acsdkBluetooth::test::MockPlaybackRouter::MOCK_METHOD2 ( setHandler  ,
void(std::shared_ptr< PlaybackHandlerInterface >, std::shared_ptr< LocalPlaybackHandlerInterface >)   
)

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

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