16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_POWERCONTROLLER_POWERCONTROLLERINTERFACE_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_POWERCONTROLLER_POWERCONTROLLERINTERFACE_H_ 26 namespace sdkInterfaces {
27 namespace powerController {
56 virtual std::pair<avsCommon::avs::AlexaResponseType, std::string>
setPowerState(
67 virtual std::pair<avsCommon::avs::AlexaResponseType, utils::Optional<PowerState>>
getPowerState() = 0;
80 virtual bool addObserver(std::shared_ptr<PowerControllerObserverInterface> observer) = 0;
87 virtual void removeObserver(
const std::shared_ptr<PowerControllerObserverInterface>& observer) = 0;
95 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_POWERCONTROLLER_POWERCONTROLLERINTERFACE_H_
virtual void removeObserver(const std::shared_ptr< PowerControllerObserverInterface > &observer)=0
virtual ~PowerControllerInterface()=default
AlexaStateChangeCauseType
Definition: AlexaStateChangeCauseType.h:28
virtual std::pair< avsCommon::avs::AlexaResponseType, std::string > setPowerState(bool powerState, AlexaStateChangeCauseType cause)=0
virtual bool addObserver(std::shared_ptr< PowerControllerObserverInterface > observer)=0
virtual std::pair< avsCommon::avs::AlexaResponseType, utils::Optional< PowerState > > getPowerState()=0
Definition: PowerControllerObserverInterface.h:38
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: PowerControllerInterface.h:37