16 #ifndef ACSDK_ALEXACHANNELCONTROLLERINTERFACES_CHANNELCONTROLLERINTERFACE_H_ 17 #define ACSDK_ALEXACHANNELCONTROLLERINTERFACES_CHANNELCONTROLLERINTERFACE_H_ 26 namespace alexaChannelControllerInterfaces {
97 virtual Response change(std::unique_ptr<alexaChannelControllerTypes::Channel> channel) = 0;
128 virtual std::unique_ptr<alexaChannelControllerTypes::Channel>
getCurrentChannel() = 0;
142 virtual bool addObserver(std::weak_ptr<ChannelControllerObserverInterface> observer) = 0;
149 virtual void removeObserver(std::weak_ptr<ChannelControllerObserverInterface> observer) = 0;
155 #endif // ACSDK_ALEXACHANNELCONTROLLERINTERFACES_CHANNELCONTROLLERINTERFACE_H_ virtual ~ChannelControllerInterface()=default
virtual Response change(std::unique_ptr< alexaChannelControllerTypes::Channel > channel)=0
Indicates that an error occurred that can't be described by one of the other error types...
virtual std::unique_ptr< alexaChannelControllerTypes::Channel > getCurrentChannel()=0
::std::string string
Definition: gtest-port.h:1097
ChannelController Request was handled successfully.
Indicates the content does not allow the ChannelController action requested.
Response()
Definition: ChannelControllerInterface.h:64
virtual Response incrementChannel()=0
virtual Response decrementChannel()=0
Definition: ChannelControllerInterface.h:34
The number of allowed failed attempts to perform a ChannelController action has been exceeded...
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
std::string errorMessage
Definition: ChannelControllerInterface.h:79
Indicates the user is not subscribed to the content for a channel.
virtual bool addObserver(std::weak_ptr< ChannelControllerObserverInterface > observer)=0
Definition: ChannelControllerInterface.h:39
Type
Definition: ChannelControllerInterface.h:43
Type type
Response type for ChannelController handler responses.
Definition: ChannelControllerInterface.h:72
virtual void removeObserver(std::weak_ptr< ChannelControllerObserverInterface > observer)=0
const T & move(const T &t)
Definition: gtest-port.h:1317
Indicates the endpoint is unreachable or offline.