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

#include <DefaultChannelVolumeFactory.h>

Inheritance diagram for alexaClientSDK::capabilityAgents::speakerManager::DefaultChannelVolumeFactory:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::capabilityAgents::speakerManager::DefaultChannelVolumeFactory:
Collaboration graph
[legend]

Public Member Functions

virtual std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ChannelVolumeInterfacecreateChannelVolumeInterface (std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::SpeakerInterface > speaker, alexaClientSDK::avsCommon::sdkInterfaces::ChannelVolumeInterface::Type type, std::function< int8_t(int8_t)> volumeCurve) override
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface
virtual ~ChannelVolumeFactoryInterface ()=default
 

Static Public Member Functions

static std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ChannelVolumeFactoryInterfacecreateChannelVolumeFactoryInterface ()
 

Detailed Description

The DefaultChannelVolumeFactory provides a default implementation of ChannelVolumeFactoryInterface using the ChannelVolumeManager.

Member Function Documentation

◆ createChannelVolumeFactoryInterface()

std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface > alexaClientSDK::capabilityAgents::speakerManager::DefaultChannelVolumeFactory::createChannelVolumeFactoryInterface ( )
static

Creates a new ChannelVolumeFactoryInterface implementation.

Returns
A shared ptr to a new ChannelVolumeFactoryInterface.

◆ createChannelVolumeInterface()

std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ChannelVolumeInterface > alexaClientSDK::capabilityAgents::speakerManager::DefaultChannelVolumeFactory::createChannelVolumeInterface ( std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::SpeakerInterface speaker,
alexaClientSDK::avsCommon::sdkInterfaces::ChannelVolumeInterface::Type  type,
std::function< int8_t(int8_t)>  volumeCurve 
)
overridevirtual

ChannelVolumeFactoryInterface Functions.

Implements alexaClientSDK::avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface.


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

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