![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <AlexaChannelControllerFactory.h>
Static Public Member Functions | |
static avsCommon::utils::Optional< ChannelControllerCapabilityAgentData > | create (const avsCommon::sdkInterfaces::endpoints::EndpointIdentifier &endpointId, const std::shared_ptr< alexaChannelControllerInterfaces::ChannelControllerInterface > &channelController, const std::shared_ptr< avsCommon::sdkInterfaces::ContextManagerInterface > &contextManager, const std::shared_ptr< avsCommon::sdkInterfaces::AlexaInterfaceMessageSenderInterface > &responseSender, const std::shared_ptr< avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > &exceptionSender, bool isProactivelyReported, bool isRetrievable) |
This factory can be used to create a AlexaChannelControllerFactory object which could be a parameter for Capability Agent construction.
|
static |
Creates a new ChannelController capability agent configuration.
endpointId | A endpoint to which this capability is associated. |
channelController | An interface that this object will use to perform the channel controller operations. |
contextManager | An interface to which this object will send property state updates. |
responseSender | An interface that this object will use to send the response to AVS. |
exceptionSender | An interface to report exceptions to AVS. |
isProactivelyReported | Whether the channel properties change is proactively reported to AVS in a change report. |
isRetrievable | Whether the channel properties can be retrieved when AVS sends a state report request to the endpoint. |
Optional
object containing an instance of ChannelControllerCapabilityAgentData
object if successful, otherwise an Optional
object with no valid value. AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0