![]() |
AlexaClientSDK
1.20.1
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | EqualizerCapabilityAgent |
Functions | |
static std::string | buildEQStateJson (const EqualizerState &state) |
bool | parseDirectivePayload (const std::string &payload, Document *document) |
Variables | |
static const std::string | TAG {"EqualizerController"} |
String to identify log entries originating from this file. More... | |
static const std::string | NAMESPACE = "EqualizerController" |
The EqualizerController interface namespace. More... | |
static const NamespaceAndName | EQUALIZER_STATE {NAMESPACE, "EqualizerState"} |
The EqualizerController state portion of the Context. More... | |
static const NamespaceAndName | DIRECTIVE_SETBANDS {NAMESPACE, "SetBands"} |
The SetBands directive identifier. More... | |
static const NamespaceAndName | DIRECTIVE_ADJUSTBANDS {NAMESPACE, "AdjustBands"} |
The AdjustBands directive identifier. More... | |
static const NamespaceAndName | DIRECTIVE_RESETBANDS {NAMESPACE, "ResetBands"} |
The ResetBands directive identifier. More... | |
static const NamespaceAndName | DIRECTIVE_SETMODE {NAMESPACE, "SetMode"} |
The SetMode directive identifier. More... | |
static const NamespaceAndName | EVENT_EQUALIZERCHANGED {NAMESPACE, "EqualizerChanged"} |
The EqualizerChanged event identifier. More... | |
static const std::string | EQUALIZER_JSON_INTERFACE_TYPE = "AlexaInterface" |
static const std::string | EQUALIZER_JSON_INTERFACE_NAME = "EqualizerController" |
Equalizer interface name. More... | |
static const std::string | EQUALIZER_JSON_INTERFACE_VERSION = "1.0" |
Equalizer interface version. More... | |
static constexpr char | JSON_KEY_BANDS [] = "bands" |
Name for "bands" JSON branch. More... | |
static constexpr char | JSON_KEY_SUPPORTED [] = "supported" |
Name for "supported" JSON branch. More... | |
static constexpr char | JSON_KEY_NAME [] = "name" |
Name for "name" JSON value. More... | |
static constexpr char | JSON_KEY_LEVEL [] = "level" |
Name for "level" JSON value. More... | |
static constexpr char | JSON_KEY_RANGE [] = "range" |
Name for "range" JSON branch. More... | |
static constexpr char | JSON_KEY_MINIMUM [] = "minimum" |
Name for "minimum" JSON value. More... | |
static constexpr char | JSON_KEY_MAXIMUM [] = "maximum" |
Name for "maximum" JSON value. More... | |
static constexpr char | JSON_KEY_MODES [] = "modes" |
Name for "modes" JSON branch. More... | |
static constexpr char | JSON_KEY_MODE [] = "mode" |
Name for "mode" JSON value. More... | |
static constexpr char | JSON_KEY_LEVELDELTA [] = "levelDelta" |
Name for "levelDelta" JSON value. More... | |
static constexpr char | JSON_KEY_LEVELDIRECTION [] = "levelDirection" |
Name for "levelDirection" JSON value. More... | |
static constexpr char | LEVEL_DIRECTION_UP [] = "UP" |
String representing positive level adjustment. More... | |
static constexpr char | LEVEL_DIRECTION_DOWN [] = "DOWN" |
String representing negative level adjustment. More... | |
|
static |
Builds a JSON string containing an Equalizer state.
state | EqualizerState to be serialized to JSON. |
bool alexaClientSDK::capabilityAgents::equalizer::parseDirectivePayload | ( | const std::string & | payload, |
Document * | document | ||
) |
Parses a directive payload JSON and returns a parsed document object.
payload | JSON string to parse. | |
[out] | document | Pointer to a parsed document. |
|
static |
The AdjustBands
directive identifier.
|
static |
The ResetBands
directive identifier.
|
static |
The SetBands
directive identifier.
|
static |
The SetMode
directive identifier.
|
static |
Equalizer interface name.
|
static |
Equalizer capability constants Equalizer interface type
|
static |
Equalizer interface version.
|
static |
The EqualizerController state portion of the Context.
|
static |
The EqualizerChanged
event identifier.
|
static |
Name for "bands" JSON branch.
|
static |
Name for "level" JSON value.
|
static |
Name for "levelDelta" JSON value.
|
static |
Name for "levelDirection" JSON value.
|
static |
Name for "maximum" JSON value.
|
static |
Name for "minimum" JSON value.
|
static |
Name for "mode" JSON value.
|
static |
Name for "modes" JSON branch.
|
static |
Name for "name" JSON value.
|
static |
Name for "range" JSON branch.
|
static |
Name for "supported" JSON branch.
|
static |
String representing negative level adjustment.
|
static |
String representing positive level adjustment.
|
static |
The EqualizerController interface namespace.
|
static |
String to identify log entries originating from this file.
AlexaClientSDK 1.20.1 - Copyright 2016-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0