![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <PowerControllerObserverInterface.h>

Classes | |
| struct | PowerState |
Public Member Functions | |
| virtual | ~PowerControllerObserverInterface ()=default |
| virtual void | onPowerStateChanged (const PowerState &powerState, AlexaStateChangeCauseType cause)=0 |
This interface is used to observe changes to the power state property of an endpoint that are caused by the PowerControllerInteface.
|
virtualdefault |
Destructor.
|
pure virtual |
Notifies the change in the power state property of the endpoint.
| powerState | The power state specified using PowerState. |
| cause | The cause for this change specified using AlexaStateChangeCauseType. |
Implemented in alexaClientSDK::diagnostics::DevicePropertyAggregator, and alexaClientSDK::capabilityAgents::powerController::PowerControllerCapabilityAgent.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0