![]() |
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Namespaces | |
| test | |
Classes | |
| class | ChannelVolumeManager |
| class | DefaultChannelVolumeFactory |
| class | SpeakerManager |
| class | SpeakerManagerConfigHelper |
| class | SpeakerManagerMiscStorage |
| struct | SpeakerManagerStorageInterface |
| struct | SpeakerManagerStorageState |
Functions | |
| SpeakerManagerComponent | getComponent () |
| static const std::string | TAG ("ChannelVolumeManager") |
| template<class T > | |
| static bool | withinBounds (T value, T min, T max) |
| template<class T > | |
| static bool | withinBounds (T value, T min, T max) |
| static std::string | getSourceString (SpeakerManagerObserverInterface::Source source) |
| static void | submitMetric (const std::shared_ptr< MetricRecorderInterface > &metricRecorder, const std::string &eventName, int count) |
| static std::shared_ptr< avsCommon::avs::CapabilityConfiguration > | getSpeakerCapabilityConfiguration () |
| static const std::string | TAG ("SpeakerManagerMiscStorage") |
| String to identify log entries originating from this file. More... | |
Variables | |
| const std::string | NAMESPACE = "Speaker" |
| The Speaker interface namespace. More... | |
| const avsCommon::avs::NamespaceAndName | SET_VOLUME {NAMESPACE, "SetVolume"} |
The SetVolume directive identifier. More... | |
| const avsCommon::avs::NamespaceAndName | ADJUST_VOLUME {NAMESPACE, "AdjustVolume"} |
The AdjustVolume directive identifier. More... | |
| const avsCommon::avs::NamespaceAndName | SET_MUTE {NAMESPACE, "SetMute"} |
The SetMute directive directive identifier. More... | |
| const avsCommon::avs::NamespaceAndName | VOLUME_STATE {NAMESPACE, "VolumeState"} |
The Volume State for use with the context. More... | |
| const char | VOLUME_KEY [] = "volume" |
The Volume Key in AVS Directives and Events. More... | |
| const char | MUTE_KEY [] = "mute" |
The Mute Key. For directives. More... | |
| const char | MUTED_KEY [] = "muted" |
The Muted Key. For events. More... | |
| const std::string | VOLUME_CHANGED = "VolumeChanged" |
The VolumeChanged event key. More... | |
| const std::string | MUTE_CHANGED = "MuteChanged" |
The VolumeMute event. More... | |
| static const float | UPPER_VOLUME_CURVE_FRACTION = 0.40 |
| The fraction of maximum volume used for the upper threshold in the default volume curve. More... | |
| static const float | LOWER_VOLUME_CURVE_FRACTION = 0.20 |
| The fraction of maximum volume used for the lower threshold in the default volume curve. More... | |
| static const std::string | SPEAKER_CAPABILITY_INTERFACE_TYPE = "AlexaInterface" |
| static const std::string | SPEAKER_CAPABILITY_INTERFACE_NAME = "Speaker" |
| Speaker interface name. More... | |
| static const std::string | SPEAKER_CAPABILITY_INTERFACE_VERSION = "1.0" |
| Speaker interface version. More... | |
| static const std::vector< int > | DEFAULT_RETRY_TABLE |
| Retry timeout table. More... | |
| static const std::string | TAG {"SpeakerManager"} |
| String to identify log entries originating from this file. More... | |
| static const std::string | SPEAKER_MANAGER_METRIC_PREFIX = "SPEAKER_MANAGER-" |
| prefix for metrics emitted from the SpeakerManager CA More... | |
| static const std::string | COMPONENT_NAME = "SpeakerManager" |
| Component name for Misc DB. More... | |
| static const std::string | COMPONENT_STATE_TABLE = "SpeakerManagerConfig" |
| Misc DB table for component state. More... | |
| static const std::string | COMPONENT_STATE_KEY = "SpeakerManagerConfig" |
| Misc DB table entry for component state. More... | |
| static const std::string | SPEAKER_CHANNEL_STATE = "speakerChannelState" |
| The key in our config for speaker volume. More... | |
| static const std::string | ALERTS_CHANNEL_STATE = "alertsChannelState" |
| The key in our config for speaker volume. More... | |
| static const std::string | ALERTS_VOLUME_KEY = "alertsVolume" |
| The key in our config for alerts volume. More... | |
| static const std::string | CHANNEL_VOLUME_KEY = "channelVolume" |
| The key in our config for speaker volume. More... | |
| static const std::string | CHANNEL_MUTE_STATUS_KEY = "channelMuteStatus" |
| The key in our config for speaker volume. More... | |
| using alexaClientSDK::capabilityAgents::speakerManager::DefaultEndpointAnnotation = typedef avsCommon::sdkInterfaces::endpoints::DefaultEndpointAnnotation |
Definition of a Manufactory component for the SpeakerManager.
| SpeakerManagerComponent alexaClientSDK::capabilityAgents::speakerManager::getComponent | ( | ) |
Creates an manufactory component that exports a shared pointer to an implementation of SpeakerManagerInterface.
|
inlinestatic |
Converts the SpeakerManagerObserverInterface::Source to a string.
| source | The input SpeakerManagerObserverInterface::Source. |
String representing the source.
|
static |
Creates the Speaker capability configuration.
|
static |
Handles a Metric event by creating and recording it. Failure to create or record the event results in an early return.
| metricRecorder | The MetricRecorderInterface which records Metric events. |
| eventName | The name of the Metric event. |
| count | Count of the metric that is emitted. |
|
static |
|
static |
String to identify log entries originating from this file.
|
static |
Checks whether a value is within the bounds.
| T | The class type of the input parameters. |
| value | The value to check. |
| min | The minimum value. |
| max | The maximum value. |
|
static |
Checks whether a value is within the bounds.
| value | The value to check. |
| min | The minimum value. |
| max | The maximum value. |
| const avsCommon::avs::NamespaceAndName alexaClientSDK::capabilityAgents::speakerManager::ADJUST_VOLUME {NAMESPACE, "AdjustVolume"} |
The AdjustVolume directive identifier.
|
static |
The key in our config for speaker volume.
|
static |
The key in our config for alerts volume.
|
static |
The key in our config for speaker volume.
|
static |
The key in our config for speaker volume.
|
static |
Component name for Misc DB.
|
static |
Misc DB table entry for component state.
|
static |
Misc DB table for component state.
|
static |
Retry timeout table.
|
static |
The fraction of maximum volume used for the lower threshold in the default volume curve.
| const std::string alexaClientSDK::capabilityAgents::speakerManager::MUTE_CHANGED = "MuteChanged" |
The VolumeMute event.
| const char alexaClientSDK::capabilityAgents::speakerManager::MUTE_KEY[] = "mute" |
The Mute Key. For directives.
| const char alexaClientSDK::capabilityAgents::speakerManager::MUTED_KEY[] = "muted" |
The Muted Key. For events.
| const std::string alexaClientSDK::capabilityAgents::speakerManager::NAMESPACE = "Speaker" |
The Speaker interface namespace.
| const avsCommon::avs::NamespaceAndName alexaClientSDK::capabilityAgents::speakerManager::SET_MUTE {NAMESPACE, "SetMute"} |
The SetMute directive directive identifier.
| const avsCommon::avs::NamespaceAndName alexaClientSDK::capabilityAgents::speakerManager::SET_VOLUME {NAMESPACE, "SetVolume"} |
The SetVolume directive identifier.
|
static |
Speaker interface name.
|
static |
Speaker capability constants Speaker interface type
|
static |
Speaker interface version.
|
static |
The key in our config for speaker volume.
|
static |
prefix for metrics emitted from the SpeakerManager CA
|
static |
String to identify log entries originating from this file.
|
static |
The fraction of maximum volume used for the upper threshold in the default volume curve.
| const std::string alexaClientSDK::capabilityAgents::speakerManager::VOLUME_CHANGED = "VolumeChanged" |
The VolumeChanged event key.
| const char alexaClientSDK::capabilityAgents::speakerManager::VOLUME_KEY[] = "volume" |
The Volume Key in AVS Directives and Events.
| const avsCommon::avs::NamespaceAndName alexaClientSDK::capabilityAgents::speakerManager::VOLUME_STATE {NAMESPACE, "VolumeState"} |
The Volume State for use with the context.
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0