AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Namespaces | |
test | |
Classes | |
class | DefaultEndpointBuilder |
class | Endpoint |
class | EndpointBuilder |
class | EndpointRegistrationManager |
Functions | |
bool | isEndpointIdValid (const avsCommon::sdkInterfaces::endpoints::EndpointIdentifier &identifier) |
bool | isFriendlyNameValid (const std::string &name) |
bool | isDescriptionValid (const std::string &description) |
bool | isManufacturerNameValid (const std::string &manufacturerName) |
bool | isAdditionalAttributesValid (const avsCommon::avs::AVSDiscoveryEndpointAttributes::AdditionalAttributes &attributes) |
bool | areConnectionsValid (const std::vector< std::map< std::string, std::string >> &connections) |
bool | areCookiesValid (const std::map< std::string, std::string > &cookies) |
bool alexaClientSDK::endpoints::areConnectionsValid | ( | const std::vector< std::map< std::string, std::string >> & | connections | ) |
Returns whether the given connections values follows AVS specification.
connections | The list of maps of connections objects |
true
if valid; otherwise, return false
. bool alexaClientSDK::endpoints::areCookiesValid | ( | const std::map< std::string, std::string > & | cookies | ) |
Returns whether the given cookies follow the AVS specification.
cookies | The map of cookies name and values. |
true
if valid; otherwise, return false
. bool alexaClientSDK::endpoints::isAdditionalAttributesValid | ( | const avsCommon::avs::AVSDiscoveryEndpointAttributes::AdditionalAttributes & | attributes | ) |
Returns whether the given attributes follows AVS specification.
See format specification here:
attributes | The attributes to be validated. |
true
if all attributes are valid; otherwise, return false
. bool alexaClientSDK::endpoints::isDescriptionValid | ( | const std::string & | description | ) |
Returns whether the given description follows AVS specification.
description | The description to be validated. |
true
if valid; otherwise, return false
. bool alexaClientSDK::endpoints::isEndpointIdValid | ( | const avsCommon::sdkInterfaces::endpoints::EndpointIdentifier & | identifier | ) |
Returns whether the given identifier follows AVS specification.
identifier | The identifier to be validated. |
true
if valid; otherwise, return false
. bool alexaClientSDK::endpoints::isFriendlyNameValid | ( | const std::string & | name | ) |
Returns whether the given name follows AVS specification.
name | The friendly name to be validated. |
true
if valid; otherwise, return false
. bool alexaClientSDK::endpoints::isManufacturerNameValid | ( | const std::string & | manufacturerName | ) |
Returns whether the given manufacturer name follows AVS specification.
manufacturerName | The manufacturer name to be validated. |
true
if valid; otherwise, return false
. AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0