16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_TOGGLECONTROLLER_TOGGLECONTROLLERINTERFACE_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_TOGGLECONTROLLER_TOGGLECONTROLLERINTERFACE_H_ 26 namespace sdkInterfaces {
27 namespace toggleController {
57 virtual std::pair<avsCommon::avs::AlexaResponseType, std::string>
setToggleState(
68 virtual std::pair<avsCommon::avs::AlexaResponseType, utils::Optional<ToggleState>>
getToggleState() = 0;
81 virtual bool addObserver(std::shared_ptr<ToggleControllerObserverInterface> observer) = 0;
88 virtual void removeObserver(
const std::shared_ptr<ToggleControllerObserverInterface>& observer) = 0;
96 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_TOGGLECONTROLLER_TOGGLECONTROLLERINTERFACE_H_
AlexaStateChangeCauseType
Definition: AlexaStateChangeCauseType.h:28
virtual ~ToggleControllerInterface()=default
virtual std::pair< avsCommon::avs::AlexaResponseType, utils::Optional< ToggleState > > getToggleState()=0
Definition: ToggleControllerInterface.h:38
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: ToggleControllerObserverInterface.h:36
virtual bool addObserver(std::shared_ptr< ToggleControllerObserverInterface > observer)=0
virtual void removeObserver(const std::shared_ptr< ToggleControllerObserverInterface > &observer)=0
virtual std::pair< avsCommon::avs::AlexaResponseType, std::string > setToggleState(bool state, AlexaStateChangeCauseType cause)=0