Alexa Auto SDK
4.3
|
Static Public Member Functions | |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createAlexaClientInfoConfig (const std::string &clientId, const std::string &productId, const std::string &amazonId) |
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 > | createCapabilitiesDelegateConfig (const std::string &databaseFilePath) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createCurlConfig (const std::string &certsPath, const std::string &iface="", const std::string &proxy="") |
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 > | createDeviceSettingsConfig (const std::string &databaseFilePath, const std::vector< std::string > &locales={"en-US", "en-GB", "de-DE", "en-IN", "en-CA", "ja-JP", "en-AU", "fr-FR", "it-IT", "es-ES", "es-MX", "fr-CA", "es-US", "hi-IN", "pt-BR", "ar-SA"}, const std::string &defaultLocale="en-US", const std::string &defaultTimezone="America/Vancouver", const std::vector< std::vector< std::string >> &localeCombinations={}) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createMiscStorageConfig (const std::string &databaseFilePath) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createSpeakerManagerConfig (bool enabled) |
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={}) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createAuthProviderConfig (const std::vector< std::string > &providerNames) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createDuckingConfig (bool duckingEnabled) |
static std::shared_ptr< aace::core::config::EngineConfiguration > | createMediaPlayerFingerprintConfig (const std::string &package, const std::string &buildType, const std::string &versionNumber) |
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 function used to programmatically generate alexa client device info configuration data. The data generated by this function is equivalent to providing the following JSON values in a configuration file:
[in] | clientId | The client ID of the product in the AVS developer console |
[in] | productId | The product ID of the product in the AVS developer console |
[in] | amazonId | The Amazon ID of the product in the AVS developer portal |
|
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 capabilities delegate 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 device capabilities. 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. |
[in] | proxy | The proxy used for outgoing requests. |
|
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 device 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] | locales | A list of locales supported by the device. The default is ["en-US","en-GB","de-DE", "en-IN","en-CA","ja-JP","en-AU","fr-FR","it-IT","es-ES","es-MX","fr-CA","es-US","hi-IN","pt-BR","ar-SA"]. For the accepted values, refer to https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/system.html#locales |
[in] | defaultLocale | The default locale setting on the device. The default is "en-US". |
[in] | defaultTimezone | The default timezone setting on the device. The default is "America/Vancouver". For accepted values, refer to the accepted timezones here: https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/system.html#timezonechanged |
[in] | localeCombinations | A list of locale combinations supported by the device for dual-locale mode. The permitted combinations are [["en-CA","fr-CA"],["fr-CA","en-CA"],["en-US","es-US"], ["es-US","en-US"],["en-IN","hi-IN"],["hi-IN","en-IN"],["en-US","fr-FR"],["fr-FR","en-US"], ["en-US","de-DE"],["de-DE","en-US"],["en-US","ja-JP"],["ja-JP","en-US"],["en-US","it-IT"], ["it-IT","en-US"],["en-US","es-ES"],["es-ES","en-US"]]. Any locale specified in this list must also be specified in the locales list. |
|
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 speaker manager configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
[in] | enabled | Enable or disable the speaker manager (default is enabled) |
|
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. |
|
static |
Factory method used to programmatically generate auth provider configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
providerNames | The list of auth providers |
|
static |
Factory method used to programmatically generate music ducking configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
duckingEnabled | true if ducking is enabled |
|
static |
Factory method used to programmatically generate media player fingerprint configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
package | Unique identifier for the audio player software loaded on the device. |
buildType | The audio player build type. |
versionNumber | Identifies the version of the audio player loaded on your device. |
Alexa Auto SDK 4.3 - Copyright 2017-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0