![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Public Types | |
using | SetPowerStateResult = std::pair< AlexaResponseType, std::string > |
using | GetPowerStateResult = std::pair< AlexaResponseType, avsCommon::utils::Optional< PowerState > > |
![]() | |
using | PowerState = avsCommon::sdkInterfaces::powerController::PowerControllerObserverInterface::PowerState |
Public Member Functions | |
MOCK_METHOD2 (setPowerState, SetPowerStateResult(const bool state, const AlexaStateChangeCauseType cause)) | |
MOCK_METHOD0 (getPowerState, GetPowerStateResult()) | |
MOCK_METHOD1 (addObserver, bool(std::shared_ptr< PowerControllerObserverInterface >)) | |
MOCK_METHOD1 (removeObserver, void(const std::shared_ptr< PowerControllerObserverInterface > &)) | |
![]() | |
virtual | ~PowerControllerInterface ()=default |
virtual std::pair< avsCommon::avs::AlexaResponseType, std::string > | setPowerState (bool powerState, AlexaStateChangeCauseType cause)=0 |
virtual std::pair< avsCommon::avs::AlexaResponseType, utils::Optional< PowerState > > | getPowerState ()=0 |
virtual bool | addObserver (std::shared_ptr< PowerControllerObserverInterface > observer)=0 |
virtual void | removeObserver (const std::shared_ptr< PowerControllerObserverInterface > &observer)=0 |
using alexaClientSDK::capabilityAgents::powerController::test::MockPowerControllerInterface::GetPowerStateResult = std::pair<AlexaResponseType, avsCommon::utils::Optional<PowerState> > |
using alexaClientSDK::capabilityAgents::powerController::test::MockPowerControllerInterface::SetPowerStateResult = std::pair<AlexaResponseType, std::string> |
alexaClientSDK::capabilityAgents::powerController::test::MockPowerControllerInterface::MOCK_METHOD0 | ( | getPowerState | , |
GetPowerStateResult() | |||
) |
alexaClientSDK::capabilityAgents::powerController::test::MockPowerControllerInterface::MOCK_METHOD1 | ( | addObserver | , |
bool(std::shared_ptr< PowerControllerObserverInterface >) | |||
) |
alexaClientSDK::capabilityAgents::powerController::test::MockPowerControllerInterface::MOCK_METHOD1 | ( | removeObserver | , |
void(const std::shared_ptr< PowerControllerObserverInterface > &) | |||
) |
alexaClientSDK::capabilityAgents::powerController::test::MockPowerControllerInterface::MOCK_METHOD2 | ( | setPowerState | , |
SetPowerStateResult(const bool state, const AlexaStateChangeCauseType cause) | |||
) |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0