AlexaClientSDK  1.22.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
CapabilitiesDelegateInterface.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_CAPABILITIESDELEGATEINTERFACE_H_
17 #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_CAPABILITIESDELEGATEINTERFACE_H_
18 
19 #include <memory>
20 #include <vector>
21 
30 
31 namespace alexaClientSDK {
32 namespace avsCommon {
33 namespace sdkInterfaces {
34 
43 public:
47  virtual ~CapabilitiesDelegateInterface() = default;
48 
62  virtual bool addOrUpdateEndpoint(
63  const avsCommon::avs::AVSDiscoveryEndpointAttributes& endpointAttributes,
64  const std::vector<avsCommon::avs::CapabilityConfiguration>& capabilities) = 0;
65 
79  virtual bool deleteEndpoint(
80  const avsCommon::avs::AVSDiscoveryEndpointAttributes& endpointAttributes,
81  const std::vector<avsCommon::avs::CapabilityConfiguration>& capabilities) = 0;
82 
90  virtual void addCapabilitiesObserver(
91  std::shared_ptr<avsCommon::sdkInterfaces::CapabilitiesObserverInterface> observer) = 0;
92 
98  virtual void removeCapabilitiesObserver(
99  std::shared_ptr<avsCommon::sdkInterfaces::CapabilitiesObserverInterface> observer) = 0;
100 
105  virtual void invalidateCapabilities() = 0;
106 
112  virtual void setMessageSender(
113  const std::shared_ptr<avsCommon::sdkInterfaces::MessageSenderInterface>& messageSender) = 0;
114 };
115 
116 } // namespace sdkInterfaces
117 } // namespace avsCommon
118 } // namespace alexaClientSDK
119 
120 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_CAPABILITIESDELEGATEINTERFACE_H_
AVSGatewayObserverInterface.h
alexaClientSDK::avsCommon::sdkInterfaces::AVSGatewayObserverInterface
Definition: AVSGatewayObserverInterface.h:28
alexaClientSDK::avsCommon::sdkInterfaces::ConnectionStatusObserverInterface
Definition: ConnectionStatusObserverInterface.h:31
alexaClientSDK::avsCommon::avs::AVSDiscoveryEndpointAttributes
Definition: AVSDiscoveryEndpointAttributes.h:41
alexaClientSDK::avsCommon::sdkInterfaces::CapabilitiesDelegateInterface::deleteEndpoint
virtual bool deleteEndpoint(const avsCommon::avs::AVSDiscoveryEndpointAttributes &endpointAttributes, const std::vector< avsCommon::avs::CapabilityConfiguration > &capabilities)=0
alexaClientSDK::avsCommon::sdkInterfaces::CapabilitiesDelegateInterface::addOrUpdateEndpoint
virtual bool addOrUpdateEndpoint(const avsCommon::avs::AVSDiscoveryEndpointAttributes &endpointAttributes, const std::vector< avsCommon::avs::CapabilityConfiguration > &capabilities)=0
alexaClientSDK::avsCommon::sdkInterfaces::AlexaEventProcessedObserverInterface
Definition: AlexaEventProcessedObserverInterface.h:28
AVSDiscoveryEndpointAttributes.h
alexaClientSDK::avsCommon::sdkInterfaces::CapabilitiesDelegateInterface::addCapabilitiesObserver
virtual void addCapabilitiesObserver(std::shared_ptr< avsCommon::sdkInterfaces::CapabilitiesObserverInterface > observer)=0
alexaClientSDK
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
alexaClientSDK::avsCommon::sdkInterfaces::CapabilitiesDelegateInterface::invalidateCapabilities
virtual void invalidateCapabilities()=0
AlexaEventProcessedObserverInterface.h
CapabilitiesObserverInterface.h
alexaClientSDK::avsCommon::sdkInterfaces::CapabilitiesDelegateInterface::~CapabilitiesDelegateInterface
virtual ~CapabilitiesDelegateInterface()=default
alexaClientSDK::avsCommon::sdkInterfaces::CapabilitiesDelegateInterface::removeCapabilitiesObserver
virtual void removeCapabilitiesObserver(std::shared_ptr< avsCommon::sdkInterfaces::CapabilitiesObserverInterface > observer)=0
ConnectionStatusObserverInterface.h
PostConnectOperationInterface.h
alexaClientSDK::avsCommon::sdkInterfaces::CapabilitiesDelegateInterface
Definition: CapabilitiesDelegateInterface.h:39
CapabilityConfiguration.h
alexaClientSDK::avsCommon::sdkInterfaces::CapabilitiesDelegateInterface::setMessageSender
virtual void setMessageSender(const std::shared_ptr< avsCommon::sdkInterfaces::MessageSenderInterface > &messageSender)=0
CapabilityConfigurationInterface.h

AlexaClientSDK 1.22.0 - Copyright 2016-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0