 |
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Go to the documentation of this file.
16 #ifndef ALEXA_CLIENT_SDK_CAPABILITIESDELEGATE_INCLUDE_CAPABILITIESDELEGATE_UTILS_DISCOVERYUTILS_H_
17 #define ALEXA_CLIENT_SDK_CAPABILITIESDELEGATE_INCLUDE_CAPABILITIESDELEGATE_UTILS_DISCOVERYUTILS_H_
28 namespace capabilitiesDelegate {
66 const std::string& firstEndpointConfigJson,
67 const std::string& secondEndpointConfigJson);
79 const std::vector<avsCommon::avs::CapabilityConfiguration>& capabilities);
90 const std::vector<std::string>& endpointConfigurations,
91 const std::string& authToken);
110 const std::vector<std::string>& endpointConfigurations,
111 const std::string& authToken);
117 #endif // ALEXA_CLIENT_SDK_CAPABILITIESDELEGATE_INCLUDE_CAPABILITIESDELEGATE_UTILS_DISCOVERYUTILS_H_
static constexpr int MAX_DISCOVERY_PAYLOAD_SIZE
Maximum size of the Discovery event (256 KB)
Definition: DiscoveryUtils.h:32
Definition: AVSDiscoveryEndpointAttributes.h:41
std::string getDeleteReportEndpointConfigJson(const std::string &endpointId)
Definition: DiscoveryUtils.cpp:376
std::string getEndpointConfigJson(const avsCommon::avs::AVSDiscoveryEndpointAttributes &endpointAttributes, const std::vector< avsCommon::avs::CapabilityConfiguration > &capabilities)
Definition: DiscoveryUtils.cpp:296
bool validateCapabilityConfiguration(const avsCommon::avs::CapabilityConfiguration &capabilityConfig)
Definition: DiscoveryUtils.cpp:222
bool validateEndpointAttributes(const avsCommon::avs::AVSDiscoveryEndpointAttributes &endpointAttributes)
Definition: DiscoveryUtils.cpp:256
std::string getDeleteReportEventJson(const std::vector< std::string > &endpointConfigurations, const std::string &authToken)
Definition: DiscoveryUtils.cpp:400
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
bool compareEndpointConfigurations(const std::string &firstEndpointConfigJson, const std::string &secondEndpointConfigJson)
Definition: DiscoveryUtils.cpp:280
static constexpr int MAX_DISCOVERY_HEADER_AND_SCOPE_SIZE
Maximum size of header and scope fields in the Discovery event (Choosing a sufficiently large size of...
Definition: DiscoveryUtils.h:35
static constexpr int MAX_ENDPOINTS_SIZE_IN_PAYLOAD
Maximum size of endpoint configurations in Event payload.
Definition: DiscoveryUtils.h:38
Definition: CapabilityConfiguration.h:42
std::pair< std::string, std::string > getAddOrUpdateReportEventJson(const std::vector< std::string > &endpointConfigurations, const std::string &authToken)
Definition: DiscoveryUtils.cpp:382
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0