AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::sampleApplications::common::EndpointCapabilitiesBuilder Class Reference

#include <EndpointCapabilitiesBuilder.h>

Inheritance diagram for alexaClientSDK::sampleApplications::common::EndpointCapabilitiesBuilder:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::sampleApplications::common::EndpointCapabilitiesBuilder:
Collaboration graph
[legend]

Public Member Functions

 EndpointCapabilitiesBuilder (std::shared_ptr< EndpointFocusAdapter > focusAdapter=nullptr)
 
std::shared_ptr< EndpointAlexaLauncherHandlergetAlexaLauncherHandler () const
 
@c EndpointCapabilitiesBuilderInterface methods.
std::pair< std::list< Capability >, std::list< std::shared_ptr< alexaClientSDK::avsCommon::utils::RequiresShutdown > > > buildCapabilities (const alexaClientSDK::avsCommon::sdkInterfaces::endpoints::EndpointIdentifier &endpointId, const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ContextManagerInterface > &contextManager, const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::AlexaInterfaceMessageSenderInterface > &responseSender, const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > &exceptionSender) override
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::endpoints::EndpointCapabilitiesBuilderInterface
virtual ~EndpointCapabilitiesBuilderInterface ()=default
 
virtual std::pair< std::list< Capability >, std::list< std::shared_ptr< avsCommon::utils::RequiresShutdown > > > buildCapabilities (const avsCommon::sdkInterfaces::endpoints::EndpointIdentifier &endpointId, const std::shared_ptr< avsCommon::sdkInterfaces::ContextManagerInterface > &contextManager, const std::shared_ptr< avsCommon::sdkInterfaces::AlexaInterfaceMessageSenderInterface > &responseSender, const std::shared_ptr< avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > &exceptionSender)=0
 

Detailed Description

An implementation of a EndpointCapabilitiesBuilderInterface.

Constructor & Destructor Documentation

◆ EndpointCapabilitiesBuilder()

alexaClientSDK::sampleApplications::common::EndpointCapabilitiesBuilder::EndpointCapabilitiesBuilder ( std::shared_ptr< EndpointFocusAdapter focusAdapter = nullptr)

Constructor.

Parameters
focusAdapterThe EndpointFocusAdapter to handle visual and audio focus. Set to nullptr by default.

Member Function Documentation

◆ buildCapabilities()

std::pair<std::list<Capability>, std::list<std::shared_ptr<alexaClientSDK::avsCommon::utils::RequiresShutdown> > > alexaClientSDK::sampleApplications::common::EndpointCapabilitiesBuilder::buildCapabilities ( const alexaClientSDK::avsCommon::sdkInterfaces::endpoints::EndpointIdentifier endpointId,
const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ContextManagerInterface > &  contextManager,
const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::AlexaInterfaceMessageSenderInterface > &  responseSender,
const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > &  exceptionSender 
)
override

◆ getAlexaLauncherHandler()

std::shared_ptr<EndpointAlexaLauncherHandler> alexaClientSDK::sampleApplications::common::EndpointCapabilitiesBuilder::getAlexaLauncherHandler ( ) const

Gets the Alexa launcher handler.

Returns
A shared pointer to the Alexa launcher hanlder.

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0