![]() |
Alexa Auto SDK
2.0.0
|
Static Public Member Functions | |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createDeviceInfoConfig (const std::string &deviceSerialNumber, const std::string &clientId, const std::string &productId) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createAlertsConfig (const std::string &databaseFilePath) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createNotificationsConfig (const std::string &databaseFilePath) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createCertifiedSenderConfig (const std::string &databaseFilePath) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createCurlConfig (const std::string &certsPath, const std::string &iface="") |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createSettingsConfig (const std::string &databaseFilePath, const std::string &locale="en-US") |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createMiscStorageConfig (const std::string &databaseFilePath) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createSystemConfig (uint32_t firmwareVersion) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createSpeechRecognizerConfig (const std::string &encoderName) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createTemplateRuntimeTimeoutConfig (const std::vector< TemplateRuntimeTimeout > &timeoutList) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createExternalMediaPlayerConfig (const std::string &agent) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createEqualizerControllerConfig (const std::vector< EqualizerBand > &supportedBands={}, int minLevel=-6, int maxLevel=6, const std::vector< EqualizerBandLevel > &defaultBandLevels={}) |
A factory interface for creating Alexa configuration objects
using aace::alexa::config::AlexaConfiguration::TemplateRuntimeTimeout = std::pair<TemplateRuntimeTimeoutType, std::chrono::milliseconds> |
Identifies a Template Runtime configuration with a type and value pair
using aace::alexa::config::AlexaConfiguration::EqualizerBand = aace::alexa::EqualizerControllerEngineInterface::EqualizerBand |
Describes the equalizer bands supported by Alexa. The platform implementation may support a subset of these.
using aace::alexa::config::AlexaConfiguration::EqualizerBandLevel = aace::alexa::EqualizerControllerEngineInterface::EqualizerBandLevel |
Describes the level of gain of a particular equalizer band as an integer dB value. This is an aace::alexa::EqualizerController::EqualizerBand
and int
pair.
enum specifying the configurable TemplateRuntime timeout.
|
static |
Factory method used to programmatically generate device info configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
[in] | deviceSerialNumber | The device serial number used to authorize the client with AVS |
[in] | clientId | The client ID used to authorize the client with AVS |
[in] | productId | The product ID used to authorize the client with AVS |
|
static |
Factory method used to programmatically generate alerts configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
[in] | databaseFilePath | The file path to the SQLite database used to store persistent alerts data. The database will be created on initialization if it does not already exist. |
|
static |
Factory method used to programmatically generate notifications configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
[in] | databaseFilePath | The file path to the SQLite database used to store persistent notifications data. The database will be created on initialization if it does not already exist. |
|
static |
Factory method used to programmatically generate certified sender configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
[in] | databaseFilePath | The file path to the SQLite database used to store persistent certified sender data. The database will be created on initialization if it does not already exist. |
|
static |
Factory method used to programmatically generate CURL configuration data.
The 'libCurlUtils' sub-component of the global configuration supports the following options:
The data generated by this method is equivalent to providing the following JSON values in a configuration file:
[in] | certsPath | The file path to the directory holding CA certificates |
[in] | iface | The specific network interface to use. This can be a network interface name, an IP address or a host name. Default to the system's primary network interface. |
|
static |
Factory method used to programmatically generate settings configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
[in] | databaseFilePath | The file path to the SQLite database used to store persistent settings data. The database will be created on initialization if it does not already exist. |
[in] | locale | The current locale setting on the client. Default to "en-US". |
|
static |
Factory method used to programmatically generate misc storage configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
[in] | databaseFilePath | The file path to the SQLite database used to store persistent misc storage data. The database will be created on initialization if it does not already exist. |
|
static |
Factory method used to programmatically generate system configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
[in] | firmwareVersion | The firmware version of the client device |
|
static |
Factory method used to programmatically generate encoder configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
[in] | encoderName | The encoder codec name to be used |
|
static |
Factory method used to programmatically generate template runtime configuration data. This is an optional configuration. Following are the accepted keys and their description.
[in] | timeoutList | A list of TemplateRuntimeTimeout type and value pairs |
|
static |
Factory method used to programmatically generate external media player configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
[in] | agent | The external media player agent |
|
static |
Factory method used to programmatically generate equalizer controller configuration data. This is an optional configuration, and default settings will be used if configuration is not provided. This method produces configuration data according to the JSON structure in the sample below.
The configuration branches are used as follows:
supportedBands | A list of supported equalizer bands. Corresponds to the "equalizer.bands" config branch. Only bands provided in the list will be enabled. Unspecified or empty supportedBands omits the config branch. Nonempty supportedBands includes the branch and declares each band in the list with a value "true". |
minLevel | The minimum gain level for the equalizer bands in integer dB. Corresponds to "equalizer.minLevel". Unspecified minLevel uses the -6dB default. |
maxLevel | The maximum gain level for the equalizer bands in integer dB. Corresponds to "equalizer.maxLevel". Unspecified maxLevel uses the +6dB default. |
defaultBandLevels | The default or reset state of the equalizer bands. Corresponds to the "equalizer.defaultState.bands" config branch. Unspecified or empty defaultBandLevels omits the config branch. |
Alexa Auto SDK 2.0.0 - Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0