![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Typedefs | |
using | DirectiveRoutingRule = CapabilityTag |
Functions | |
DirectiveRoutingRule | routingRulePerDirective (const std::string &endpointId, const utils::Optional< std::string > &instance, const std::string &nameSpace, const std::string &name) |
DirectiveRoutingRule | routingRulePerNamespace (const std::string &endpointId, const utils::Optional< std::string > &instance, const std::string &nameSpace) |
DirectiveRoutingRule | routingRulePerInstance (const std::string &endpointId, const utils::Optional< std::string > &instance) |
DirectiveRoutingRule | routingRulePerNamespaceAnyInstance (const std::string &endpointId, const std::string &nameSpace) |
DirectiveRoutingRule | routingRulePerEndpoint (const std::string &endpointId) |
bool | isDirectiveRoutingRuleValid (const DirectiveRoutingRule &rule) |
using alexaClientSDK::avsCommon::avs::directiveRoutingRule::DirectiveRoutingRule = typedef CapabilityTag |
Alias used to define a directive routing rule. Routing rules may have wildcards to match any value in a given field.
The following rules will be accepted.
Note that we used '*' to represent wildcards.
bool alexaClientSDK::avsCommon::avs::directiveRoutingRule::isDirectiveRoutingRuleValid | ( | const DirectiveRoutingRule & | rule | ) |
Function used to validate that a directive routing rule is valid.
rule | The rule to validate. |
DirectiveRoutingRule alexaClientSDK::avsCommon::avs::directiveRoutingRule::routingRulePerDirective | ( | const std::string & | endpointId, |
const utils::Optional< std::string > & | instance, | ||
const std::string & | nameSpace, | ||
const std::string & | name | ||
) |
Function used to create a directive routing rule that matches one specific directive.
endpointId | The directive target endpoint identifier. |
instance | The directive instance if available. |
nameSpace | The directive namespace. |
name | The directive name. |
DirectiveRoutingRule alexaClientSDK::avsCommon::avs::directiveRoutingRule::routingRulePerEndpoint | ( | const std::string & | endpointId | ) |
Function used to create a directive routing rule that matches one specific directive.
endpointId | The directive target endpoint identifier. |
DirectiveRoutingRule alexaClientSDK::avsCommon::avs::directiveRoutingRule::routingRulePerInstance | ( | const std::string & | endpointId, |
const utils::Optional< std::string > & | instance | ||
) |
Function used to create a directive routing rule that matches one specific directive.
endpointId | The directive target endpoint identifier. |
instance | The directive instance if available. |
DirectiveRoutingRule alexaClientSDK::avsCommon::avs::directiveRoutingRule::routingRulePerNamespace | ( | const std::string & | endpointId, |
const utils::Optional< std::string > & | instance, | ||
const std::string & | nameSpace | ||
) |
Function used to create a directive routing rule that matches one specific directive.
endpointId | The directive target endpoint identifier. |
instance | The directive instance if available. |
nameSpace | The directive namespace. |
DirectiveRoutingRule alexaClientSDK::avsCommon::avs::directiveRoutingRule::routingRulePerNamespaceAnyInstance | ( | const std::string & | endpointId, |
const std::string & | nameSpace | ||
) |
Function used to create a directive routing rule that matches a specific namespace independently from their instance.
endpointId | The directive target endpoint identifier. |
nameSpace | The directive namespace. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0