 |
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Go to the documentation of this file.
16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_PLAYBACKROUTERINTERFACE_H_
17 #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_PLAYBACKROUTERINTERFACE_H_
27 namespace sdkInterfaces {
66 std::shared_ptr<PlaybackHandlerInterface> handler,
67 std::shared_ptr<LocalPlaybackHandlerInterface> localHandler =
nullptr) = 0;
98 virtual bool localSeekTo(std::chrono::milliseconds location,
bool fromStart) {
107 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_PLAYBACKROUTERINTERFACE_H_
virtual void togglePressed(avsCommon::avs::PlaybackToggle toggle, bool action)=0
virtual bool localSeekTo(std::chrono::milliseconds location, bool fromStart)
Definition: PlaybackRouterInterface.h:98
virtual void useDefaultHandlerWith(std::shared_ptr< LocalPlaybackHandlerInterface > localHandler)
Definition: PlaybackRouterInterface.h:78
Definition: PlaybackRouterInterface.h:33
virtual void setHandler(std::shared_ptr< PlaybackHandlerInterface > handler, std::shared_ptr< LocalPlaybackHandlerInterface > localHandler=nullptr)=0
PlaybackOperation
Definition: LocalPlaybackHandlerInterface.h:40
virtual bool localOperation(LocalPlaybackHandlerInterface::PlaybackOperation op)
Definition: PlaybackRouterInterface.h:87
virtual ~PlaybackRouterInterface()=default
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual void buttonPressed(avsCommon::avs::PlaybackButton button)=0
PlaybackToggle
Definition: PlaybackButtons.h:46
PlaybackButton
Enumeration class for supported playback buttons.
Definition: PlaybackButtons.h:26
virtual void switchToDefaultHandler()=0
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0