AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Static Public Member Functions | List of all members
alexaClientSDK::capabilityAgents::system::SystemCapabilityProvider Class Reference

#include <SystemCapabilityProvider.h>

Inheritance diagram for alexaClientSDK::capabilityAgents::system::SystemCapabilityProvider:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::capabilityAgents::system::SystemCapabilityProvider:
Collaboration graph
[legend]

Public Member Functions

CapabilityConfigurationInterface Functions
std::unordered_set< std::shared_ptr< avsCommon::avs::CapabilityConfiguration > > getCapabilityConfigurations () override
 
LocaleAssetsObserverInterface Functions
void onLocaleAssetsChanged () override
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::CapabilityConfigurationInterface
virtual ~CapabilityConfigurationInterface ()=default
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::LocaleAssetsObserverInterface
virtual ~LocaleAssetsObserverInterface ()=default
 

Static Public Member Functions

static std::shared_ptr< SystemCapabilityProvidercreate (const std::shared_ptr< avsCommon::sdkInterfaces::LocaleAssetsManagerInterface > &localeAssetsManager, const std::shared_ptr< avsCommon::avs::CapabilityChangeNotifierInterface > &capabilityChangeNotifier)
 

Detailed Description

This class handles providing configuration for the System Capability agent, since a single class does not handle all of the capability agent's functionings.

Member Function Documentation

◆ create()

std::shared_ptr< SystemCapabilityProvider > alexaClientSDK::capabilityAgents::system::SystemCapabilityProvider::create ( const std::shared_ptr< avsCommon::sdkInterfaces::LocaleAssetsManagerInterface > &  localeAssetsManager,
const std::shared_ptr< avsCommon::avs::CapabilityChangeNotifierInterface > &  capabilityChangeNotifier 
)
static

Create an instance of SystemCapabilityProvider.

Parameters
localeAssetsManagerThe locale assets manager that provides supported locales.
capabilityChangeNotifierThe object with which to notify observers of SystemCapabilityProvider capability configurations change.

◆ getCapabilityConfigurations()

std::unordered_set< std::shared_ptr< avsCommon::avs::CapabilityConfiguration > > alexaClientSDK::capabilityAgents::system::SystemCapabilityProvider::getCapabilityConfigurations ( )
overridevirtual

Returns the configurations of the capability interfaces being implemented.

Returns
A set of CapabilityConfigurations

Implements alexaClientSDK::avsCommon::sdkInterfaces::CapabilityConfigurationInterface.

◆ onLocaleAssetsChanged()

void alexaClientSDK::capabilityAgents::system::SystemCapabilityProvider::onLocaleAssetsChanged ( )
overridevirtual

Used to notify the observer of locale assets(wakewords, locales) update.

Implements alexaClientSDK::avsCommon::sdkInterfaces::LocaleAssetsObserverInterface.


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

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