![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <TemplateRuntimeFactory.h>
Static Public Member Functions | |
static avsCommon::utils::Optional< TemplateRuntimeAgentData > | create (const std::shared_ptr< avsCommon::sdkInterfaces::RenderPlayerInfoCardsProviderRegistrarInterface > &renderPlayerInfoCardsProviderRegistrar, const std::shared_ptr< avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > &exceptionSender, const std::shared_ptr< avsCommon::sdkInterfaces::endpoints::EndpointCapabilitiesRegistrarInterface > &endpointCapabilitiesRegistrar) |
Creates template runtime capability agent. More... | |
This factory can be used to create a TemplateRuntimeFactory object which could be a parameter for Capability Agent construction.
|
static |
Creates template runtime capability agent.
Method creates a component that advertises template runtime capability. The component is responsible for handling directives to render a template card and a music player.
renderPlayerInfoCardsProviderRegistrar | The object with which to register this provider for playerInfo cards. |
endpointCapabilitiesRegistrar | The EndpointCapabilitiesRegistrarInterface for the default endpoint. |
exceptionSender | Object used to send exceptions. |
Optional
object containing an instance of TemplateRuntimeAgentData
object if successful. AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0