![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <AlexaPresentationFeatureClient.h>
Static Public Member Functions | |
static std::unique_ptr< AlexaPresentationFeatureClient > | create (std::string aplVersion, std::shared_ptr< aplCapabilityCommonInterfaces::VisualStateProviderInterface > stateProviderInterface, const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > &exceptionSender, const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::AVSConnectionManagerInterface > &connectionManager, const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ContextManagerInterface > &contextManager, const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface > &endpointBuilder, const std::shared_ptr< alexaClientSDK::avsCommon::utils::metrics::MetricRecorderInterface > &metricRecorder, const std::shared_ptr< sdkClient::SDKClientRegistry > &sdkClientRegistry) |
Additional Inherited Members |
The AlexaPresentationFeatureClient
is a Feature Client that adds support for APL directives through the use of Alexa.Presentation
, Alexa.Presentation.APL
components. It is recommended that the AlexaPresentationFeatureClientBuilder
is used in combination with the SDKClientBuilder
to construct this Feature Client.
alexaClientSDK::featureClient::AlexaPresentationFeatureClient::~AlexaPresentationFeatureClient | ( | ) |
Destructor.
void alexaClientSDK::featureClient::AlexaPresentationFeatureClient::addAPLCapabilityAgentObserver | ( | std::weak_ptr< aplCapabilityCommonInterfaces::APLCapabilityAgentObserverInterface > | observer | ) |
Adds an observer to be notified of APL capability agent changes.
observer | The APLCapabilityAgentObserverInterface to add; duplicate or null pointers will be ignored. |
|
override |
FeatureClientInterface
functions
|
static |
Create the AlexaPresentationFeatureClient, this client must be provided to the ClientBuilder
or added to an existing SDKClientRegistry
aplVersion | The max supported APL Version |
stateProviderInterface | The visual state provider interface |
exceptionSender | Pointer to the ExceptionEncounteredSenderInterface |
connectionManager | Pointer to the AVSConnectionManagerInterface |
contextManager | Pointer to the ContextManagerInterface |
endpointBuilder | Pointer to the EndpointBuilderInterface |
metricRecorder | The MetricRecorderInterface - may be null if metrics are not required |
sdkClientRegistry | Pointer to the SDKClientRegistry - may be null if not using the SDKClientRegistry |
|
overridevirtual |
FeatureClientInterface
functions
Implements alexaClientSDK::avsCommon::utils::RequiresShutdown.
std::shared_ptr<alexaPresentationInterfaces::AlexaPresentationCapabilityAgentInterface> alexaClientSDK::featureClient::AlexaPresentationFeatureClient::getAlexaPresentationCapabilityAgent | ( | ) | const |
Get a reference to the AlexaPresentationCapabilityAgentInterface
which is used to communicate with the Alexa.Presentation capability agent.
AlexaPresentationCapabilityAgentInterface
std::shared_ptr<aplCapabilityCommonInterfaces::APLCapabilityAgentInterface> alexaClientSDK::featureClient::AlexaPresentationFeatureClient::getAPLCapabilityAgent | ( | ) | const |
Get a reference to the APLCapabilityAgentInterface
which is used to communicate with the APL capability agent.
APLCapabilityAgentInterface
void alexaClientSDK::featureClient::AlexaPresentationFeatureClient::removeAPLCapabilityAgentObserver | ( | std::weak_ptr< aplCapabilityCommonInterfaces::APLCapabilityAgentObserverInterface > | observer | ) |
Removes an observer to be notified of APL capability agent changes.
observer | The APLCapabilityAgentObserverInterface to remove, no action will be taken if observer does not exist. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0